Datapath.io’s Inter Region connect allows you to directly peer VPCs across AWS regions via a dedicated and highly available network. Following are the steps that you need to go through to setup inter region VPC connectivity (repeat for all regions that need to be connected):
Step 1. Create Direct Connect ports
To start off please make sure that you are using non-overlapping IP space for all the VPCs that you want to connect.
First we need to create Direct Connect ports at all AWS regions that are to be connected. These ports will be created by your Datapath.io support engineer. Connect to a support engineer
Once you have connected to a support engineer, they will provision the ports for you. Please provide your AWS account number to them. They will share URLs with you: one for each AWS region, for example eu-central-1:
Open the url and accept the Direct Connect ports. Wait a couple of minutes until these become available.
Step 2. Create Virtual Private Gateways
Create one Virtual Private Gateway per region. In the top right of your AWS console click on the region name and browse to correct region.
- Click on services and choose VPC under the section Network and content delivery.
- In the VPC dashboard to the right, click on Virtual Private Gateways.
- Click Create Virtual Private Gateway.
- Enter the Nametag for the gateway
- Click Create Virtual Private Gateway.
Attach the Virtual Private Gateway to the VPC that you want to peer.
- Browse back to the Virtual Private Gateways section.
- Select the newly created virtual private gateway, and click Attach to VPC.
- Select your VPC from the VPC list, and click Attach.
Wait for the Virtual Private Gateway to enter state attached.
Step 2. Create Virtual Interface
Create one virtual interface per region. In the top right of your AWS console click on the region name and browse to the correct region.
- Click on services and choose Direct Connect under the section Network and content delivery.
- In the Direct Connect dashboard to the right, click Connections.
- Choose the connection provisioned by Datapath.io, and then click on Actions.
- Next click on Create Virtual Interface.
- Enter the following configuration details.
Virtual Interface Name: xyz-vif Virtual Interface Owner: My AWS Account Connection To: Virtual Private Gateway Virtual Private Gateway: Choose the VGW created in the earlier step Address family: IPv4 Auto-generate peer IPs: no Your router peer IP: <will be provided by Datapath.io> Amazon router peer IP: <will be provided by Datapath.io> BGP ASN: 15701 Auto-generate BGP key: no BGP Authentication Key: <will be provided by Datapath.io>
Wait for the interfaces to move from state pending to state available.
Step 3. Enable route propagation
Enable route propagation at both AWS regions. In the top right of your AWS console click on the region name and browse to the correct region.
- Click on services and choose VPC under the section Network and content delivery.
- In the VPC dashboard to the right, click on Route Tables.
- Choose a Route Table that you want to add to the connection.
- Click on Route Propagation, in the section below the list of Route Tables.
- Click edit, and enable route propagation for the Virtual Private Gateway.
Once you have repeated these steps for all the AWS regions that are to be connected, browse to the Route Tables dashboard, select a Route Table, click on the Routes tab in the section below and confirm that you see all routes pointing to the remote VPC(s). You can also login to an instance and ping a remote connection.