Amazon VPC Networking Components (original) (raw)

Last Updated : 28 May, 2026

Amazon Virtual Private Cloud (VPC) allows you to provision a logically isolated section of the AWS Cloud where you can launch AWS resources in a virtual network that you define. It gives you complete control over your virtual networking environment, including IP address ranges, subnets, and route tables.

inside_the_vpc_core_components_

Amazon VPC

Core Components: Inside the VPC

These are the building blocks you use to construct your private network.

1. Subnets (Public vs. Private)

A subnet is a range of IP addresses in your VPC. You launch resources (like EC2 instances) inside a subnet.

2. Route Tables

A Route Table contains rules that control how network traffic moves inside a VPC.

3. Internet Gateway (IGW)

A horizontally scaled, redundant, and highly available VPC component that allows communication between your VPC and the internet.

4. NAT Gateway (Network Address Translation)

A NAT Gateway allows resources in a private subnet to access the internet for tasks such as software updates, while preventing direct internet access to those resources.

5. Security Groups & Network ACLs (Firewalls)

user

Security Groups & Network ACLs (Firewalls)

**Traffic Flow Steps

  1. User sends request to the internet.
  2. Traffic enters VPC through Internet Gateway(IGW).
  3. Public subnet resources access the internet directly via IGW.
  4. IGW sends traffic to internet and gets response.
  5. Private subnet resources access the internet via NAT Gateway and get response.

Connectivity Components

These components connect your VPC to other networks (other VPCs, on-premises data centers, or AWS services).

1. VPC Peering

A networking connection between two VPCs that enables you to route traffic between them using private IPv4 or IPv6 addresses.

2. AWS Transit Gateway

A cloud router that connects VPCs and on-premises networks through a central hub.

Enables you to privately connect your VPC to supported AWS services (like S3, DynamoDB, Kinesis, etc.) without requiring an Internet Gateway or NAT device.

4. AWS Site-to-Site VPN

Enables you to create a secure connection between your data center or branch office and your AWS cloud resources.

5. AWS Direct Connect

A dedicated network connection from your premises to AWS. It bypasses the public internet entirely.

Benefits Of Using AWS VPC

Following are the benefits of using AWS VPC:

VPC Peering

Pricing for Amazon VPC

As there is no additional charge for using a VPC. but there are charges for using some of VPC components like NAT gateways, IP Address Manager, traffic mirroring and many more. If user wants to create a NAT gateway in their VPC and choose this service, then the users are charged for every “NAT Gateway-hour" used.

Summary Table: When to Use What?

**Component **Purpose **Traffic Flow
**Internet Gateway Public internet access. VPC <-> Internet
**NAT Gateway Outbound internet access for private servers. Private Subnet -> NAT -> Internet
**VPC Peering Connect two VPCs directly. VPC A <-> VPC B
**Transit Gateway Connect many VPCs/VPNs centrally. VPCs <-> Hub <-> VPNs
**VPN Secure encrypted tunnel over internet. VPC <-> On-Premises
**Direct Connect Dedicated physical fiber connection. VPC <-> On-Premises (No Internet)