AWS Networking
-
Global Infrastructure:
- Region: Geographical location
- AZ’s: Availability Zones => Collection of Data Center Buildings
- Refer Here for more info.
- Global Network: Refer Here

- Region: Geographical location
- Networks in AWS are created using VPC (Virtual Private Cloud) which is a virtual network. VPC is scoped to a region & subnet is scoped to Availability Zone.
- Virtual Devices (Virtual Machine, database) can be connected to the network via network interface which belongs to subnet.

- All AWS regions in your account will have a default vpc


- Note: While learning networking never mess with default vpc.]
- Every default vpc will have number of subnets equal to number of AZ’s
- Lets create a vpc in mumbai region (which has 3 AZ’s) with 3 subnets
- The cidr ranges to the vpc are always private cidr ranges.
- Network CIDR: 192.168.0.0/22
- subnet1 cidr: 192.168.0.0/24
- subnet2 cidr: 192.168.1.0/24
- subnet3 cidr: 192.168.2.0/24
- Network Creation:










-
Create a vpc in the oregon region with the four subnets in four az’s with any private cidr range. Ensure each subnet can connect to approximately 200 devices
- Network range: 10.10.0.0/22
- subnet1: 10.10.0.0/24
- subnet2: 10.10.1.0/24
- subnet3: 10.10.2.0/24
- subnet4: 10.10.3.0/24

