Public Subnet
Last updated
What is Public Subnet?
In AWS, a subnet that's designated as public is one that has direct access to the Internet. Each subnet that you create runs on its own portion of the AWS network, and you can consider them as logically isolated sections. When a subnet is designated as public, it means an Internet Gateway is attached to it and thus instances within this subnet can easily communicate with the outside net. Each instance that you launch into a public subnet is automatically assigned a private IPv4 address and a public IPv4 address. These addresses don't change and remain with the instance, until it's stopped, terminated or replaced with a different address. This setup allows instances in the public subnet to communicate directly with the internet and other AWS services.
Free resources to learn Public Subnet
- Official docsSubnets
More in stage 3: VPC
Public Subnet: common questions
Can I learn Public Subnet 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 Public Subnet 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 Public Subnet tutorial for beginners?
It is lesson 21 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.