What is Public Subnet in AWS? Step-by-Step Explanation with Example
VPC:- A VPC (Virtual Private Cloud) in AWS is a private, isolated network you create in the AWS cloud to launch and manage your resources like EC2 instances, databases, etc. Think of it as your own private data center inside AWS, where you have full control over: • IP address ranges (CIDR blocks) • Subnets (public & private) • Routing (via route tables) • Internet access (via Internet Gateway or NAT Gateway) • Security (via security groups & network ACLs) Example • Suppose you rent a building (AWS Cloud). • Inside it, you design your own office layout (VPC). • You decide rooms (subnets), doors (gateways), and locks (security groups). Key Features of VPC 1. Isolated Environment – Your VPC is separated from other AWS users’ networks. 2. Customizable IP Range – You choose IPv4/IPv6 address range. 3. Multiple Subnets – Create public and private subnets. ...