How to deploy Mediasoup service on Azure?

vsi_pranav 156 Reputation points

Hello, I am having some doubts. If you know anything regarding following issues, kindly please help.

  1. Currently, I have Mediasoup streaming service application deployed on AWS lambda instance with Linux system.
    Now I want to shift the service from AWS to Azure. The requirement is: I should be able to created and destroy multiple Linux instances on the go. For eg. Currently the application can handle 100 users and if I want to scale up to 500-1000 users then, I need to dynamically create 5 instances and destroy them once the task is completed. Please suggest me the suitable AWS Lambda equivalent service for Azure and good way to do this.

2) I have AppService and Azure SQL server instance running on Azure where the .Net Application is running. The mediasoup streaming service needs to communicate with the AppService and the SQL database. How can this be done?

3) Also, mediasoup server needs to store the streaming data which will be accessed by .Net application from AppService. What is the good way to this? Can it be done using Azure Blob Storage Account?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,547 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,932 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
358 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,175 questions
{count} vote

1 answer

Sort by: Most helpful
  1. vsi_pranav 156 Reputation points


    Update on the question/solution.
    Currently, the best setup we have identified and tried so far is Azure virtual machine scale set. We tried the scale set with the load balancer in front of it but the load balancer has a limitation on the number of inbound rules that can be configured. So we are using scale set without the load balancer. For storage, we are using azure storage account v2.

    Mediasoup documentation has one section on deploying it on the docker container instance. I am yet to try it out. Once I try that, I will update the answer accordingly.


    1 person found this answer helpful.
    0 comments No comments