WINDOWS AZURE
WEBSITES
Global Windows Azure Boot Camp – 29 March 2014
AGENDA
• Azure Web Sites Overview
• What is Azure Web Sites?
• What is it best suited for?
• What is it not about?
• How does it work?
• Tools
• Supported Web Frameworks
• Continuous Deployment
• Scaling
• Thank You
ROLE FOR WINDOWS AZURE WEB
SITES WITH CD
WHAT IS AZURE WEB SITES
WHAT IS AZURE WEB SITES
WebSites
CloudServices
VirtualMachines
Applications
Data
Firewall Rules
Virtual
Network
O/S
Applications
Data
Firewall Rules
Virtual
Network
Applications
Data
WHAT IS IT BEST SUITED FOR?
• Best for standalone web apps & web services
• Digital Campaigns
• Social Apps
• Gaming front-ends
• Mobile App supporting services
• Corporate websites
• Brand websites
• Multiple blogging sites
WHAT IS IT NOT ABOUT?
• Background Services (e.g. Windows Services)
• Operating System Access
• File System Access
• Unsupported programming language
• Web App Memory/CPU > VM Limits
HOW IT WORKS?
All DBs are running
on SQL Azure.
Azure blobs as
durable storage.
Windows Azure
worker roles.
Monitor
resources usage.
Dynamic web
activation service.
W3WP.exe IIS
application
pool process.
Azure LB
IIS ARR (LB)
Deployment
server(s)
API frontend
Web server
Storage controller
Site
(W3WP.exe)
Metering
DWAS
Runtime DB
Web Sites DB‟s
Cloud drive
HTTP WebWork
er
WebWork
er
WebWorker
Frontend
(IIS ARR)
SQL Azure VHD blobs
SQL Azure / MySQL / Mongo
API endpoint
Publish
endpoint
File Server
WebWorker
SERVING HTTP(S) TRAFFIC – INACTIVE SITE („COLD‟ SITE)
http://site1..../
HTTP Frontend
(IIS ARR)
SQLAzure VHD blobs
SQLAzure
API
endpoint
Publish
endpoint
FileServer
SERVING HTTP(S) TRAFFIC – INACTIVE SITE („COLD‟ SITE)
http://site1..../
WebWorker
site1site1
HTTP WebWork
er
WebWork
er
WebWorker
SQLAzure VHD blobs
SQLAzure
API
endpoint
Publish
endpoint
FileServer
SERVING HTTP(S) TRAFFIC – ACTIVE SITE („HOT‟ SITE)
http://site1..../
WebWorker
Frontend
(IIS ARR)
TOOLS – SUPPORTED WEB
FRAMEWORKS
• Web Matrix for Windows Azure
• Free
• Multi language – PHP & Node.js
• Visual Studio 2013
• Complete end to end tool
• Extensions http://vswebessentials.com
• Visual Studio Online Monaco
• New
• Online
• Low cost
• PowerShell Commands
DEMO
Time for demo
CONTINUOUS DEPLOYMENT -
PUBLISHING METHOD
CONTINUOUS DEPLOYMENT -
BACKGROUND
• Kudu – an internal deployment engine – “watches” for check-ins
• An automated build is completed
• KuduSync kicks in
• The deployment is created in your website‟s folder structure
• The new deployment is copied to your site‟s root, leaving old deployments intact
• It‟s an open source project available on GitHub
• Automatically installed on all Windows Azure Web Sites
• Can use a custom deployment script
CONTINUOUS DEPLOYMENT - SERVICE
HOOKS
• Executed whenever a deployment via Git, Mercurial or DropBox is
completed
• Retrieved from your configuration settings in the dashboard
• Can participate in trigger-action scenarios
Multi-tenant. Daily quotas
Multi-tenant. Daily quotas
Dedicated VMs. No quotas
QUESTION
1. Social Apps
2. Gaming front-ends
3. File System Access
4. Mobile App supporting services
5. Corporate websites
Which one of the below is not an option for
Azure Web Site?
THANK YOU
Azure UG

Azure Websites

  • 1.
    WINDOWS AZURE WEBSITES Global WindowsAzure Boot Camp – 29 March 2014
  • 2.
    AGENDA • Azure WebSites Overview • What is Azure Web Sites? • What is it best suited for? • What is it not about? • How does it work? • Tools • Supported Web Frameworks • Continuous Deployment • Scaling • Thank You
  • 3.
    ROLE FOR WINDOWSAZURE WEB SITES WITH CD
  • 4.
    WHAT IS AZUREWEB SITES
  • 5.
    WHAT IS AZUREWEB SITES WebSites CloudServices VirtualMachines Applications Data Firewall Rules Virtual Network O/S Applications Data Firewall Rules Virtual Network Applications Data
  • 6.
    WHAT IS ITBEST SUITED FOR? • Best for standalone web apps & web services • Digital Campaigns • Social Apps • Gaming front-ends • Mobile App supporting services • Corporate websites • Brand websites • Multiple blogging sites
  • 7.
    WHAT IS ITNOT ABOUT? • Background Services (e.g. Windows Services) • Operating System Access • File System Access • Unsupported programming language • Web App Memory/CPU > VM Limits
  • 8.
    HOW IT WORKS? AllDBs are running on SQL Azure. Azure blobs as durable storage. Windows Azure worker roles. Monitor resources usage. Dynamic web activation service. W3WP.exe IIS application pool process. Azure LB IIS ARR (LB) Deployment server(s) API frontend Web server Storage controller Site (W3WP.exe) Metering DWAS Runtime DB Web Sites DB‟s Cloud drive
  • 9.
    HTTP WebWork er WebWork er WebWorker Frontend (IIS ARR) SQLAzure VHD blobs SQL Azure / MySQL / Mongo API endpoint Publish endpoint File Server WebWorker SERVING HTTP(S) TRAFFIC – INACTIVE SITE („COLD‟ SITE) http://site1..../
  • 10.
    HTTP Frontend (IIS ARR) SQLAzureVHD blobs SQLAzure API endpoint Publish endpoint FileServer SERVING HTTP(S) TRAFFIC – INACTIVE SITE („COLD‟ SITE) http://site1..../ WebWorker site1site1
  • 11.
    HTTP WebWork er WebWork er WebWorker SQLAzure VHDblobs SQLAzure API endpoint Publish endpoint FileServer SERVING HTTP(S) TRAFFIC – ACTIVE SITE („HOT‟ SITE) http://site1..../ WebWorker Frontend (IIS ARR)
  • 12.
    TOOLS – SUPPORTEDWEB FRAMEWORKS • Web Matrix for Windows Azure • Free • Multi language – PHP & Node.js • Visual Studio 2013 • Complete end to end tool • Extensions http://vswebessentials.com • Visual Studio Online Monaco • New • Online • Low cost • PowerShell Commands
  • 13.
  • 14.
  • 15.
    CONTINUOUS DEPLOYMENT - BACKGROUND •Kudu – an internal deployment engine – “watches” for check-ins • An automated build is completed • KuduSync kicks in • The deployment is created in your website‟s folder structure • The new deployment is copied to your site‟s root, leaving old deployments intact • It‟s an open source project available on GitHub • Automatically installed on all Windows Azure Web Sites • Can use a custom deployment script
  • 16.
    CONTINUOUS DEPLOYMENT -SERVICE HOOKS • Executed whenever a deployment via Git, Mercurial or DropBox is completed • Retrieved from your configuration settings in the dashboard • Can participate in trigger-action scenarios
  • 17.
    Multi-tenant. Daily quotas Multi-tenant.Daily quotas Dedicated VMs. No quotas
  • 18.
    QUESTION 1. Social Apps 2.Gaming front-ends 3. File System Access 4. Mobile App supporting services 5. Corporate websites Which one of the below is not an option for Azure Web Site?
  • 19.