Easily integrate AWS Direct Connect and Telnyx VXC
Integrate Amazon Web Services (AWS) Direct Connect and the Telnyx private network backbone. Here's our 5-step setup guide:
By Pete Christianson
In this guide, we’ll walk you through how to integrate an Amazon Web Services (AWS) Virtual Private Cloud environment with the Telnyx network backbone. The Virtual Cross Connect will allow you to bypass the internet and gain direct private access to the Telnyx telephony engine, thereby eliminating hops and reducing the risk or packet loss and jitter.
You’ll also benefit from the additional security of direct interconnection. With that being said, to protect against attacks, we always recommend that you encrypt both signaling and media with TLS & Z/SRTP.
Provide Telnyx with VXC Preferences
In the Networking section of the Mission Control Portal, click on Create a New VXC to input your preferences, including the 12-digit AWS account number associated with your VPC, AWS region, bandwidth speed and network name.
Once you submit your preferences, you won’t be able to change them without creating a new VXC. Telnyx will create one or two Direct Connect connections for you to accept in your AWS console within 1-3 days.
Create a Virtual Private Gateway (VGW)
A VGW is an intermediary between AWS Direct Connect connections and your AWS VPCs. You’ll need to create one VGW to complete this setup.
Next, associate the new VGW with your destination AWS VPC. Select the virtual private gateway that you created, and then choose Actions, Attach to VPC.
Select your VPC from the list and choose Yes, Attach. Once completed, you should see the output in the image above.
You won’t be able to move on to step 3 before Telnyx completes the initial setup described in step 1. If there are no pending connections as described in step 3 after one business day, please contact [email protected].
Accept Pending Direct Connect Connections
Now that the VGW is created, the Direct Connect connections need to be accepted. If you requested a backup link, you’ll see two pending connections in this step. Otherwise, there will only be one.
You should see one or two connections pending acceptance (see image above).
Expand each connection, select I understand that Direct Connect port charges apply once I click Accept Connection, and then choose Accept Connection.
Once the connections are completed, your output should show each connection as available.
Create One Virtual Interface Per Circuit
Virtual interfaces are where the Layer 3 addressing and BGP details will be completed. Some of the information required below will be provided by Telnyx via email. Those fields are indicated below. If you were able to complete step 3, but haven't received this info yet, please reach out to Telnyx support.
In the navigation pane, choose Connections, select the first newly accepted connection, and then choose Actions, Create Virtual Interface.
Complete the form pictured above.
Required Fields:
Public or Private: Use "Private." Virtual Interface Name: use the connection ID for easy identification. Your router peer IP: “Telnyx IP” as provided in Telnyx support email. Amazon router peer IP: “Customer IP” as provided in Telnyx support email. BGP ASN: provided in Telnyx support email. BGP Authentication Key: provided in Telnyx support email.
If you requested a redundant backup link and accepted two connections in step 3, repeat these steps for that second connection.
Enable Route Propagation for VPC Route Tables
After the virtual interfaces have been created, BGP sessions will form with Telnyx, and routing will be in place over the connections. The final step is to ensure route propagation is enabled for the VGW.