Azure Boot Camp Building, Deploying, and Managing Windows Azure Applications Wely Lau Microsoft MVP, Windows Azure Solutions Architect, NCS Pte Ltd Email : [email protected]Blog: http://wely-lau.net/ (Adapted from Jim Nakashima’s session in PDC2010)
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Azure Boot Camp
Building, Deploying, and Managing Windows Azure Applications
Wely LauMicrosoft MVP, Windows AzureSolutions Architect, NCS Pte Ltd
Setting up the cloudDeploying to the cloudViewing into the cloud
New release New relea
se
Azure Boot Camp
Setting up the Cloud
Azure Boot Camp
demo
Creating and Managing Windows Azure Services and SQL Azure Databases
Azure Boot Camp
Creating and Managing Services & Databases
Windows Azure Tools for Microsoft Visual Studio
Free Add-in for Visual Studio 2010Updating content without stopping debuggingIntelliTrace on F5 local debugging (32-bit)Improved F5 performance
Redesigned PortalImproved workflows – fewer clicks and less waitingManagement console
SSMS, sqlcmd, Data Tier Application and other SQL Server tools for SQL Azure
New relea
se
New relea
se
Azure Boot Camp
Deploying to the Cloud
Azure Boot Camp
Deploying to the Cloud
Create a new deployment:Visual StudioWindows Azure PortalCommand line and Powershell
Built using the Service Management REST API
VIP is assigned during deployment
Azure Boot Camp
Updating a Deployment in the Cloud
Update the service configuration fileDeveloper web deploy to a single instanceUpgrade a role or all roles
Reuse existing instancesDeploy and VIP Swap or “DNS Swap”Delete and DeployOS update
Azure Boot Camp
Update Considerations
VIP swap Easier to undoRequires 2 identical environmentsCannot update endpoints
UpgradeReuses existing VMs (Preserves VM state i.e. local cache data)Can update a single roleCannot change the service definitionNot as good for the front end
Requires compatibility between existing and new deployment
Azure Boot Camp
Update Considerations
“DNS Swap”:Requires your own domain nameUpdating the domain record is not immediateNew VIP
Delete/recreate:Down time between deploymentsNew VIP
Azure Boot Camp
Hosted Web Core VS Full IIS
Hosted Web Core (HWC)Web Role did not actually run full IIS. It used a component called Hosted Web Core, the core engine for serving up web pages that can be hosted in a different process.
Decoupled from the role process – i.e. starts before and will not exit with the role processCan collect data if the role failed to start or if the role is restarting
Same configuration and API for VM roles
Azure Boot Camp
SQL Distributed Management Views
Interesting data can be retrieved using dynamic management views. SQL Azure supports a subset
Returns information regarding your current logical database only
Common scenarios:Calculate database sizeMonitoring connections (active user and internal tasks)Monitoring Query Performance
Monitoring SQL Azure Using Dynamic Management Views