0
0
AWScloud~10 mins

Default VPC overview in AWS - Step-by-Step Execution

Choose your learning style9 modes available
Process Flow - Default VPC overview
AWS Account Created
Default VPC Automatically Created
Default VPC Contains
One Default Subnet
Resources Can Use Default VPC
Launch Instances
When you create an AWS account, a default VPC is created automatically with default subnets, an internet gateway, and a route table so you can launch resources easily.
Execution Sample
AWS
aws ec2 describe-vpcs --filters Name=isDefault,Values=true
aws ec2 describe-subnets --filters Name=vpc-id,Values=<default-vpc-id>
aws ec2 describe-internet-gateways --filters Name=attachment.vpc-id,Values=<default-vpc-id>
These commands show the default VPC, its subnets, and its internet gateway in your AWS account.
Process Table
StepActionResource Created/FoundDetails
1AWS account createdDefault VPCVPC with default CIDR 172.31.0.0/16 created automatically
2Default subnet createdSubnetOne subnet per Availability Zone with CIDR 172.31.x.0/20
3Internet Gateway attachedInternet GatewayAllows internet access for resources in default VPC
4Route Table createdRoute TableRoute to Internet Gateway for 0.0.0.0/0 traffic
5Resources launchedEC2 InstancesCan launch instances using default VPC and subnets
6Check default VPCDescribe VPCsFilters show default VPC exists
7Check subnetsDescribe SubnetsLists subnets associated with default VPC
8Check internet gatewayDescribe Internet GatewaysShows internet gateway attached to default VPC
9EndN/AAll default VPC components verified
💡 All default VPC components are created and ready for use after AWS account creation
Status Tracker
ResourceInitial StateAfter AWS Account CreationAfter Default VPC SetupFinal State
VPCNoneDefault VPC createdDefault VPC exists with CIDR 172.31.0.0/16Default VPC ready
SubnetNoneNoneOne subnet per AZ createdSubnets ready in default VPC
Internet GatewayNoneNoneInternet Gateway created and attachedInternet Gateway attached
Route TableNoneNoneRoute Table created with route to IGWRoute Table ready
Key Moments - 3 Insights
Why do I see a VPC already created when I first log into AWS?
AWS automatically creates a default VPC for you when your account is created, as shown in execution_table step 1.
Can I launch EC2 instances without creating a VPC?
No, because the default VPC exists and is ready to use, you can launch instances immediately without creating a new VPC (see step 5).
What allows my instances in the default VPC to access the internet?
The internet gateway attached to the default VPC (step 3) and the route table directing traffic to it (step 4) enable internet access.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution_table, at which step is the internet gateway attached to the default VPC?
AStep 2
BStep 3
CStep 4
DStep 5
💡 Hint
Check the 'Resource Created/Found' column for 'Internet Gateway' in the execution_table.
According to variable_tracker, what is the state of subnets after AWS account creation but before default VPC setup?
ANone
BOne subnet per AZ created
CSubnets ready in default VPC
DInternet Gateway attached
💡 Hint
Look at the 'Subnet' row and the 'After AWS Account Creation' column in variable_tracker.
If the internet gateway was not attached, which step in execution_table would be missing?
AStep 1
BStep 6
CStep 3
DStep 8
💡 Hint
Step 3 shows the internet gateway attachment in execution_table.
Concept Snapshot
Default VPC is created automatically when you create an AWS account.
It includes one subnet per availability zone, an internet gateway, and a route table.
This setup lets you launch instances immediately with internet access.
You can view default VPC components using AWS CLI commands.
No extra setup is needed to start using the default VPC.
Full Transcript
When you create an AWS account, AWS automatically creates a default virtual private cloud (VPC) for you. This default VPC has a network range (CIDR block) of 172.31.0.0/16. It also creates one subnet in each availability zone with a smaller network range. An internet gateway is attached to the default VPC to allow internet access. A route table is created with a route that sends all internet traffic to the internet gateway. This setup means you can launch EC2 instances right away without creating your own VPC or networking components. You can check these resources using AWS CLI commands that filter for the default VPC and its components. This automatic setup helps beginners start using AWS networking easily.