VPC - Manage Private Network on AWS
Last updated
Last updated
VPC is our own isolated network in the cloud.
Your resources always have to run in a VPC!
▪ We have a VPC for each Region
▪ VPC spans all the AZ (Subnet) in that Region
▪ Multiple VPCs in different Regions
▪ VPC is like a virtual representation of network infrastructure: Server setup, network configuration (router, firewall, DHCP etc.) moved to cloud
Subnet is a range of IP addresses in your VPC
It's like a private network inside a network:
We have a subnet for each Availability Zone:
▪ Based on firewall configuration we can have a private and/or public subnet:
▪ A subnet has a default range of internal(private) IP addresses
▪ When you create a new resource like EC2 instance then an IP address is assigned within this subnet's IP range
▪ For communication inside the VPC
▪ Using an internet gateway you can connect the VPC or its subnets to the outside internet
Of course, we need to secure our resources:
▪ Control access to your VPC
▪ Control access to your individual server instances