Subnets

In AWS, a subnet is a range of IP addresses in your VPC (Virtual Private Cloud) that you can use to launch resources such as EC2 instances, RDS databases, and Elastic Load Balancers. When you create a subnet, you must specify the VPC it belongs to and its IP address range.

Subnets allow you to partition your VPC into smaller networks, which can provide greater control over your network traffic and help you isolate resources. You can create multiple subnets in your VPC, each in a different availability zone (AZ), which can help provide high availability and fault tolerance for your applications.

Each subnet is associated with a route table that controls the traffic routing for the subnet. You can configure the route table to route traffic between subnets in the same VPC or to other VPCs or on-premises networks.

AWS also provides a feature called Network Access Control Lists (NACLs) that you can use to control traffic between subnets. NACLs act as a firewall at the subnet level and allow you to specify rules to allow or deny traffic based on the source and destination IP addresses, ports, and protocols.

AWS Subnets

Last modified July 21, 2024: update (e2ae86c)