What is Amazon VPC?
Amazon Virtual Private Cloud (Amazon VPC) is a “Virtual Private Cloud” which is a custom virtual network located inside the AWS Cloud and isolated from the entire outside world. Amazon Virtual Private Cloud allows users to create a virtual dedicated network for resources.
The concept of VPC is very similar to designing and implementing a separate standalone network environment in an on-premise data center.
Inside the VPC, you have full control over your virtual network environment, which means the ability to initialize and run AWS resources and the ability to select IP address ranges, create networks subnets and configure routing tables and network gateways. You can use both IPv4 and IPv6 for secure and easy access to resources and applications in the VPC.
Within a region, you can create multiple VPCs, and each VPC is distinguished by different ranges of IP address spaces. You specify the IPv4 address range by selecting a Classless Inter-Domain Routing (CIDR), such as 10.0.0.0/16.
The Amazon VPC address range cannot be changed once it has been created. Amazon VPC address ranges can be as large as /16 (ie 65536 available addresses) or as small as /28 (ie 16 available addresses) and they must not overlap with any other networks to which they will be connected. connect to.
There are 3 types of subnets.
Private subnet – A subnet that does not have internet access is termed a private subnet.
Public subnet – A subnet that has internet access is termed a public subnet.
VPN only subnet – A subnet that does not have internet access but has access to the virtual private gateway for a VPN connection is termed a VPN-only subnet.