|
| 1 | +--- |
| 2 | +title: Integrate Azure Communication Services with ExpressRoute |
| 3 | +titleSuffix: An Azure Communication Services tutorial |
| 4 | +description: Integrate Azure Communication Services with ExpressRoute to extend your local networks into the Microsoft cloud over a private connection. |
| 5 | +author: hrazi |
| 6 | +manager: mharbut |
| 7 | +services: azure-communication-services |
| 8 | + |
| 9 | +ms.date: 02/01/2025 |
| 10 | +ms.author: harazi |
| 11 | +ms.topic: conceptual |
| 12 | +ms.service: azure-communication-services |
| 13 | +--- |
| 14 | + |
| 15 | +# Integrate Azure Communication Services with ExpressRoute |
| 16 | + |
| 17 | +Azure Communication Services enables developers to integrate voice, video, chat, and SMS capabilities into their applications using cloud-based services. Organizations can use Azure ExpressRoute to establish private, dedicated network connections between their on-premises environments and Azure. This approach enhances the performance, reliability, and security of communication services. |
| 18 | + |
| 19 | +This article describes how to integrate Azure Communication Services with ExpressRoute to extend your local networks into the Microsoft cloud over a private connection. |
| 20 | + |
| 21 | +## Prerequisites |
| 22 | + |
| 23 | +- Azure Subscription: An active Azure account. If you don't have one, [create a free account](https://azure.microsoft.com/free/). |
| 24 | + |
| 25 | +- ExpressRoute Circuit: A configured and operational ExpressRoute circuit. For setup instructions, see [Create and modify an ExpressRoute circuit](/azure/expressroute/expressroute-howto-circuit-portal-resource-manager). |
| 26 | + |
| 27 | +- Azure Communication Services Resource: An instance of Azure Communication Services deployed in your Azure subscription. |
| 28 | + |
| 29 | +- Network Connectivity: Proper network configurations to connect your on-premises environment to Azure via ExpressRoute. |
| 30 | + |
| 31 | +## Benefits of Using ExpressRoute with Azure Communication Services |
| 32 | + |
| 33 | +- **Enhanced Security**: Bypass the public internet to reduce exposure to potential threats. |
| 34 | + |
| 35 | +- **Improved Performance**: Experience lower latency and higher reliability for real-time communication. |
| 36 | + |
| 37 | +- **Consistent Network Throughput**: Benefit from predictable network performance for mission-critical applications. |
| 38 | + |
| 39 | +## Configure ExpressRoute |
| 40 | + |
| 41 | +### 1. Configure ExpressRoute for Microsoft Peering |
| 42 | + |
| 43 | +To enable connectivity to Azure Communication Services, set up Microsoft Peering on your ExpressRoute circuit. |
| 44 | + |
| 45 | +1. Access the Azure portal and navigate to your ExpressRoute circuit. |
| 46 | + |
| 47 | +2. Enable Microsoft Peering: |
| 48 | + |
| 49 | + 2.2. Under the Peerings section, select **+ Add**. |
| 50 | + |
| 51 | + 2.2. Choose **Microsoft Peering** and provide the required information, including your Primary and Secondary Subnets, VLAN ID, and ASNs. |
| 52 | + |
| 53 | +3. Advertise Routes: Make sure that your on-premises network advertises the appropriate routes to Azure services. |
| 54 | + |
| 55 | +For detailed instructions, see [Configure ExpressRoute Microsoft Peering](/azure/expressroute/how-to-routefilter-portal). |
| 56 | + |
| 57 | + ### 2. Apply route filters for Azure Communication Services |
| 58 | + |
| 59 | +Route filters enable you to selectively consume services over ExpressRoute. |
| 60 | + |
| 61 | +1. Create a route filter: |
| 62 | + |
| 63 | + 1.1 In the Azure portal, search for route filters and select + Create. |
| 64 | + |
| 65 | + 1.2. Provide a name, select your subscription and resource group. |
| 66 | + |
| 67 | +2. Add Azure Communication Services to the route filter: |
| 68 | + |
| 69 | + 2.1. After creating the route filter, select Rules and click + Add. |
| 70 | + |
| 71 | + 2.2. Choose Azure Communication Services from the list of services. |
| 72 | + |
| 73 | +3. Associate route filter with ExpressRoute Circuit: |
| 74 | + |
| 75 | + 3.1. Navigate back to your ExpressRoute circuit. |
| 76 | + |
| 77 | + 3.2. Under Peerings, select your Microsoft Peering. |
| 78 | + |
| 79 | + 3.3. Associate the route filter you created. |
| 80 | + |
| 81 | +For more information, see [Configure route filters for Microsoft Peering using Azure portal](/azure/expressroute/how-to-routefilter-portal). |
| 82 | + |
| 83 | +### 3. Configure Network Security |
| 84 | + |
| 85 | +Make sure that your network security policies permit traffic to and from Azure Communication Services. |
| 86 | + |
| 87 | + - Firewall rules: Update on-premises firewall settings to permit Azure Communication Services traffic. |
| 88 | + |
| 89 | + - Network Security Groups (NSGs): Configure NSGs in Azure to permit inbound and outbound communication with your on-premises network. |
| 90 | + |
| 91 | +### 4. Verify Connectivity |
| 92 | + |
| 93 | +- Ping test: From your on-premises environment, perform a ping test to the Azure Communication Services endpoints to verify connectivity. |
| 94 | + |
| 95 | +- Trace route: Use `traceroute` tools to make sure traffic is routing through ExpressRoute. |
| 96 | + |
| 97 | +### 5. Update Application Settings |
| 98 | + |
| 99 | +- Endpoint configuration: Modify your application's configuration to point to the Azure Communication Services endpoints accessible via ExpressRoute. |
| 100 | + |
| 101 | +- SDK settings: If using Azure Communication Services SDKs, ensure they're configured to use the private endpoints. |
| 102 | + |
| 103 | +### Considerations |
| 104 | + |
| 105 | +- Supported regions: Verify that Azure Communication Services is available in your desired region and supports ExpressRoute connectivity. |
| 106 | + |
| 107 | +- Bandwidth requirements: Assess your bandwidth needs to ensure your ExpressRoute circuit can handle the communication load. |
| 108 | + |
| 109 | +## Troubleshooting |
| 110 | + |
| 111 | +- Connectivity Issues: If you can't connect to Azure Communication Services over ExpressRoute, verify your route filters and peering configurations. |
| 112 | + |
| 113 | +- Authentication Failures: Ensure that your authentication tokens and keys for Azure Communication Services are correctly configured and not expired. |
| 114 | + |
| 115 | +## Frequently Asked Questions |
| 116 | + |
| 117 | +### Can I use ExpressRoute with Azure Communication Services for all communication modes? |
| 118 | + |
| 119 | +No, ExpressRoute currently supports only voice mode by [Direct Routing](../concepts/telephony/direct-routing-provisioning.md) and [video communication](../concepts/voice-video-calling/calling-sdk-features.md) mode. |
| 120 | + |
| 121 | +### Is there an added cost for using ExpressRoute with Azure Communication Services? |
| 122 | + |
| 123 | +Not directly. While there's no added cost from Azure Communication Services for using ExpressRoute, there are costs associated with provisioning and using an ExpressRoute circuit. For more information, see [ExpressRoute pricing](/pricing/details/expressroute/). |
| 124 | + |
| 125 | +### How does ExpressRoute affect the latency of communication services? |
| 126 | + |
| 127 | +ExpressRoute provides [lower and more consistent latency compared to typical internet connections](/azure/expressroute/expressroute-faqs#what-are-the-benefits-of-using-expressroute-and-private-network-connections), which can enhance the performance of real-time communication applications. |
| 128 | + |
| 129 | +## Related articles |
| 130 | + |
| 131 | +- [Azure Communication Services Overview](../overview.md) |
| 132 | +- [What is Azure ExpressRoute](/azure/expressroute/expressroute-introduction) |
| 133 | +- [Azure Communication Services Network recommendations](../concepts/voice-video-calling/network-requirements.md) |
0 commit comments