Need advice on deploying Azure container instances that can be instantiated from App service and have multiple instances as needed.

Evan Wellens 66 Reputation points
2023-04-21T19:40:05.95+00:00

I want a web endpoint (app service ) that can start and communicate with Azure container instance. So a request comes in to start a session , ACI spins up , the client gets some session id for that instance, then when session ends the aci can be shut down. Multiple simultaneous clients/aci's would need to be supported. Thx for any advice !!

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
654 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,000 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,050 questions
0 comments No comments
{count} votes

Accepted answer
  1. brtrach-MSFT 15,356 Reputation points Microsoft Employee
    2023-04-22T03:43:07.3466667+00:00

    To deploy Azure Container Instances that can be instantiated from App Service and have multiple instances as needed, you can use Azure Container Apps. Azure Container Apps is a fully managed service that allows you to deploy and manage containerized applications without having to manage the underlying infrastructure. With Azure Container Apps, you can create a multi-container app that includes both your App Service and your ACI instances. You can then use the Azure Container Apps API to start and stop your ACI instances as needed. Here's an example of how you can use Azure Container Apps to achieve your goal:

    1. Create a multi-container app that includes your App Service and your ACI instances. You can use a Docker Compose file to define your multi-container app.
    2. Deploy your multi-container app to Azure Container Apps.
    3. Use the Azure Container Apps API to start and stop your ACI instances as needed. You can use the API to start an ACI instance when a session starts and stop the ACI instance when the session ends.
    4. Use the Azure Container Apps API to manage multiple simultaneous ACI instances. You can use the API to start and stop multiple ACI instances as needed to support multiple simultaneous clients. I hope this helps! Let me know if you have any further questions.

0 additional answers

Sort by: Most helpful