What is the difference between an Azure Web Site and an Azure Web Role -
what material differences between new azure web sites , traditional azure web roles asp.net mvc application? reason choose "web site" on "web role" or vice versa?
let's assume need equal capacity in either case (e.g. 2 small instances). prices seem comparable other fact there 33% temporary discount web sites while in preview period.
are there things can "web site" difficulty or impossible web role? example, become easy put multiple web sites in single set of vms using "web sites"? lose "web site" vs "web role"? ability fine tune iis? ability use cache service locally?
web roles give several features beyond web apps (formerly web sites):
- ability run elevated startup scripts install apps, modify registry settings, install performance counters, fine-tune iis, etc.
- ability split app tiers (maybe web role front end, worker role backend processing) , scale independently
- ability rdp vm debugging purposes
- network isolation
- dedicated virtual ip address, allows web role instances in cloud service access ip-restricted virtual machines
- acl-restricted endpoints (added in azure sdk 2.3, april 2014)
- support tcp/udp ports (web sites restricted tcp 80/443)
web apps have advantages on web roles though:
- near-instant deployment deployment history / rollbacks
- visual studio online, github, local git, ftp, codeplex, dropbox, bitbucket deployment support
- ability roll out 1 of numerous cms's , frameworks, (like wordpress, joomla, django, mediawiki, etc.)
- use of sql database or mysql
- simple , fast scale free tier shared tier dedicated tier
- web jobs
- backups of web site content
- built-in web-based debugging tools (simple cmd/powershell debug console, process explorer, diagnostic tools log streaming, etc.)
with april 2014 , september 2014 rollouts, there features common both web apps , web roles (and worker roles), including:
- staging+production slots
- wildcard dns, ssl certificates
- visual studio integration
- traffic manager support
- virtual network support
here's screengrab took web sites gallery selection form: 
i think web apps great way , running quickly, can move shared reserved resources. once outgrow this, can move web roles , expand need.
Comments
Post a Comment