Subnets
Last updated
What is Subnets?
Subnets or subnetworks in Amazon VPC (Virtual Private Cloud) are divisions of a VPC's IP address range. You can launch Amazon Elastic Compute Cloud (Amazon EC2) instances into a selected subnet. When you create a subnet, you specify the CIDR block for the subnet, which is a subset of the VPC CIDR block. Each subnet must be associated with a route table, which controls the traffic flow between the subnets. There are two types of subnets: public and private. A public subnet is one in which the associated route table directs the subnet to the Internet Gateway (IGW) of the VPC. A private subnet does not have a route to the IGW and hence has no direct route to the internet.
Free resources to learn Subnets
- Official docsSubnets
More in stage 3: VPC
Subnets: common questions
Can I learn Subnets in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Subnets in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Subnets tutorial for beginners?
It is lesson 19 of 101 in the free AWS roadmap, in stage 3, VPC. If you are new to AWS, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.