...

/

Virtual Private Cloud (VPC)

Virtual Private Cloud (VPC)

What is VPC?

A VPC is a logically isolated section of a data center where you have complete control over your virtual networking environment, including the selection of IP address ranges, etc.

Think about it like a virtual data center in the cloud.

Additionally, you can create a hardware Virtual Private Network (VPN) connection between your corporate data center and your VPC and leverage the AWS cloud as an extension of your corporate data center. You can connect to a VPC through an internet gateway or a virtual private gateway.

VPC
VPC

CIDR

CIDR is a notation for describing blocks of IP address and is used heavily in various networking configurations.

In IPV4, an address consists of 32 bits, these are represented in decimal by 4 octets of 8 bits each. Each 8 bits can have a value from 0 to 255 because 2^8 (2 to the 8th power) is 256, and because we count from zero.

IPv6 addresses are represented differently because they are much longer than IPv4 addresses. The IPv6 address size is 128-bits long, or 16 8-bit octets.

The decimal value that comes after that; /8 highest address range /12 /16 /28 lowest address range Soft limit 5 VPC by default

With a VPC you can:

  1. Launch instances into a subnet
  2. Assign custom IP address ranges in each subnet
  3. Configure route tables between subnet
  4. Create an internet gateway and attach it to your VPC
  5. Create Network ACL for better security
  6. Instance security groups
  7. Subnet network access control links (ACLs)
...