AWS VPN

Site-to-Site VPN connects supported networks through encrypted tunnels; Client VPN connects individual clients. Start with hybrid topology, routes and workforce identity.

Site-to-Site

A customer gateway resource represents the supported customer endpoint; the AWS termination can use a VGW or TGW design. Configure both tunnels and verify actual failover. Static and dynamic BGP routing are supported with different operational implications.

BGP/ECMP, tunnel bandwidth, acceleration and endpoint address options are mode-specific. Do not universalize one bandwidth/default ASN/IPv4 requirement to all VPN variants. A quota increase is not a throughput guarantee.

Client VPN

Authentication options include Active Directory, mutual certificates and SAML federation. OIDC is not a documented direct Client VPN authentication option; Active Directory is not the same mechanism as SAML federation.

Target-network associations, endpoint routes, authorization rules and SGs are separate. Authentication success alone does not authorize every destination. Split/full tunnel decisions affect routing, DNS and egress.

Sandbox access drill

Prerequisites: approved test VPN endpoint and a nonsensitive private server, scoped administration and an independent management path. Tunnel/endpoint/connection charges may apply.

  1. Record client/source identity, authorized destination and expected route.
  2. Connect and test only the allowed service.
  3. Attempt an excluded destination; expect failure despite successful authentication.
  4. For Site-to-Site, test an approved single-tunnel failure and observe route/client recovery.
  5. Restore the original configuration; verify both tunnels/routes or intended client associations.
  6. Remove dedicated endpoints/connections/associations, customer-gateway resources and logs only after confirming no shared dependency.

Collect client/server logs, route tables and connection status; distinguish credentials, certificate validity, DNS, routes and SG failures. Measure failover rather than quoting a fixed application recovery time.

Routing and access comparison

QuestionSite-to-Site VPNClient VPN
Who connects?Customer network gateway to AWS gatewayIndividual client to endpoint
RoutingStatic or BGP with tunnel routesEndpoint route table plus target network association
Access boundaryPrefixes, SGs/NACLs and customer firewallAuthentication, authorization rules, routes and SGs
Resilience testBoth tunnels and customer/AWS route convergenceEndpoint association, client reconnect and DNS behavior
on-prem router → tunnel A/B → VGW or TGW → VPC subnet → private service
user device → Client VPN endpoint → target association → authorized route → service

For BGP Site-to-Site VPN, record advertised/accepted prefixes and route priority; for static routing, maintain the explicit prefixes on both ends. In both cases, confirm return routing and MTU-sensitive application behavior. For Client VPN, a successful authentication result only establishes identity; the destination also needs an authorization rule, endpoint route, associated target network and matching SG. Split-tunnel clients may retain local routes that affect which resolver or path handles a request.

References

Across the wiki