TheNerdyNerd
TheNerdyNerd

Reputation: 274

Should I use docker with app services rather than app service direct?

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

Answers (1)

SmartCoder
SmartCoder

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

  • You incur lower costs as no windows licensing cost needs to be given
  • Performance increase as linux does not have lot of unwanted baggage

Upvotes: 0

Related Questions