AWS Site-to-Site VPN
Cloud service · AWS · Updated

AWS Site-to-Site VPN

In short

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.

Cloud Services Hub →

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.

01
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).

02
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.

03
Scalability

Easily scalable, allowing you to increase or decrease your connection capacity based on the needs of your organization without any significant downtime.

04
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.

05
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.

06
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.

07
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. 01
    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. 02
    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. 03
    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. 04
    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. 05
    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 VPCAmazon VPC

Allows secure communication between on-premises networks and resources within an Amazon Virtual Private Cloud (VPC).

AWS Transit GatewayAWS Transit Gateway

Enables scalable and simplified network architecture by connecting multiple VPCs and on-premises networks through a central hub.

AWS Direct ConnectAWS 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 CloudWatchAmazon 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 EC2Amazon 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 EventBridgeAmazon 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)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 CloudFormationAWS 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 CloudTrailAWS 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 AcceleratorAWS 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.

What is AWS Site-to-Site VPN

3 min read

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

AWS Site-to-Site VPN exam questions

Real practice exam questions on AWS Site-to-Site VPN, with the correct answer and its explanation. Answer them with every option in the exam simulator.

CLF-C02

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?

Show answerCORRECT ANSWER

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

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.

SOA-C03

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?

Show answerCORRECT ANSWER

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

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.

SAP-C03

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?

Show answerCORRECT 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.

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.

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:

Start a free practice exam

Learn AWS Site-to-Site VPN in lessons

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

and 8 more lessons

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.