windows azure web sites: under the hood. what we will cover… general overview (a marketing...
DESCRIPTION
What we will cover… General Overview (a marketing necessity) Demo Architecture Configurations Demo Scale DemoTRANSCRIPT
LEARN WINDOW
S AZURE
Windows Azure Web Sites: Under The HoodYochay Kiriaty [email protected]@yochayk
Craig Kitterman [email protected]@craigkittermanhttp://craig.kitterman.net
AZR305
LEARN WINDOWS AZURE
Today’s AgendaWhat we will cover…General Overview (a marketing necessity)DemoArchitectureConfigurationsDemoScale Demo
Web Sites In SecondsAs Powerful As You Need Them To Be
Start Simplestart free, scale up and out
as you go, friction-free and without the headaches
Be Brilliantwith asp.net, php or node.js, develop on Windows, OSX or Linux
Go Livedeploy live in seconds, easily monitor performance, rapidly diagnose and fix issues
demoHello Web Sites And Then Some
Cloud First by DesignSQL based configurationDynamic provisioning of sites on demandNetwork Storage (Azure xDrive, SMB, NAS, SAN)Stateless web servers (no synchronization required)Intelligent load balancing
How Does It Work
Azure LB
Runtime DB
Storage Controller
IIS ARR(LB)
Web Server
Web SiteDB
1
2
3
4
5
5
5
5
1. Request for a foo.com arrives to ARR/Load Balancer
2. ARR gets info from Runtime DB about foo.com and determines which Web server(s)) should host the site.
(Antares is actively monitoring all Web Servers in the farm..
3. ARR forwards request to the designated web Server
4. Web Server provisions site * de-provision inactive sites
5. Web Server executes request accessing site’s content and site’s DB
Request Process Flow – Inactive Site (Cold Site)
Azure LB
Storage Controller
IIS ARR(LB)
Web Server
Web SiteDB
1 2
3
3
3
3
1. Request for a foo.com arrives to ARR/Load Balancer, which already “familiar” with foo.com 2. ARR “remembers” foo.com and route the request to the right web Server(s).
* Subsequent requests to this site get routed to a Web Server that has the site provisioned.
3. Web Server executes request accessing site’s content and site’s DB
Request Process Flow – Active Site (Hot Site)
Azure LB
Runtime DB
Storage Controller
IIS ARR(LB)
Web Server
Cloud Drive Deploymen
t Server(s)
Web Sites DBs
All DBs are running on SQL Azure
Azure Blobs as durable storage
Windows Azure Worker Roles
Antares on Windows Azure Block Diagram
API Frontend
Runtime DB
Azure LB
Storage Controller
IIS ARR(LB)
Web Server
Cloud DriveDeploymen
t Server(s)
Web Sites DBs
All DBs are running on SQL Azure
Azure Blobs as durable storage
Windows Azure Worker Roles
API Frontend
Metering
DWAS
Site (W3WP.exe)Site (W3WP.exe)Site (W3WP.exe)
Monitor resources usage
Dynamic Web Activation ServiceW3WP.exe IIS Application Pool Process
Antares on Windows Azure Block Diagram
Web Server Internals
DWAS (Dynamic Activation Service)
Config and files – “Change Notifications”Quota Enforcement
Site Activation / deactivation
Monitoring Agent
Errors and logging
Resource consumption
“Modified” Web Server
Central data store (SQL Server, SQL-Azure)
Web Sites Data
Hosting plans
How It Works
Web Servers Monitor / Stats
Changing Application Configuration on the Fly
Dynamic App Settings
1shared reserved
SHARED INSTANCES
:-)
shared
web sites
2SHARED INSTANCES
:-):-)
shared
web sites shared reserved
shared reserved
SHARED INSTANCES
:-)
1RESERVED INSTANCE
:-):-)
0reserved
web sites
2RESERVED INSTANCE
:-)RESERVED INSTANCE
:-)
reserved
web sites shared reserved
2RESERVED INSTANCE
:-)RESERVED INSTANCE
:-):-):-) :-)
:-):-) :-)
reserved
web sites shared reserved
Scale Demo
Web Sites In SecondsAs Powerful As You Need Them To Be
Start Simplestart free, scale up and out
as you go, friction-free and without the headaches
Be Brilliantwith asp.net, php or node.js, develop on Windows, OSX or Linux
Go Livedeploy live in seconds, easily monitor performance, rapidly diagnose and fix issues
Q&AYochay [email protected]@yochayk
Craig [email protected] @craigkitterman
Track Resources
Meetwindowsazure.com
@WindowsAzure @ms_teched
DOWNLOAD Windows Azure
Windowsazure.com/teched
Hands-On Labs
Resources
Connect. Share. Discuss.http://northamerica.msteched.com
Learning
Microsoft Certification & Training Resourceswww.microsoft.com/learning
TechNet
Resources for IT Professionalshttp://microsoft.com/technet
Resources for Developershttp://microsoft.com/msdn
Complete an evaluation on CommNet and enter to win!
MS Tag
Scan the Tagto evaluate thissession now onmyTechEd Mobile
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to
be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS
PRESENTATION.
Popular open source appsLaunch a professional looking site with a few clicks using apps like WordPress, Joomla!, Drupal, DotNetNuke and Umbraco
Continuous developmentDeploy directly from your source code repository, using Git or Team Foundation Service.
Modern web appsPerfect if your app consists of client side markup and scripting, server side scripting and a database. Powerful capability to scale out and up as needed.
Application ScenariosWindows Azure Web Sites are ideal for:
Apps that require advanced administrationCloud-based applications that require admin access, remote desktop access or elevated permissions
Windows Azure Cloud Services (Web Role) are ideal for:Multi-tier applicationsCloud-based applications that separate application logic into multiple tiers (i.e. caching middle tier, asynchronous background processes like order processing) using both Web and Worker Roles
Apps that require advanced networkingCloud-based applications that require network isolation for use with Windows Azure Connect or Windows Azure Virtual Network
Porting existing line of business appsChoose an image from the library or upload your own VHD.
Enterprise server applicationsRun your existing enterprise applications in the cloud, such as SQL Server, SharePoint Server or Active Directory.
Windows or Linux operating system Support for Windows Server, along with community and commercial versions of Linux. Connect virtual machines with cloud services to take full advantage of PaaS services.
Windows Azure Virtual Machines are ideal for:
Languages & Frameworks .Net Node.js PHP Python (Coming Soon)
01010111001010101010001010100011101010100101
01010111001010101010001010100011101010100101
01010111001010101010001010100011101010100101
Supported Deployment ProtocolsGIT : FTP
Azure Pricing and Offer (for Preview)Shared Instances Reserved InstancesPrice FREE for 12 months Azure S,M,L instances at 33% discount
Number of Sites Up to 10 Up to 100Maximum Scale 3 instances 3 instances
Storage 1GB (shared by all sites) 10GB (shared by all sites) Storage Transactions
Unlimited (abstracted by storage subsystem) Unlimited (abstracted by storage subsystem)
SQL Database Standard SQL Database Standard SQL Database
MySQL Includes one 20MB database Includes one 20MB databaseTBD beyond 20MB
Bandwidth Ingress – UnlimitedEgress – 165MB/day (5GB/month)
Ingress – UnlimitedEgress – Azure bandwidth rates (above 5GB/month)
Custom Domains Not Available SupportedSLA None NoneSupport FAQ, Forum Email, Phone, FAQ, and Forum
Reserved Instance DetailsWindows Azure Web SitesSupports Various Reserved Instance SizesReserved Instances for Windows Azure Web Sites the same as Cloud Apps Instances except for Extra Small and Extra Large (for Preview)Balance of Performance per node vs. High Availability from multiple nodes
Small 1 1.7GB .12Medium 2 3.5GB .24Large 4 7GB .48
33% discount for preview
Popular open source appsLaunch a professional looking site with a few clicks using apps like WordPress, Joomla!, Drupal, DotNetNuke and Umbraco
Porting existing web sitesPopular languages and frameworks are preinstalled. No need to change your code to scale.
Web appsPerfect if your app consists of client side markup and scripting, server side scripting and a database
Application ScenariosWindows Azure Web Sites are ideal for:
Apps that require advanced administrationCloud-based applications that require admin access, remote desktop access or elevated permissions
Windows Azure Cloud Apps (Web Role) are
ideal for:Multi-tier applicationsCloud-based applications that separate application logic into multiple tiers (i.e. asynchronous background processes like order processing) using both Web and Worker Roles
Apps that require advanced networkingCloud-based applications that require network isolation for use with Windows Azure Connect or Windows Azure Virtual Network
Web RoleWeb Sites
* Cloud Apps (Web or Worker roles) can integrate with ClearDB’s MySQL as a Service via connection string through the Marketplace but not via seamless portal/provisioning workflow
Access to services like Caching, Service Bus, Storage, SQL Database
Supports ASP.NET, classic ASP, Node.js, PHPShared content and configuration
GIT, FTPNear-instant deployment
Integrated MySQL as a service supportEnvironments/Staging
Network isolationRemote desktop access
Elevated permissionsStart-up tasks
Unsupported frameworks or librariesService Model
Windows Azure Connect/ Windows Azure Network
*
Capabilities vs.