Back to results for “AWS Direct Connect & Hybrid Connectivity”
AWS › AWS Direct Connect & Hybrid Connectivity

What is a Virtual Private Gateway, and how does it relate to establishing hybrid connectivity with a VPC?

Beginner

Answer

A Virtual Private Gateway is the AWS side endpoint of a VPN connection or Direct Connect connection, attached to your VPC, that allows traffic to flow between your on premises network and your VPC's private resources, acting as the entry and exit point for hybrid network traffic on the AWS side of the connection.
aws ec2 create-vpn-gateway --type ipsec.1 --amazon-side-asn 65000
Real-world example A company setting up a site to site VPN connection between its office network and AWS first creates a Virtual Private Gateway and attaches it to their VPC, establishing the necessary AWS side endpoint before configuring the actual VPN tunnel.

Common follow-ups: What is the difference between a Virtual Private Gateway and a Transit Gateway?;How does a Virtual Private Gateway differ when used with Direct Connect versus VPN?