Web App deployment - Azure vs Docker
I'm still new to deployment choices. I have explored for few days and still fail to understand something. What is the benefit for a dotnet web app to use container, comparing to azure webapp?
I always curious how to manage multiple 'containers' effectively, on Azure you can create multiple webapp with one service plan, and docker can run multiple instances in a virtual machine. Good thing about docker is I can make it everywhere, aws, azure, even locally (I can debug real fast).
I find MySQL in dockers is very easy to use and vm with ssd isn't expensive (~$10 only for lowest tier on azure), I can run many small ones with $10. I can't do that with the MySQL on Azure since cheapest already around $25/instance.
But for dotnet app.. I need to put all source code to cloud, recompile everytime and swap the container. With webapp I can just publish. The magic part done by azure and VS is it detect changes and only upload compiled dll file, which is much faster.
Is that for dot net webapp Azure Web App is the fastest & best way to publish? then what is the purpose for the existance of dotnet containers? Thanks!
TL;DR: If azure web app is the best choice for dotnet web deployment then what is the reason for existance of dotnet docker containers?
0 comments:
Post a Comment