Open this lesson in your favourite AI. It'll walk you through the why, explain the demo, and quiz you on the try-it list.
Every VPC, subnet, and peering connection is a CIDR decision you can't easily undo. A /16 gives you 65k addresses but burns a private-IP block; a /24 gives you 254 hosts but caps your autoscaling group before you notice. Multi-cloud peering fails on day one if two clouds picked overlapping ranges.
Create non-overlapping VPC CIDRs across two clouds and verify the math.
ipcalc 10.0.0.0/22.Use these three in order. Each builds on the one before.
In one paragraph, explain CIDR notation like I'm new to it — what does the /N suffix actually mean for the number of addresses?
Walk me through how the network mask, network address, and broadcast address are derived from a CIDR like 10.10.0.0/22, step by step.
Given a multi-cloud topology with 4 clouds and 3 environments each, design a CIDR allocation plan that leaves room for 10x growth and never overlaps.
# AWS VPC at 10.10.0.0/16 (65,536 addresses, 65,531 usable per subnet)
aws ec2 create-vpc --cidr-block 10.10.0.0/16 \
--tag-specifications 'ResourceType=vpc,Tags=[{Key=Name,Value=prod-aws}]'
# Subnet a /24 carve-out (256 addresses, 251 usable — AWS reserves 5)
aws ec2 create-subnet --vpc-id <vpc-id> \
--cidr-block 10.10.1.0/24 --availability-zone us-east-1a
# Verify no overlap with peer
aws ec2 describe-vpcs --query 'Vpcs[*].[VpcId,CidrBlock]' --output table