# AWS Site-to-Site VPN

Cloud service · AWS. Updated 2026-11-12. Page: https://blowstack.com/tools/cloud-services-hub/aws-site-to-site-vpn

> AWS Site-to-Site VPN is a service that allows you to establish a secure and private connection between your on-premises network and your Amazon Virtual Private Cloud (VPC), enabling secure data transfer and remote access to your AWS resources.

Practice exams covering AWS Site-to-Site VPN: [ANS-C01 AWS Certified Advanced Networking - Specialty](https://blowstack.com/practice-exams/aws-certified-advanced-networking-specialty), [CLF-C02 AWS Certified Cloud Practitioner](https://blowstack.com/practice-exams/aws-certified-cloud-practitioner), [SOA-C03 AWS Certified CloudOps Engineer - Associate](https://blowstack.com/practice-exams/aws-certified-cloudops-engineer-associate), [SCS-C03 AWS Certified Security - Specialty](https://blowstack.com/practice-exams/aws-certified-security-specialty), [SAA-C03 AWS Certified Solutions Architect - Associate](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate), [SAP-C03 AWS Certified Solutions Architect - Professional](https://blowstack.com/practice-exams/aws-certified-solutions-architect-professional).

## 7 key features of AWS Site-to-Site VPN

AWS Site-to-Site VPN provides secure and scalable encrypted connectivity between your network and AWS, with high availability, easy integration with AWS services, a user-friendly management interface, and strong encryption standards.

1. **Secure Connectivity**: AWS Site-to-Site VPN creates a secure and private session over the internet by encrypting the traffic between your network and your Amazon Virtual Private Cloud (VPC).
2. **High Availability**: It offers a highly available VPN connection that automatically reroutes your traffic through a backup link in case of any failures, ensuring constant connectivity.
3. **Scalability**: Easily scalable, allowing you to increase or decrease your connection capacity based on the needs of your organization without any significant downtime.
4. **Integration with AWS Services**: Seamlessly integrates with other AWS services like Amazon CloudWatch for monitoring and AWS Identity and Access Management (IAM) for secure access control.
5. **Easy to Set Up and Manage**: Provides a user-friendly interface for setting up and managing your VPN connections, including configuration, monitoring, and maintenance tasks.
6. **Encryption and Security**: Supports industry-standard encryption protocols like IKEv2/IPsec to protect your data and ensure a secure connection between your network and AWS.
7. **Static and Dynamic Routing**: Supports dynamic routing using BGP over the IPsec tunnel or explicitly configured static routes.

## Where AWS Site-to-Site VPN is used

AWS Site-to-Site VPN is ideally used for securely connecting remote offices to AWS, enabling hybrid cloud environments, ensuring disaster recovery, facilitating secure collaboration with external partners, and adhering to compliance and data sovereignty requirements.

1. **Securely Connecting Remote Offices to AWS**: Organizations with multiple office locations can utilize AWS Site-to-Site VPN to securely interconnect their remote offices to their AWS environments. This ensures that employees in various locations can access AWS resources as if they were located within the same local area network, enhancing productivity and collaboration while maintaining data security.
2. **Hybrid Cloud Environments**: Companies moving towards a hybrid cloud strategy can use Site-to-Site VPN to securely bridge their on-premises data center to their AWS cloud infrastructure. This seamless connectivity allows for the safe transfer of data, applications, and services between the cloud and on-premises environments, facilitating a smooth transition to the cloud and enabling efficient workload distribution.
3. **Disaster Recovery**: In the event of an on-premises data center failure, AWS Site-to-Site VPN provides a vital connectivity solution to a backup AWS environment. This setup enables organizations to quickly reroute their traffic to AWS, ensuring business continuity and minimizing downtime during disasters.
4. **Secure Collaboration with External Partners**: Businesses can establish secure connections between their AWS environments and those of their partners or clients using Site-to-Site VPNs. This secure link ensures that sensitive data remains protected while allowing for efficient collaboration and data exchange with external entities.
5. **Compliance and Data Sovereignty**: For organizations with strict regulatory compliance requirements or data sovereignty concerns, AWS Site-to-Site VPN allows for the establishment of a secure and controlled connection. This ensures that data transfer complies with legal and regulatory standards by maintaining a secure and encrypted conduit between the organization's network and AWS.

## How AWS Site-to-Site VPN is priced

AWS Site-to-Site VPN pricing includes a fixed hourly connection fee plus variable data transfer costs based on the amount and destination of the data.

- **AWS Site-to-Site VPN Connection Fee**: For each VPN Connection, AWS charges a fixed hourly rate, irrespective of the data transfer rate.
- **Data Transfer Costs**: In addition to the connection fee, data transfer costs vary depending on the amount of data transferred and the regions involved, with higher fees for data transferred out of AWS to the internet.
- **Accelerated VPN Charges**: Accelerated Site-to-Site VPN incurs AWS Global Accelerator hourly charges and accelerated data transfer premium charges.
- **5 Gbps VPN Connection Fee**: A 5 Gbps Site-to-Site VPN connection costs $0.60 per connection-hour while provisioned and available.
- **VPN Concentrator Charges**: VPN Concentrator costs $1.95 per provisioned and available concentrator-hour, plus $0.01 per provisioned and available VPN connection-hour for each site connected through it.
- **Public IPv4 Address Charges**: Standard public IPv4 address charges apply to the public IPv4 addresses used for VPN tunnels.

## Services AWS Site-to-Site VPN works with

- **[Amazon VPC](https://blowstack.com/tools/cloud-services-hub/amazon-vpc)**: Allows secure communication between on-premises networks and resources within an Amazon Virtual Private Cloud (VPC).
- **[AWS Transit Gateway](https://blowstack.com/tools/cloud-services-hub/aws-transit-gateway)**: Enables scalable and simplified network architecture by connecting multiple VPCs and on-premises networks through a central hub.
- **[AWS Direct Connect](https://blowstack.com/tools/cloud-services-hub/aws-direct-connect)**: Provides a dedicated network connection to public AWS services and private VPCs, and can be used for redundancy with AWS Site-to-Site VPN.
- **[Amazon CloudWatch](https://blowstack.com/tools/cloud-services-hub/amazon-cloudwatch)**: AWS Site-to-Site VPN publishes tunnel-state and traffic metrics to CloudWatch and can send tunnel logs to CloudWatch Logs. You can create alarms for disconnected tunnels and inspect logs to troubleshoot IKE negotiation, IPsec, and routing problems.
- **[Amazon EC2](https://blowstack.com/tools/cloud-services-hub/amazon-ec2)**: AWS Site-to-Site VPN supports a software customer gateway running on an EC2 instance. This lets a virtual router or firewall appliance terminate the customer side of the IPsec tunnels.
- **[Amazon EventBridge](https://blowstack.com/tools/cloud-services-hub/amazon-eventbridge)**: AWS Site-to-Site VPN API activity recorded by CloudTrail can be matched by EventBridge rules. EventBridge can also route AWS Health notifications about VPN tunnel maintenance to notification or automation targets.
- **[AWS Certificate Manager (ACM)](https://blowstack.com/tools/cloud-services-hub/aws-certificate-manager-(acm))**: AWS Site-to-Site VPN supports certificate-based customer gateway authentication using a private certificate managed in ACM. The certificate ARN is associated with the customer gateway instead of relying solely on pre-shared-key authentication.
- **[AWS CloudFormation](https://blowstack.com/tools/cloud-services-hub/aws-cloudformation)**: AWS Site-to-Site VPN resources can be provisioned through CloudFormation, including customer gateways, virtual private gateways, VPN connections, and static VPN routes. Templates can deploy these resources together with the associated VPC gateway attachment and routing configuration.
- **[AWS CloudTrail](https://blowstack.com/tools/cloud-services-hub/aws-cloudtrail)**: AWS Site-to-Site VPN management API calls are recorded by CloudTrail. These records identify who created, modified, or deleted VPN resources and capture request details for auditing and troubleshooting.
- **[AWS Global Accelerator](https://blowstack.com/tools/cloud-services-hub/aws-global-accelerator)**: Accelerated AWS Site-to-Site VPN uses Global Accelerator to bring VPN traffic onto the AWS global network through nearby edge locations. Acceleration is available for VPN connections attached to a transit gateway.
- **[AWS Health Dashboard](https://blowstack.com/tools/cloud-services-hub/aws-health-dashboard)**: AWS Site-to-Site VPN exposes relevant maintenance and operational notifications through AWS Health, including tunnel endpoint replacement notifications. These events help you prepare for maintenance and check that the alternate tunnel is available.
- **[AWS Identity and Access Management (IAM)](https://blowstack.com/tools/cloud-services-hub/aws-identity-and-access-management-(iam))**: AWS Site-to-Site VPN uses IAM policies to control access to VPN connections, customer gateways, and virtual private gateways. Permissions can restrict administrative actions and use resource tags to scope access.
- **[AWS Key Management Service (AWS KMS)](https://blowstack.com/tools/cloud-services-hub/aws-key-management-service-(aws-kms))**: AWS Site-to-Site VPN pre-shared keys stored in Secrets Manager are encrypted using AWS KMS. The secrets can use an AWS managed key or a customer managed key to control protection of the stored credentials.
- **[AWS Marketplace](https://blowstack.com/tools/cloud-services-hub/aws-marketplace)**: AWS Marketplace offers virtual router and firewall appliances that can run on EC2 as customer gateway devices for AWS Site-to-Site VPN. These appliances establish IPsec tunnels to the AWS-managed VPN endpoints.
- **[AWS Private Certificate Authority](https://blowstack.com/tools/cloud-services-hub/aws-private-certificate-authority)**: AWS Site-to-Site VPN supports certificate authentication using private certificates issued through AWS Private Certificate Authority and managed in ACM. This provides a private certificate trust chain for authenticating the VPN endpoints.
- **[AWS Resource Groups and Tag Editor](https://blowstack.com/tools/cloud-services-hub/aws-resource-groups-and-tag-editor)**: AWS Site-to-Site VPN connections and related gateway resources support tags that can be managed with Tag Editor and used in tag-based resource groups. This lets you organize VPN infrastructure by site, application, or environment.
- **[AWS Secrets Manager](https://blowstack.com/tools/cloud-services-hub/aws-secrets-manager)**: AWS Site-to-Site VPN can store tunnel pre-shared keys in Secrets Manager rather than in standard VPN configuration storage. Access to the stored keys can then be governed and audited through Secrets Manager permissions and API activity.
- **[AWS Systems Manager](https://blowstack.com/tools/cloud-services-hub/aws-systems-manager)**: AWS Site-to-Site VPN connections can be investigated with the Systems Manager Automation runbook AWSSupport-TroubleshootVPN. The runbook checks the connection and related networking configuration to help identify connectivity problems.
- **[AWS Trusted Advisor](https://blowstack.com/tools/cloud-services-hub/aws-trusted-advisor)**: AWS Site-to-Site VPN is covered by the Trusted Advisor VPN Tunnel Redundancy check. The check identifies connections without two available tunnels so you can restore redundancy before a tunnel failure or maintenance event.
- **[AWS User Notifications](https://blowstack.com/tools/cloud-services-hub/aws-user-notifications)**: AWS Site-to-Site VPN maintenance notifications delivered through AWS Health can be included in AWS User Notifications configurations. You can filter for relevant VPN events and receive them through configured notification channels.

## What is AWS Site-to-Site VPN

Amazon Web Services (AWS) Site-to-Site VPN establishes a secure and private connection between your network and your Amazon Virtual Private Cloud (VPC). It is a pivotal feature within the AWS ecosystem that caters to businesses looking for secure and stable means to extend their on-premises networks into the cloud.

Utilizing industry-standard encryption protocols, AWS Site-to-Site VPN ensures that data in transit is safeguarded against unauthorized access, providing peace of mind for organizations with stringent security and compliance requirements.

The architecture of AWS Site-to-Site VPN is designed to be highly available and resilient. When you set up a Site-to-Site VPN connection, it automatically provides you with two VPN endpoints in different Availability Zones. This built-in redundancy ensures that your connection is robust against failures, minimizing potential downtime and ensuring business continuity.

For VPN connections using BGP dynamic routing, Transit Gateway and Cloud WAN support Equal Cost Multi-path (ECMP) routing to load balance traffic and aggregate bandwidth across multiple VPN tunnels.

The configuration process is streamlined. Users specify their on-premises network parameters and choose the VPC they wish to connect to. AWS then automatically handles the creation of the VPN connection, providing configuration information that can be applied to the customer gateway device on the user's end.

A virtual private gateway provides the AWS-side VPN endpoint for a single VPC. A transit gateway can serve as the VPN endpoint and interconnect multiple VPCs and on-premises networks.

The customer gateway is an AWS resource containing information about the customer gateway device; the device itself is a physical appliance or software application on your side of the VPN connection.

VPN connections support standard tunnels with bandwidth up to 1.25 Gbps per tunnel or large tunnels with bandwidth up to 5 Gbps per tunnel.

Large Bandwidth Tunnels are available for VPN connections attached to AWS Transit Gateway or AWS Cloud WAN.

VPN Concentrator provides a multi-site connectivity option for distributed enterprises connecting 25 or more remote sites to AWS, with each site needing less than 100 Mbps.

VPN Concentrators support 5 Gbps of aggregate bandwidth, with a maximum of 100 Mbps per site; higher bandwidth requirements can be discussed with AWS Support.

Accelerated Site-to-Site VPN uses AWS Global Accelerator to route VPN traffic through nearby AWS edge locations and across the AWS global network.

Private IP VPN carries IPsec traffic over AWS Direct Connect using private IP addresses for the tunnel endpoints rather than public IP addresses.

An important aspect of AWS Site-to-Site VPN is its integration with other AWS services, such as Amazon CloudWatch for monitoring and AWS Identity and Access Management (IAM) for secure access control. These integrations allow for a more seamless management experience and further bolster the security and integrity of the VPN connection. Through CloudWatch, users can monitor their VPN connections and receive notifications about network issues, enabling prompt responses to potential problems. With IAM, organizations can define and control who has access to their VPN settings, ensuring that only authorized personnel can make changes to the configuration.

Cost-efficiency is another hallmark of AWS Site-to-Site VPN. Instead of investing in costly hardware and dedicated lines for establishing a secure connection to the cloud, businesses can leverage AWS's infrastructure at a fraction of the cost. Pricing is transparent and predictable, based on an hourly charge for each VPN connection and applicable data transfer charges, making it easier for organizations to manage their budgets and scale their operations as needed.

In essence, AWS Site-to-Site VPN is an essential service for organizations looking to securely extend their on-premises network to AWS. Its emphasis on security, reliability, integration with AWS services, and cost-effectiveness make it a compelling choice for businesses of all sizes. Whether you're looking to migrate applications to the cloud, implement a disaster recovery solution, or simply extend your corporate network, AWS Site-to-Site VPN provides a secure, scalable, and efficient way to achieve your objectives.

## Concepts related to AWS Site-to-Site VPN

- [Encryption in Transit](https://blowstack.com/tools/cloud-concepts-hub/encryption-in-transit): Encryption in transit protects data with cryptography while it moves between systems, applications, or networks.
- [IPsec](https://blowstack.com/tools/cloud-concepts-hub/ipsec): IPsec is a suite of network-layer protocols that authenticates and protects IP traffic between communicating hosts or security gateways.
- [Border Gateway Protocol](https://blowstack.com/tools/cloud-concepts-hub/border-gateway-protocol): Border Gateway Protocol is a policy-based routing protocol that exchanges network reachability information between routers and autonomous systems.
- [Equal-Cost Multipath Routing](https://blowstack.com/tools/cloud-concepts-hub/equal-cost-multipath-routing): Equal-Cost Multipath Routing distributes traffic across multiple eligible network paths that have equal routing preference to the same destination.
- [Virtual Private Networks](https://blowstack.com/tools/cloud-concepts-hub/virtual-private-networks): Virtual private networks (VPNs) create logically private connections across an underlying network, commonly using encrypted tunnels to protect traffic.
- [Maximum Transmission Unit](https://blowstack.com/tools/cloud-concepts-hub/maximum-transmission-unit): Maximum Transmission Unit (MTU) is the largest network-layer packet, measured in bytes, that a link or interface can carry without fragmentation.
- [Path Diversity](https://blowstack.com/tools/cloud-concepts-hub/path-diversity): Path diversity is the use of multiple network routes with sufficiently independent infrastructure so that one failure does not interrupt all connectivity.
- [Hybrid Cloud](https://blowstack.com/tools/cloud-concepts-hub/hybrid-cloud): Hybrid cloud is a deployment model that integrates public cloud services with on-premises or private cloud infrastructure to support connected workloads, data, and operations.
- [IP Fragmentation](https://blowstack.com/tools/cloud-concepts-hub/ip-fragmentation): IP fragmentation divides an IP datagram into smaller fragments so it can traverse a link whose maximum transmission unit is smaller than the original datagram.
- [IP Routing](https://blowstack.com/tools/cloud-concepts-hub/ip-routing): IP routing is the process of selecting paths and forwarding Internet Protocol packets between networks using destination addresses and routing information.
- [Jumbo Frames](https://blowstack.com/tools/cloud-concepts-hub/jumbo-frames): Jumbo frames are Ethernet frames that carry an IP packet larger than the conventional 1,500-byte maximum transmission unit.
- [Leased Lines](https://blowstack.com/tools/cloud-concepts-hub/leased-lines): Leased lines are privately provisioned network circuits that provide contracted connectivity and capacity between specified locations for a recurring fee.
- [Multiprotocol Label Switching (MPLS)](https://blowstack.com/tools/cloud-concepts-hub/multiprotocol-label-switching-(mpls)): Multiprotocol Label Switching (MPLS) is a packet-forwarding technology that uses labels to carry traffic along established paths through a network.
- [Route Summarization](https://blowstack.com/tools/cloud-concepts-hub/route-summarization): Route summarization combines multiple more-specific IP routes into a broader CIDR prefix to reduce routing information while preserving intended reachability.
- [Static Routing](https://blowstack.com/tools/cloud-concepts-hub/static-routing): Static routing directs network traffic using explicitly configured destination-to-next-hop mappings rather than routes learned through a dynamic routing protocol.
- [Transitive Routing](https://blowstack.com/tools/cloud-concepts-hub/transitive-routing): Transitive routing allows traffic between two networks to pass through an intermediate network or routing hub rather than requiring a direct connection.
- [Bidirectional Forwarding Detection](https://blowstack.com/tools/cloud-concepts-hub/bidirectional-forwarding-detection): Bidirectional Forwarding Detection is a lightweight protocol that rapidly detects forwarding-path failures between network devices and notifies routing protocols.
- [Hub-and-Spoke Topology](https://blowstack.com/tools/cloud-concepts-hub/hub-and-spoke-topology): Hub-and-spoke topology is a network design in which multiple peripheral networks connect to a central hub that controls connectivity between them and shared destinations.
- [Link-Layer Encryption](https://blowstack.com/tools/cloud-concepts-hub/link-layer-encryption): Link-layer encryption protects data frames between network peers at Layer 2, securing a link or segment rather than an entire application-to-application path.
- [Longest Prefix Match](https://blowstack.com/tools/cloud-concepts-hub/longest-prefix-match): Longest Prefix Match is the routing rule that selects the matching destination prefix with the greatest number of network bits.
- [Multicast Tunneling](https://blowstack.com/tools/cloud-concepts-hub/multicast-tunneling): Multicast tunneling encapsulates multicast packets inside unicast traffic so they can cross networks that do not natively forward multicast.
- [Networking, connectivity, and content delivery](https://blowstack.com/tools/cloud-concepts-hub/networking-connectivity-and-content-delivery): Networking, connectivity, and content delivery is the design of communication paths that connect cloud resources, users, and external networks while delivering application traffic efficiently and securely.
- [On-Premises Infrastructure](https://blowstack.com/tools/cloud-concepts-hub/on-premises-infrastructure): On-premises infrastructure is computing, storage, and networking equipment deployed in facilities controlled by an organization rather than in a public cloud provider’s data centers.
- [Path MTU Discovery](https://blowstack.com/tools/cloud-concepts-hub/path-mtu-discovery): Path MTU Discovery determines the largest IP packet that can traverse a network path without fragmentation.
- [SD-WAN](https://blowstack.com/tools/cloud-concepts-hub/sd-wan): SD-WAN is a software-defined approach to managing wide-area connectivity that uses centralized policy and an overlay network to steer traffic across underlying transport networks.
- [TCP MSS Clamping](https://blowstack.com/tools/cloud-concepts-hub/tcp-mss-clamping): TCP MSS clamping limits the Maximum Segment Size advertised during TCP connection establishment so that subsequent packets fit the network path’s effective MTU.
- [TCP Window Scaling](https://blowstack.com/tools/cloud-concepts-hub/tcp-window-scaling): TCP Window Scaling is a negotiated TCP extension that allows receive windows larger than 65,535 bytes so connections can sustain higher throughput over high-bandwidth, high-latency paths.
- [VXLAN](https://blowstack.com/tools/cloud-concepts-hub/vxlan): VXLAN is a network encapsulation protocol that carries Layer 2 Ethernet frames across a Layer 3 IP network to create logically isolated overlay networks.

## AWS Site-to-Site VPN exam questions

Real practice exam questions on AWS Site-to-Site VPN, with the correct answer and its explanation.

### Question 1 (CLF-C02)

**Question:**

A company’s on-premises servers must exchange data with applications using private IP addresses in an Amazon VPC. The company wants to encrypt all traffic between the two networks over its existing internet connection without installing VPN software on each server. Which solution best meets these requirements?

**Correct answer:** Establish an AWS Site-to-Site VPN connection between the on-premises gateway device and the VPC.

**Explanation:** AWS Site-to-Site VPN uses IPsec tunnels to encrypt traffic between an on-premises network and AWS over the internet. The gateway handles the VPN connection, so individual servers do not need VPN client software.

### Question 2 (SOA-C03)

**Question:**

A company connects its data center to a VPC through a dynamically routed AWS Site-to-Site VPN connection. After the customer gateway device is moved behind a firewall that performs IPv4 network address translation (NAT), both VPN tunnels stop establishing. The customer gateway resource in AWS has been updated to use the firewall's static public IP address.

The customer gateway logs show that IKE negotiation detects NAT but that IPsec security associations do not establish. The firewall permits bidirectional UDP port 500 and IP protocol 50 (ESP) between the customer gateway device and both AWS tunnel endpoint public IP addresses. It denies all other traffic between those endpoints.

Which change should a CloudOps engineer make to restore the VPN tunnels?

**Correct answer:** Allow bidirectional UDP port 4500 through the perimeter firewall between the customer gateway device and both AWS tunnel endpoint public IP addresses.

**Explanation:** When NAT is detected, IPsec NAT traversal (NAT-T) uses UDP port 4500 to carry encrypted traffic. Allowing UDP port 500 and native ESP alone is insufficient for this NAT-T connection. The firewall must also permit UDP port 4500.

### Question 3 (SAP-C03)

**Question:**

A company has 24 application VPCs across multiple AWS accounts in one AWS Region. The VPCs are attached to a centrally managed transit gateway and use nonoverlapping CIDR blocks. The company must connect these VPCs to an on-premises data center over encrypted internet connections.

The data center has two independent customer gateway routers with separate public IP addresses and internet circuits. Each router and circuit can support the entire workload. The approved VPN configuration limits each tunnel to 1.25 Gbps. The workload requires 2 Gbps of aggregate throughput in each direction, including after either customer gateway router fails. Traffic consists of many independent flows that can distribute evenly across equal-cost paths; no individual flow requires more than 1.25 Gbps. Application traffic must not traverse routing appliances in a VPC.

Which configuration meets these requirements?

**Correct answer:** Create one dynamically routed Site-to-Site VPN connection from each customer gateway router to the transit gateway. Configure both tunnels of both connections with BGP and equal-cost route advertisements. Enable VPN ECMP support on the transit gateway and equal-cost forwarding on the customer routers. Configure the required VPC, transit gateway, and return routes.

**Explanation:** Transit Gateway supports ECMP across dynamically routed Site-to-Site VPN tunnels with equal-cost routes. Both tunnels of the surviving router's VPN connection can remain active after the other router fails, providing up to 2.5 Gbps of aggregate tunnel capacity. With the stated flow distribution and adequate underlying circuit capacity, this meets the 2 Gbps requirement without VPC routing appliances.

### Question 4 (SAA-C03)

**Question:**

A company already provides employees with encrypted remote access to its corporate network through an on-premises remote-access gateway. The corporate network connects to a single VPC through an existing BGP-based AWS Site-to-Site VPN connection. Both connections have sufficient unused capacity.

Ten administrators now need to access private IP addresses of EC2 instances in the VPC from their laptops. Their remote-access address pool does not overlap with the corporate network or VPC CIDR blocks. Currently, the remote-access gateway does not forward traffic to the VPC, and the corporate router does not advertise the remote-access address pool to AWS. Company policy permits forwarding this traffic through the corporate network, and the resulting latency is acceptable.

Which solution provides encrypted connectivity with the LOWEST additional fixed AWS connectivity charges?

**Correct answer:** Configure the remote-access gateway to forward VPC-bound traffic to the corporate router. Advertise the remote-access address pool over the existing BGP sessions, ensure VPC return routes use the existing VPN, and permit the traffic in the relevant security controls.

**Explanation:** The administrators can use the existing encrypted remote-access connection to reach the corporate network and the existing encrypted Site-to-Site VPN to reach AWS. Forwarding, destination routes, return routes, and security permissions complete the path. Because both connections have spare capacity, this solution requires no additional fixed AWS connectivity charges.

### Question 5 (SCS-C03)

**Question:**

A company connects its on-premises data center and a network in another cloud provider to an AWS Transit Gateway through separate AWS Site-to-Site VPN attachments. A shared-services VPC is also attached to the gateway. All three networks have nonoverlapping CIDR blocks. Currently, all attachments are associated with one transit gateway route table and propagate their routes into that table.

Security policy requires both remote networks to initiate connections to the shared-services VPC and receive responses. The transit gateway must not forward traffic directly between the two remote networks. The VPC route tables and remote routers already contain the required routes, and there are no alternative connectivity paths.

Which transit gateway routing configuration meets these requirements?

**Correct answer:** Replace the existing configuration with two route tables. Associate both VPN attachments with a table that learns only the shared-services VPC route. Associate the VPC attachment with a second table that learns both remote-network routes from the VPN attachments. Disable default association and propagation, and configure only these associations and propagations.

**Explanation:** An attachment's associated route table controls forwarding for traffic entering the transit gateway through that attachment. Both VPN attachments therefore use a table that can reach the shared-services VPC but has no route to either remote network. Response traffic entering through the VPC attachment uses the second table, which contains routes to both remote networks. Restricting propagation prevents unintended cross-network reachability.

### Question 6 (ANS-C01)

**Question:**

A company connects application VPCs in several AWS accounts to a central transit gateway. Two dynamically routed AWS Site-to-Site VPN connections connect the transit gateway to two on-premises routers. All four IPsec tunnels and BGP sessions are established. Each tunnel has sufficient capacity for an individual application flow, but the aggregate AWS-to-on-premises traffic exceeds the capacity of any two tunnels.

Both routers advertise the same on-premises prefixes. One router prepends its customer ASN twice to every advertisement toward AWS; all other relevant BGP attributes are equal. VPN ECMP support is disabled on the transit gateway. There are no static routes for the on-premises prefixes. The routers support concurrent forwarding across all four tunnels, and the on-premises network permits asymmetric paths. VPC routing, transit gateway route propagation, and security controls are correct.

The company must distribute many independent AWS-to-on-premises flows across all four existing tunnels without adding connections or changing application addressing.

Which configuration meets these requirements?

**Correct answer:** Enable VPN ECMP support on the transit gateway and remove the customer ASN prepending so that all four tunnels advertise equal-length AS paths for the same prefixes.

**Explanation:** Transit Gateway supports ECMP across dynamically routed Site-to-Site VPN tunnels. Enabling VPN ECMP and providing otherwise equivalent routes with equal-length AS paths makes all four tunnels eligible for multipath forwarding. Multiple independent flows can then use the aggregate tunnel capacity; an individual flow remains assigned to a path.

## Practice AWS Site-to-Site VPN in a full exam

Questions on AWS Site-to-Site VPN in each practice exam, with every answer option and an explanation for each:

- [ANS-C01](https://blowstack.com/practice-exams/aws-certified-advanced-networking-specialty): 56 questions
- [SAA-C03](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate): 19 questions
- [SAP-C03](https://blowstack.com/practice-exams/aws-certified-solutions-architect-professional): 5 questions
- [SCS-C03](https://blowstack.com/practice-exams/aws-certified-security-specialty): 4 questions
- [CLF-C02](https://blowstack.com/practice-exams/aws-certified-cloud-practitioner): 3 questions
- [SOA-C03](https://blowstack.com/practice-exams/aws-certified-cloudops-engineer-associate): 2 questions

## Learn AWS Site-to-Site VPN in lessons

14 short lessons on AWS Site-to-Site VPN in 5 certification courses.

- CLF-C02: AWS Client VPN vs AWS Site-to-Site VPN (Premium), https://app.blowstack.com/lessons/aws-client-vpn-vs-aws-site-to-site-vpn-clf-c02
- SOA-C03: AWS Client VPN vs AWS Site-to-Site VPN (Premium), https://app.blowstack.com/lessons/aws-client-vpn-vs-aws-site-to-site-vpn-soa-c03
- SAP-C03: AWS Site-to-Site VPN: resilient tunnel routing (Premium), https://app.blowstack.com/lessons/aws-site-to-site-vpn-resilient-tunnel-routing-sap-c03
- SAA-C03: AWS Client VPN vs AWS Site-to-Site VPN (Premium), https://app.blowstack.com/lessons/aws-client-vpn-vs-aws-site-to-site-vpn-saa-c03
- SCS-C03: AWS Direct Connect vs AWS Site-to-Site VPN: private transport and encrypted tunnels (Premium), https://app.blowstack.com/lessons/aws-direct-connect-vs-aws-site-to-site-vpn-private-transport-and-encrypted-tunnels-scs-c03
- CLF-C02: AWS Direct Connect vs AWS Site-to-Site VPN (Premium), https://app.blowstack.com/lessons/aws-direct-connect-vs-aws-site-to-site-vpn-clf-c02
