AWS Builder Center

From Packet Tracer to VPC: What CCNA Taught Me About AWS Networking

I’m studying CCNA and AWS Cloud Practitioner at the same time, and the two keep explaining each other. These are my notes on how subnetting, routing and ACLs from the Cisco world map to an Amazon VPC, plus a small lab you can build for $0.

Why I’m writing this

I’m not a network engineer. I’m a Systems Engineering student taking CCNA 1 and preparing for AWS Cloud Practitioner at the same time, and I noticed something: every time I got stuck on a VPC concept, the answer was something I had already seen in Packet Tracer. And every time a CCNA topic felt too abstract, the AWS console made it concrete.
This article is mostly notes for myself. If you’re learning networking and cloud at the same time, I hope it saves you some confusion.

A VPC is your own network, without the cables

In Packet Tracer, you drag routers and switches onto a canvas, connect them, and assign IP addresses. A Virtual Private Cloud (VPC) is the same idea in AWS: a private network that belongs only to you, where you decide the address range, how it’s divided and how traffic moves.
The difference is that you never touch a switch. AWS runs the physical network for you. What you control is the logical design: addresses, subnets, routes and filters. That’s exactly the part CCNA spends the most time on.

Subnetting works the same, with one surprise

When you create a VPC, you give it a CIDR block, for example  10.0.0.0/16 . Then you split it into subnets, like  10.0.1.0/24  and  10.0.2.0/24 . This is the same subnetting we practice in CCNA, and the math doesn’t change.
The surprise is the number of usable addresses. In CCNA, a  /24  gives you 254 usable hosts: 256 minus the network address and the broadcast address. In AWS, a  /24  gives you 251. AWS reserves five addresses in every subnet: the network address, the first address after it for the VPC router, the next one for DNS, one more reserved for future use, and the last address of the range.
So in  10.0.1.0/24 , you can’t use  .0 ,  .1 ,  .2 ,  .3  or  .255 . Your first instance gets  10.0.1.4  at the earliest. It’s a small detail, but it shows up in exam questions and it matters when you size small subnets.
Another difference: a VPC doesn’t support broadcast. In a CCNA lab, ARP requests and broadcasts flood the local segment. In AWS, the VPC handles that behind the scenes, so the broadcast address exists only as a reserved number.

Every subnet lives in one Availability Zone

In AWS, each subnet belongs to exactly one Availability Zone, which is one or more data centers in a Region. If you want your application to survive the failure of a data center, you create subnets in at least two Availability Zones and spread your resources across them.
There’s no direct equivalent in Packet Tracer, but the idea is familiar from CCNA: redundancy. Instead of two links between switches, you have two subnets in two separate locations.

Route tables are the router you don’t see

Every VPC has an implicit router, the one sitting at the  .1  address of each subnet. You don’t configure it with  ip route  commands. Instead, you write route tables and associate them with subnets.
Each route table automatically includes a local route for the whole VPC CIDR, so all subnets inside the VPC can reach each other. Anything else needs an explicit route, which is just like adding a static route on a Cisco router: a destination network and a next hop.
This is where the difference between a public and a private subnet comes from. AWS doesn’t have a checkbox that makes a subnet public. A subnet is public if its route table has a default route,  0.0.0.0/0 , pointing to an internet gateway. Without that route, it’s private. Once I understood that, the whole public/private concept stopped being confusing: it’s a routing decision, nothing more.

Security groups and network ACLs

CCNA teaches access control lists on routers: ordered rules, evaluated from top to bottom, with an implicit deny at the end. They’re stateless, so if you allow traffic out, you also need a rule that allows the reply back in.
AWS has two filtering layers, and they behave differently:
Network ACLs work at the subnet level and feel very close to Cisco ACLs. Rules are numbered, evaluated in order, can allow or deny, and are stateless. If you allow outbound traffic, you must also allow the return traffic, usually on the ephemeral port range.
Security groups work at the level of each instance or network interface. They only have allow rules, and they’re stateful: if a request is allowed in, the reply is automatically allowed out. In my experience, this is where most beginners actually control access, and the stateful behavior makes them much easier to get right.
A simple way I remember it: the network ACL is the guard at the neighborhood gate, and the security group is the lock on each house.

A $0 lab: build a public subnet from the CLI

Creating a VPC, subnets, route tables and an internet gateway doesn’t cost anything by themselves. Charges start when you add things like EC2 instances, NAT gateways or public IPv4 addresses, so this lab stays free as long as you stop at the network.
Replace the IDs in each command with the ones returned by the previous step:
bash
# 1. Create the VPC
aws ec2 create-vpc --cidr-block 10.0.0.0/16

# 2. Create a subnet in one Availability Zone
aws ec2 create-subnet --vpc-id vpc-xxxx \
--cidr-block 10.0.1.0/24 --availability-zone us-east-1a

# 3. Create an internet gateway and attach it to the VPC
aws ec2 create-internet-gateway
aws ec2 attach-internet-gateway --internet-gateway-id igw-xxxx --vpc-id vpc-xxxx

# 4. Create a route table with a default route to the internet gateway
aws ec2 create-route-table --vpc-id vpc-xxxx
aws ec2 create-route --route-table-id rtb-xxxx \
--destination-cidr-block 0.0.0.0/0 --gateway-id igw-xxxx

# 5. Associate the route table with the subnet
aws ec2 associate-route-table --route-table-id rtb-xxxx --subnet-id subnet-xxxx
At this point,  10.0.1.0/24  is a public subnet, because its route table sends  0.0.0.0/0  to the internet gateway. Create a second subnet without step 5 and you have a private one. Open both route tables in the console and compare them; seeing the difference side by side is what made it click for me.
When you’re done, delete everything in reverse order: disassociate and delete the route table, detach and delete the internet gateway, delete the subnets, and finally delete the VPC. Cleaning up is part of the lab.

What CCNA gave me that AWS courses don’t

Cloud courses often explain VPCs as a set of boxes and arrows to memorize. CCNA explains why those boxes exist: why we divide networks, how a router decides where a packet goes, and why stateless filtering needs rules in both directions. With that foundation, AWS networking feels less like a list of services and more like a network I already understand, just without the cables.
If you’re studying both like me, my advice is to keep a Packet Tracer topology and a VPC diagram next to each other. Every time you learn something in one, try to find its equivalent in the other.
If you’ve made the same jump from on-premises networking to the cloud, tell me in the comments which concept was hardest to translate.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article