DEV Community

Cover image for Learning AWS Day by Day — Day 22 — VPC Peering and Endpoints
Saloni Singh
Saloni Singh

Posted on

1

Learning AWS Day by Day — Day 22 — VPC Peering and Endpoints

Exploring AWS !!

Day 22:

VPC Peering and VPC Endpoints

VPC Peering:

Network connection between 2 VPCs which enables traffic flow between them using IP addresses.

Peering connection can be created between VPCs in same or different accounts and between VPCs in same or different region.

Scenarios:

2 VPCs (with same network) peered with 2 subnets in same VPC.

2 VPCs peered with specific subnets.

1 VPC peered with 2 VPCs using longest prefix match.

Image description

VPC Endpoints:

A VPC enables you to privately connect your VPC to supported AWS services and VPC endpoint services powered by AWS Privatelink without requiring an internet gateway, NAT device, VPC connection or AWS Direct Connect connection.

So, VPC Peering can be avoided.

Gateway Endpoint: can be used to connect to AWS services and is located outside subnet..

Interface Endpoint: located inside subnet of VPC, it uses Privatelink where route tables aren’t required.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs