Architecture
We will construct the following architecture.
Prerequisites
Create ExpressRoute Circuit
This step is performed on Azure.

Choose the rest of the parameters at your own discretion.

Telnyx Network
This step is performed on Telnyx. If you don’t have a network created already, you may follow this guide to create one.Procedure
Create a VXC resource
This step is performed on Telnyx.request
BGP auth key: If you supply bgp_key_primary, configure the same MD5 key on the Azure ExpressRoute private peering — both peers must use the same key.
Take note of the following info in the response; you will need it later.
idprimary_cloud_ipprimary_bgp_key
Enable Routing
This step is performed on Telnyx. Enable BGP routing to bring up the session and start advertising routes. You must make sure routing is enabled before proceeding to the Azure Private Peering step.request
GET /v2/network_agents_gateway/vxc/{vxc_id} until bgp_enabled is true before proceeding to the next step.
Azure Private Peering
This step is performed on Azure. “Provider status” must show “Provisioned” before performing this step.


After saving, you may need to wait for some time before performing the next step.


Virtual Network

Next, add a Gateway subnet. Keep all parameters as default.

Virtual Network Gateways

The gateway creation will take a while; upward of 20 minutes. In the meantime, you can proceed to the following step.
Virtual Machines


You can keep the rest default or choose at your discretion.
Add Gateway Connection
This step is performed on Azure. The Virtual Gateway you created must be successfully deployed before this step is performed.


Validate Connection
This step is performed on Azure. Ensure all of the following are successfully deployed:- ExpressRoute
- Virtual network
- Virtual network gateway & connection
- Virtual machine
