

# SD-WAN Connectivity with AWS Site-to-Site VPN to AWS Transit Gateway
<a name="sdwan-vpn-tgw"></a>

Publication date: **December 28, 2024 ([Diagram history](#sdwan4-diagram-history))**

If your third-party virtual appliance does not support GRE, you can still integrate your SD-WAN network to AWS Transit Gateway by creating an AWS Site-to-Site VPN connection, peering the SD-WAN headend with the Transit Gateway using IPSec tunnels. The SD-WAN headend can use BGP to peer with the Transit Gateway to exchange route prefixes. If you want to increase the bandwidth to more than the 1.25 Gbps limit of one single Site-to-Site VPN connection, additional IPSec VPN connections can be used with Transit Gateway's support for Equal-Cost Multi-Path (ECMP).

## SD-WAN connectivity with AWS Site-to-Site VPN to AWS Transit Gateway architecture
<a name="sdwan4-diagram1"></a>

![Architecture diagram showing SD-WAN connectivity using AWS Site-to-Site VPN to AWS Transit Gateway with IPSec tunnels.](http://docs.aws.amazon.com/reference-architecture-diagrams/latest/sd-wan-solutions/images/sd-wan-solutions-4.png)


The following steps describe the AWS to on-premises traffic flow:

1. Traffic initiated from an instance in the Spoke [Amazon VPC](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html) A and destined to the corporate data center is routed to the TGW ENI as per the **Spoke VPC A** route table.

1. Traffic is forwarded to the Transit Gateway. As per the **Spoke VPC route table**, the traffic is routed to the **appliance VPC** through the Site-to-Site VPN attachment.

1. The traffic is routed between the Transit Gateway and the third-party virtual appliance using the Site-to-Site VPN connection.

1. The third-party virtual appliance encapsulates the traffic, which uses the SD-WAN overlay (on top of the [AWS Direct Connect](https://docs.aws.amazon.com/directconnect/latest/UserGuide/Welcome.html) link) to reach the corporate data center.

The following steps describe the on-premises to AWS traffic flow:

1. Traffic from branches outside AWS destined to the Spoke Amazon VPC B reaches the internet gateway of the **appliance VPC** through the SD-WAN overlay - on top of the internet.

1. The third-party virtual appliance in the **appliance VPC** forwards the traffic to the Transit Gateway through the Site-to-Site VPN connection.

1. As per the **Transit Gateway appliance VPC route table**, the traffic is forwarded to the **Spoke VPC B** attachment.

1. The TGW ENI of the **Spoke VPC B** forwards the traffic to the destination.

## Further reading
<a name="sdwan4-further-reading"></a>

For additional information, see the following resources:
+ [AWS Architecture Icons](https://aws.amazon.com/architecture/icons)
+ [AWS Well-Architected](https://aws.amazon.com/architecture/well-architected)

## Diagram history
<a name="sdwan4-diagram-history"></a>

To be notified about updates to this reference architecture diagram, subscribe to the RSS feed.

| Change | Description | Date | 
| --- |--- |--- |
| [Initial publication](sdwan-tgw-connect.md#sdwan1-diagram-history) | Reference architecture diagram first published. | December 28, 2024 | 
| [Initial publication](sdwan-cloudwan-connect.md#sdwan2-diagram-history) | Reference architecture diagram first published. | December 28, 2024 | 
| [Initial publication](sdwan-cloudwan-tunnelless.md#sdwan3-diagram-history) | Reference architecture diagram first published. | December 28, 2024 | 
| [Initial publication](#sdwan4-diagram-history) | Reference architecture diagram first published. | December 28, 2024 | 
| [Initial publication](sdwan-vpn-cloudwan.md#sdwan5-diagram-history) | Reference architecture diagram first published. | December 28, 2024 | 
| [Initial publication](sdwan-dx-tgw.md#sdwan6-diagram-history) | Reference architecture diagram first published. | December 28, 2024 | 
| [Initial publication](sdwan-dx-cloudwan.md#sdwan7-diagram-history) | Reference architecture diagram first published. | December 28, 2024 | 

**Note**  
To subscribe to RSS updates, you must have an RSS plugin enabled for the browser you are using.