Go's networking and communication support is the set of packages that move data between programs: net, net/http, gRPC, WebSocket libraries and similar. Its cloud computing support is a different layer: official SDKs and clients that call the APIs of a cloud provider or a platform such as Kubernetes. Cloud SDKs are built on top of the networking stack, usually over HTTPS, so you use networking to talk to anything and an SDK to talk to a specific cloud service conveniently.
Cloud support is not a language feature. Go has no built-in cloud package; it is a set of libraries you add as dependencies.
The standard library covers most networking needs without third-party code.
net: TCP, UDP, Unix sockets, DNS and address handling.net/http: HTTP/1.1 and HTTP/2 servers and clients, with TLS built in.net/rpc: a legacy RPC package that is frozen and not recommended for new work.crypto/tls: TLS configuration for any net.Conn.Common third-party additions are google.golang.org/grpc for gRPC, and WebSocket libraries such as github.com/coder/websocket or github.com/gorilla/websocket.
The default http.Client has no timeout, so set one.
This shape matters in cloud environments, because orchestrators stop containers by sending SIGTERM and expect in-flight requests to finish.
Cloud support comes from provider-maintained modules and from tooling written in Go itself, since Docker and Kubernetes are Go projects.
| Target | Common Go module | Typical use |
|---|---|---|
| AWS | github.com/aws/aws-sdk-go-v2 | S3, DynamoDB, SQS, Lambda handlers |
| Google Cloud | cloud.google.com/go/... | Cloud Storage, Pub/Sub, BigQuery |
| Azure | github.com/Azure/azure-sdk-for-go/sdk/... | Blob Storage, Service Bus, Key Vault |
| Kubernetes | k8s.io/client-go | Operators, controllers, cluster tooling |
| Docker | github.com/docker/docker/client | Building and running containers |
Use AWS SDK for Go v2 for new code. Version 1 reached end of support on July 31, 2025.
SDKs handle credentials, retries, request signing and pagination, which you would otherwise write on top of net/http. An S3 example with the v2 SDK:
The credential chain picks up environment variables, shared config files or the role attached to the instance, so the same binary runs locally and in the cloud without changes.
Go compiles to a single static binary, which makes small container images practical.
Set the image tag to the Go version your project uses. Also read configuration from environment variables, expose health endpoints, log to standard output, and handle SIGTERM as shown above.
net or net/http, with gRPC for typed service-to-service calls and WebSockets for push.net/http and a timeout.client-go or the higher-level controller-runtime instead of raw HTTP.No. They wrap it. The SDK still uses net/http and TLS from the standard library, adding provider-specific signing, retries and typed requests.
No. It is the separate module google.golang.org/grpc, plus generated code from Protocol Buffers.
Not for new projects. The package is frozen. Prefer gRPC or plain HTTP with JSON.
Not strictly, but an SDK saves a lot of work for authentication and retries, so use it when a maintained one exists.
Networking support in Go is general-purpose and mostly in the standard library, while cloud support is a collection of provider SDKs and platform clients built on that foundation. Use net/http and gRPC to communicate, use official SDKs such as AWS SDK for Go v2 to reach cloud services, and always set timeouts, honour contexts and shut down gracefully.