All technological notes.
Site-to-Site VPN
Site-to-Site VPN
Site-to-Site VPN requires 2 things:
Virtual Private Gateway (VGW)
ASN (Autonomous System Number)Customer Gateway (CGW)
Customer Gateway Device (On-premises)
NAT traversal (NAT-T), use the public IP address of the NAT device(private IP)(会考)Route Propagation for the Virtual Private Gateway in the route table that is associated with your subnets
AWS VPN CloudHub: diff sites, multi-VPNsTo set it up, connect multiple VPN connections on the same VGW, setup dynamic routing and configure route tables
Direct Connect (DX)Direct Connect (DX)
Features
Dedicated connection must be setup between your DC and AWS Direct Connect locationsVirtual Private Gateway on your VPCBenefit:
Use Cases:

即可以连接私有资源(黄色), 又可以连接公有资源(蓝色)
Dedicated Connections:
1 Gbps, 10 Gbps and 100 Gbps capacityAWS Direct Connect PartnersHosted Connections:
AWS Direct Connect PartnersLead times are often longer than 1 month to establish a new connection(常考: 需要提前至少 1 个月申请)
Sample:
Direct Connect + VPN provides an IPsec-encrypted private connection2 modes of resiliency archetectures
High Resiliency for Critical Workloads


Direct Connect Gateway: cross regionsDirect Connect Gateway
Direct Connect to one or more VPC in many different regions (same account).
Direct Connect connection (expensive),Site-to-Site VPN connection(reliable due to the use of public internet)