QPC-database / aws-transit-gateway-connect-sample

Sample SDWAN appliance native transit gateway integration CloudFormation deployment

Home Page:https://docs.aws.amazon.com/vpc/latest/tgw/tgw-connect.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS Transit Gateway Connect Sample

Welcome

This repository demonstrates the usage of Transit Gateway (TGW) connect and accelerates your integration of SDWAN appliances with AWS Transit Gateway.

For more details, checkout the Documentation and our Blog Article.

Pre-requisites

Example ip ranges see architecture diagram and pre-requisites folder in this repository

  • Pick a region from the Documentation
  • Transit Gateway setup with unused CIDR attached
  • VPC with two public subnets
  • VPC attached to Transit Gateway
  • Public subnets route table entries with destination TGW CIDR pointing to TGW

Deployment

  1. (Optional) Deploy tgw_vpc_basics.yaml for VPC and Transit Gateway setup
  2. Important: Manually attach a CIDR block to Transit Gateway (here: 10.10.0.0/24)
  3. Deploy gre_setup.yaml, important parameters are the transport TGW attachment id, route table id and VPC information

Deployment Consumer VPCs

  1. VPC needs to be attached to TGW
  2. Consumer subnets need a default route (0.0.0.0/0) towards TGW
  3. VPC attachment has to be associated with GRE main route table
  4. Routing from TGW towards consumer VPC has to be in place within GRE main route table

Architecture

Architecture Diagram

Data Points

  • Dual redundant setup, two SDWAN instances with two GRE tunnels each
  • Full appliance instance failover takes ~30s

Limitations

  • Not all regions support TGW Connect (details see AWS documentation: TGW Connect)
  • CFN resource type AWS::EC2::TransitGatewayConnect is not supported in all regions

Note:

  • While code samples in this repository has been tested and believe it works well, as always, be sure to test it in your environment before using it in production!
  • The sample SDWAN appliances are just break-outs to the public internet in this sample setup

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

Sample SDWAN appliance native transit gateway integration CloudFormation deployment

https://docs.aws.amazon.com/vpc/latest/tgw/tgw-connect.html

License:MIT No Attribution


Languages

Language:Python 78.5%Language:Shell 21.5%