Reputation: 274
I am new to the world of docker and azure app services.
Proposed by a colleague:
ASP.net core app --> Create docker image --> Azure container registry --> Azure App service.
My experience:
ASP.net core app --> Deploy to Azure App service
We have been recommended to use a container with an app service layer on the top of this container.
I was wondering what are the main benefits of doing this rather than just deploying an app service direct?
With the app service we can scale out, scale up, add a load balancer use web api management etc, but not clear why I would add another layer but placing a container under it?
The app itself is a simple API asp.net core application - we have separated out the SQL server part into PaaS SQL.
Any guidance would be great as to the reasons.
Upvotes: 3
Views: 1034
Reputation: 1032
If you are deploying as windows container, then I don't see benefit. In my opinion, it will actually lead to unnecessary complexity
If you are deploying as linux container, then there are couple of advantages
Upvotes: 0