Cloud Networking and Storage Design
How to lay out VPCs, connect them to each other and to on-premises, and choose the right block, file or object storage for each workload.
Intermediate · about 8 hours · difficulty 3/5
Learn first: AWS Core Services, Firewalls, Security Groups and NAT
Once you can click together a VPC, the next step is designing networks and storage that survive growth, audits and outages.
Network design
- Plan CIDR ranges up front. Overlapping ranges make peering and VPNs impossible later. Reserve a large block per environment and region.
- Subnet tiers: public (load balancers, NAT), private (apps), isolated (databases, no internet route).
- Egress control: NAT gateways are convenient but cost money per GB; VPC endpoints / Private Link keep traffic to managed services off the internet and off the NAT bill.
- Connecting networks: peering for a few VPCs, a transit gateway or hub-and-spoke for many, site-to-site VPN or a dedicated link (Direct Connect, ExpressRoute, Interconnect) for on-premises.
- Private DNS zones so services find each other by name.
Storage types
- Block (EBS, managed disks, persistent disks): attached to one VM, used for databases and boot volumes. Snapshots are your backup primitive.
- File (EFS, Azure Files, Filestore): shared POSIX filesystems for many clients.
- Object (S3, Blob, Cloud Storage): virtually unlimited, cheap, accessed over HTTP. Use lifecycle rules to move old data to colder tiers and versioning to survive accidental deletes.
CDN and edge
Put a CDN (CloudFront, Front Door, Cloud CDN) in front of static assets and public APIs to cut latency and origin load.
Good enough to move on: you can draw a multi-account or multi-VPC network with non-overlapping ranges, justify NAT vs private endpoints, and pick the storage type for a database, a shared upload folder and a log archive.
Key concepts
- CIDR planning across environments
- Public, private and isolated subnets
- NAT gateways and private endpoints
- Peering and transit gateways
- Site-to-site VPN and dedicated links
- Block, file and object storage
- Lifecycle rules and storage tiers
- CDN in front of origins
Mini project
Design and build two VPCs (shared-services and app) with non-overlapping ranges, connect them, give the app subnet an S3 endpoint instead of NAT for bucket traffic, and add a lifecycle rule on the bucket.
Check yourself
Your NAT gateway bill jumped after a new service started pulling large files from object storage. What change fixes that without opening the subnet to the internet?
Free resources
- Amazon VPC user guide (AWS)
- Amazon S3 user guide (AWS)
- VPC network overview (Google Cloud)