Skip to content

What is Amazon VPC?

Application Based Stickyness in ALB in AWS

Introduction

Amazon Virtual Private Cloud (Amazon VPC), in a logically isolated virtual network that is Like like a traditional network that you operate in your own data center in a specific VLAN. In Cloud we call it as Virtual Private Cloud (VPC), with the benefits of using the scalable infrastructure of AWS.

What are AWS Regions ?

AWS Region is a separate geographic area where cloud computing resources are hosted in multiple geographical locations world-wide are called as AWS regions. AWS regions are in US , Europe , APAC , Africa .

What are Availability Zones ?

AWS regions across all geographical locations consists of Availability Zone (AZ) that are represented by an AWS Region code followed by a letter identifier. There are can more that 2 AZ for any specific Regions.

For example, one Availability Zones within the US East (N. Virginia) Region (us-east-1) can be represented by (us-east-1a) and 2nd (us-east-1b) 3rd (us-east-1c) and so on.

Features of VPC

VPC CIDR

A VPC Virtual Private Cloud that Can be created in a network called as CIDR (Classless Inter Domain Routing) in a specific AWS Region that can be further used as to create a multiple subnets inside CIDR in a single Availability Zone .

Subnets inside VPC

A subnet is a range of IP addresses in your VPC. A subnet must reside in a single Availability Zone. After you add subnets, you can deploy AWS resources like create EC2 instances in your subnet in VPC. Subnets inside the VPC Can be Private or Public .

Only Public subnets can access to the internet using Internet Gateway associated to the VPC . Private Subnets inside the VPC can’t access the Internet directly . In order to access Internet from Private Subnet you can route traffic towards NAT Gateway which can route traffic towards internet Gateway which is associated with the VPC.

Allocating IP Addressing

You can assign IP addresses, both IPv4 and IPv6, to your VPCs and subnets. You can also bring your public IPv4 and IPv6 GUA addresses to AWS and allocate them to resources in your VPC, such as EC2 instances, NAT gateways, and Network Load Balancers.

VPC Routing

A route table contains a set of rules, called routes, that determine where network traffic from your subnet or gateway is directed.

Click Here to Learn More About the Route Table inside AWS