Deploying Mediasoup-WebRTC application on azure.

vsi_pranav 161 Reputation points
2021-05-12T09:45:05.353+00:00

Hello,

I have a mediasoup-webrtc application for video-streaming which I want to deploy on the Azure infrastructure. Currently I have deployed it on the Azure Virtual Machine Scale Set which is placed behind the Load Balancer. This application requires large number of UDP ports open (for e.g. in our case 3000 UDP ports open) and eventually the rules for these ports must be configured in the load balancer. But it seems load balancer can only allow 300 rules configured which is also a costly solution and hence only 300 users can connect to the streaming, where we want more number of users to connect to the application.

Kindly please suggest a good way and infrastructure to deploy the application.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,762 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
506 questions
0 comments No comments
{count} votes

Accepted answer
  1. TravisCragg-MSFT 5,696 Reputation points Microsoft Employee Moderator
    2021-05-14T19:24:41.79+00:00

    Unfortunately Azure Load Balancer can only specify one inbound port per load balancing rule. Each Standard Load Balancer can have up to 1,500 rules but each NIC can only have 300 rules.

    Does your application need to both send and receive across 3000 UDP ports? If your VMs only need outbound UDP across 3000 ports, then this should not be an issue with default outbound connectivity.

    If you do need inbound load balancing across 3000 UDP ports, then Azure Load Balancer might not be the best load balancing solution for you.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.