I’ve developed a .NET solution that includes three modules: Basket, Catalog, and Discount. Locally, I can successfully run the solution using Visual Studio and Docker Compose without any issues. However, I’m facing challenges while trying to deploy it to Azure.
The solution is designed with a modular monolithic architecture, and here’s what I’ve considered for deployment:
App Service or Virtual Machine: Seems suitable for a traditional monolithic architecture.
Multiple App Services, a Scale Set, or Kubernetes Cluster: Could work for microservices, but my architecture isn’t quite a set of loosely coupled microservices.
When I attempted to deploy the solution as a monolithic application using an Azure App Service configured with Docker Compose, I ran into a problem: Azure App Service allows exposing only one web service or web module via Docker Compose, which isn’t sufficient for my multi-module setup.
- How can I successfully deploy this modular monolithic .NET solution to Azure?
- Is there a way to configure Azure App Service to support multiple services in Docker Compose, or should I consider a different Azure service that better fits this architecture?
Any advice or pointers towards the right Azure services and configuration strategies would be greatly appreciated!
Thank you.