SlideShare a Scribd company logo
Building, Deploying, and Managing Windows Azure Applications(Adapted from Jim Nakashima’s session in PDC2010)Wely LauMicrosoft MVP, Windows AzureSolutions Architect, NCS Pte LtdEmail : wely@ncs.com.sgBlog: http://wely-lau.net/
This talk is for developers.ON
Composition
AgendaSetting up the cloudDeploying to the cloudViewing into the cloudNew release New release
Setting up the Cloud
demo Creating and Managing Windows Azure Services and SQL Azure Databases
Creating and Managing Services & DatabasesWindows Azure Tools for Microsoft Visual StudioFree Add-in for Visual Studio 2010Updating content without stopping debuggingIntelliTrace on F5 local debugging (32-bit)Improved F5 performanceRedesigned PortalImproved workflows – fewer clicks and less waitingManagement consoleSSMS, sqlcmd, Data Tier Application and other SQL Server tools for SQL AzureNew releaseNew release
Deploying to the Cloud
Deploying to the CloudCreate a new deployment:Visual StudioWindows Azure PortalCommand line and PowershellBuilt using the Service Management REST APIVIP is assigned during deployment
Updating a Deployment in the CloudUpdate the service configuration fileDeveloper web deploy to a single instanceUpgrade a role or all rolesReuse existing instancesDeploy and VIP Swap or “DNS Swap”Delete and DeployOS update
Update Considerations VIP swap Easier to undoRequires 2 identical environmentsCannot update endpointsUpgradeReuses 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
Update Considerations “DNS Swap”:Requires your own domain nameUpdating the domain record is not immediateNew VIPDelete/recreate:Down time between deploymentsNew VIP
Hosted Web Core VS Full IISHosted 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.Learn more: http://blogs.msdn.com/b/windowsazure/archive/2010/12/02/new-full-iis-capabilities-differences-from-hosted-web-core.aspx
Multiple IIS Sites and Virtual ApplicationsUpcoming release uses full IIS and not Hosted Web CoreAdd multiple IIS sites and Virtual applications per Web Role in the service definition fileNew release
Multiple IIS Sites and Virtual ApplicationsUpcoming release uses full IIS and not Hosted Web CoreAdd multiple IIS sites and Virtual applications per Web Role in the service definition fileManual debugger attach and browser launchNew release
Adding an IIS Site and Virtual Application to a Web RoleServiceDefinition.csdef<WebRole name="WebRole1">    <Sites>      <Site name="Web"><VirtualApplication name="mail" physicalDirectory="C:\Users\jnak\Desktop\Scratch\WebSite"/>        <Bindings>          <Binding name="HttpIn" endpointName="HttpIn" />        </Bindings>      </Site><Site name="PDC" physicalDirectory="C:\Users\jnak\Desktop\Scratch\SecondWebSite"><Bindings>          <Binding name="HttpIn" endpointName="HttpIn" hostHeader=“pdctest" />        </Bindings>      </Site>    </Sites>
Viewing into the Cloud
How can you see into the cloud?New releaseRemote DesktopIntelliTraceWindows Azure DiagnosticsSQL Distributed Management ViewsWindows Azure Storage ViewersMost SQL Server Tools
demo Remote Desktop
Remote DesktopEnable as a deployment option in Visual StudioUse the Portal to:Deploy an exported certificateConnect to an instanceAdvanced options are available by editing the Service Definition and Service Configuration filesDesignate one role as the remote forwarder
Windows Azure DiagnosticsFacility that collects diagnostic data from your instances and copies it to a storage accountIIS logs, trace logs, IIS failed request logs, Windows Event logs, Performance counters and crash dumpsTransfer the diagnostic data to a storage accountData is collected locally to each instanceTransfer On Demand or at automatic scheduled intervalsConfigure diagnostics and transfers programmatically from within the role or remotely through a .NET APIWindows Azure Monitoring, Logging, and Management APIs
What’s New in DiagnosticsEnabled as an option and not programmaticallyDecoupled 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 restartingSame configuration and API for VM roles
SQL Distributed Management ViewsInteresting data can be retrieved using dynamic management views.  SQL Azure supports a subsetReturns information regarding your current logical database onlyCommon scenarios:Calculate database sizeMonitoring connections (active user and internal tasks)Monitoring Query PerformanceMonitoring SQL Azure Using Dynamic Management Views
RecapSetting up the cloudDeploying to the cloudViewing into the cloud
ResourcesCloudy in Seattle blog: http://blogs.msdn.com/jnakSamplesWindows Azure Code SamplesWindows Azure Service Management CmdLetsRelated videos:Windows Azure Monitoring, Logging, and Management APIsUsing Microsoft Visual Studio 2010 to Build Application that run on Windows Azure
Wely LauMicrosoft MVP, Windows AzureSolutions Architect, NCS Pte LtdEmail : wely@ncs.com.sgBlog: http://wely-lau.net/Thank you!

More Related Content

PPTX
Azure AD connect- Deep Dive Webinar PPT
PPTX
Tspug 2015 dirsync_amit_v_momentum
PPTX
Azure AD Connect
PPTX
Go…Running Kentico CMS on Windows Azure
PDF
Using Windows Azure for Solving Identity Management Challenges (Visual Studio...
PPTX
Using Windows Azure for Solving Identity Management Challenges
PPTX
What's New for the Windows Azure Developer? Lots! (July 2013)
PPTX
MSDN - Converting an existing ASP.NET application to Windows Azure
Azure AD connect- Deep Dive Webinar PPT
Tspug 2015 dirsync_amit_v_momentum
Azure AD Connect
Go…Running Kentico CMS on Windows Azure
Using Windows Azure for Solving Identity Management Challenges (Visual Studio...
Using Windows Azure for Solving Identity Management Challenges
What's New for the Windows Azure Developer? Lots! (July 2013)
MSDN - Converting an existing ASP.NET application to Windows Azure

What's hot (20)

PPTX
Put Your Existing Application On Windows Azure
PPTX
Building & managing wa app wely
PPTX
Programming Azure Active Directory (DevLink 2014)
PPTX
Automating Azure VMs with PowerShell
PPTX
Windows azure mobile services from start to rest
PPTX
Windows Azure Mobile Services - The Perfect Partner
PPTX
Azure in Developer Perspective
PPTX
2 Speed IT powered by Microsoft Azure and Minecraft
PDF
01_SQL Migration Using Azure Data Migration Services (DMS)_GAB2019
PPTX
Migrating Apps To Azure
PPTX
BizSpark Startup Night Windows Azure March 29, 2011
PDF
Understanding Azure AD Webinar Presentation
PDF
Azure Cloud Dev Camp - App Platform
PDF
Drupal on windows azure
PDF
Deploying asp.net and mvc applications to azure
PPTX
Mobile Services for Windows Azure
PPTX
Drupal DevOps on Microsoft Azure Websites
PPTX
Migrate an Existing Application to Microsoft Azure
PDF
Drupal in the Cloud with Windows Azure
PPTX
Web App Security
Put Your Existing Application On Windows Azure
Building & managing wa app wely
Programming Azure Active Directory (DevLink 2014)
Automating Azure VMs with PowerShell
Windows azure mobile services from start to rest
Windows Azure Mobile Services - The Perfect Partner
Azure in Developer Perspective
2 Speed IT powered by Microsoft Azure and Minecraft
01_SQL Migration Using Azure Data Migration Services (DMS)_GAB2019
Migrating Apps To Azure
BizSpark Startup Night Windows Azure March 29, 2011
Understanding Azure AD Webinar Presentation
Azure Cloud Dev Camp - App Platform
Drupal on windows azure
Deploying asp.net and mvc applications to azure
Mobile Services for Windows Azure
Drupal DevOps on Microsoft Azure Websites
Migrate an Existing Application to Microsoft Azure
Drupal in the Cloud with Windows Azure
Web App Security
Ad

Viewers also liked (6)

PPTX
Meetup django common_problems(1)
PPTX
Global management trends in a two speed world 2.9.2011
PPTX
Advanced Administrative Solutions
PPTX
ePortfolio for Forensic Psychology
PPTX
Ubuntu sunum...
PPTX
So you want to be a pre sales architect or consultant
Meetup django common_problems(1)
Global management trends in a two speed world 2.9.2011
Advanced Administrative Solutions
ePortfolio for Forensic Psychology
Ubuntu sunum...
So you want to be a pre sales architect or consultant
Ad

Similar to Building & Managing Windows Azure (20)

PPTX
MS Cloud Day - Deploying and monitoring windows azure applications
PPTX
Windows Azure & How to Deploy Wordress
PDF
Building Real World Application with Azure
PDF
Developing and deploying windows azure applications
PPTX
Get set.. Introduction to Windows Azure Development
PPTX
A Lap Around Azure
PPTX
Azure presentation nnug dec 2010
PPTX
Understanding The Azure Platform March 2010
PDF
Microsoft Azure essentials
PPTX
Azure and Umbraco CMS
PPTX
Surviving the Azure Avalanche
PPTX
What's New for the Windows Azure Developer? Lots!!
PPTX
02 hosting servicesinwindowsazure
PPTX
Introduction to Windows Azure Platform
PPTX
Creation of cloud application using microsoft azure by vaishali sahare [katkar]
PPTX
Running Open Source Solutions on Windows Azure
PDF
Azure web apps
PPTX
Microsoft Partner Roadshow - To the Cloud
PPTX
Global Windows Azure Bootcamp - San Diego
PPTX
Windows Azure Platform Overview
MS Cloud Day - Deploying and monitoring windows azure applications
Windows Azure & How to Deploy Wordress
Building Real World Application with Azure
Developing and deploying windows azure applications
Get set.. Introduction to Windows Azure Development
A Lap Around Azure
Azure presentation nnug dec 2010
Understanding The Azure Platform March 2010
Microsoft Azure essentials
Azure and Umbraco CMS
Surviving the Azure Avalanche
What's New for the Windows Azure Developer? Lots!!
02 hosting servicesinwindowsazure
Introduction to Windows Azure Platform
Creation of cloud application using microsoft azure by vaishali sahare [katkar]
Running Open Source Solutions on Windows Azure
Azure web apps
Microsoft Partner Roadshow - To the Cloud
Global Windows Azure Bootcamp - San Diego
Windows Azure Platform Overview

More from K.Mohamed Faizal (20)

PDF
Azure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in Tamil
PPTX
Building infrastructure with Azure Resource Manager using PowerShell
PPT
Implementing SharePoint on Azure, Lessons Learnt from a Real World Project
PPTX
Internet of things
PPTX
Connect your datacenter to Microsoft Azure
PPTX
SharePoint on Microsoft Azure
PPTX
Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013
PPTX
Windows Azure Website
PPTX
SharePoint Migration What do I expect ? (The issues and solutions)
PDF
Share point 2013 the way to go...
PDF
SharePoint 2013 Sneak Peek
PDF
Share point 2013 cop v4
PPTX
SharePoint 2010 Online for Developer
PPTX
Build and Deploy LightSwitch Application on Windows Azure
PPTX
Windows azure traffic manager
PPTX
Must have tools for windows azure
PPTX
Exploring Windows Azure Cloud Storage
PPTX
Word automation services
PPT
Using Social Computing on Corporate world
PPTX
SharePoint 2010 List of List Improvements
Azure VNET Peering | விநெட் பியரிங் என்றால் என்ன? Azure in Tamil
Building infrastructure with Azure Resource Manager using PowerShell
Implementing SharePoint on Azure, Lessons Learnt from a Real World Project
Internet of things
Connect your datacenter to Microsoft Azure
SharePoint on Microsoft Azure
Deep Dive into SharePoint Topologies and Server Architecture for SharePoint 2013
Windows Azure Website
SharePoint Migration What do I expect ? (The issues and solutions)
Share point 2013 the way to go...
SharePoint 2013 Sneak Peek
Share point 2013 cop v4
SharePoint 2010 Online for Developer
Build and Deploy LightSwitch Application on Windows Azure
Windows azure traffic manager
Must have tools for windows azure
Exploring Windows Azure Cloud Storage
Word automation services
Using Social Computing on Corporate world
SharePoint 2010 List of List Improvements

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PDF
Empathic Computing: Creating Shared Understanding
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
cuic standard and advanced reporting.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
KodekX | Application Modernization Development
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Modernizing your data center with Dell and AMD
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Spectral efficient network and resource selection model in 5G networks
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
A Presentation on Artificial Intelligence
PPTX
Cloud computing and distributed systems.
PDF
NewMind AI Weekly Chronicles - August'25 Week I
Approach and Philosophy of On baking technology
Empathic Computing: Creating Shared Understanding
The AUB Centre for AI in Media Proposal.docx
cuic standard and advanced reporting.pdf
Chapter 3 Spatial Domain Image Processing.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Unlocking AI with Model Context Protocol (MCP)
KodekX | Application Modernization Development
MYSQL Presentation for SQL database connectivity
Modernizing your data center with Dell and AMD
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Machine learning based COVID-19 study performance prediction
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Spectral efficient network and resource selection model in 5G networks
“AI and Expert System Decision Support & Business Intelligence Systems”
A Presentation on Artificial Intelligence
Cloud computing and distributed systems.
NewMind AI Weekly Chronicles - August'25 Week I

Building & Managing Windows Azure

  • 1. Building, Deploying, and Managing Windows Azure Applications(Adapted from Jim Nakashima’s session in PDC2010)Wely LauMicrosoft MVP, Windows AzureSolutions Architect, NCS Pte LtdEmail : wely@ncs.com.sgBlog: http://wely-lau.net/
  • 2. This talk is for developers.ON
  • 4. AgendaSetting up the cloudDeploying to the cloudViewing into the cloudNew release New release
  • 6. demo Creating and Managing Windows Azure Services and SQL Azure Databases
  • 7. Creating and Managing Services & DatabasesWindows Azure Tools for Microsoft Visual StudioFree Add-in for Visual Studio 2010Updating content without stopping debuggingIntelliTrace on F5 local debugging (32-bit)Improved F5 performanceRedesigned PortalImproved workflows – fewer clicks and less waitingManagement consoleSSMS, sqlcmd, Data Tier Application and other SQL Server tools for SQL AzureNew releaseNew release
  • 9. Deploying to the CloudCreate a new deployment:Visual StudioWindows Azure PortalCommand line and PowershellBuilt using the Service Management REST APIVIP is assigned during deployment
  • 10. Updating a Deployment in the CloudUpdate the service configuration fileDeveloper web deploy to a single instanceUpgrade a role or all rolesReuse existing instancesDeploy and VIP Swap or “DNS Swap”Delete and DeployOS update
  • 11. Update Considerations VIP swap Easier to undoRequires 2 identical environmentsCannot update endpointsUpgradeReuses 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
  • 12. Update Considerations “DNS Swap”:Requires your own domain nameUpdating the domain record is not immediateNew VIPDelete/recreate:Down time between deploymentsNew VIP
  • 13. Hosted Web Core VS Full IISHosted 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.Learn more: http://blogs.msdn.com/b/windowsazure/archive/2010/12/02/new-full-iis-capabilities-differences-from-hosted-web-core.aspx
  • 14. Multiple IIS Sites and Virtual ApplicationsUpcoming release uses full IIS and not Hosted Web CoreAdd multiple IIS sites and Virtual applications per Web Role in the service definition fileNew release
  • 15. Multiple IIS Sites and Virtual ApplicationsUpcoming release uses full IIS and not Hosted Web CoreAdd multiple IIS sites and Virtual applications per Web Role in the service definition fileManual debugger attach and browser launchNew release
  • 16. Adding an IIS Site and Virtual Application to a Web RoleServiceDefinition.csdef<WebRole name="WebRole1"> <Sites> <Site name="Web"><VirtualApplication name="mail" physicalDirectory="C:\Users\jnak\Desktop\Scratch\WebSite"/> <Bindings> <Binding name="HttpIn" endpointName="HttpIn" /> </Bindings> </Site><Site name="PDC" physicalDirectory="C:\Users\jnak\Desktop\Scratch\SecondWebSite"><Bindings> <Binding name="HttpIn" endpointName="HttpIn" hostHeader=“pdctest" /> </Bindings> </Site> </Sites>
  • 18. How can you see into the cloud?New releaseRemote DesktopIntelliTraceWindows Azure DiagnosticsSQL Distributed Management ViewsWindows Azure Storage ViewersMost SQL Server Tools
  • 20. Remote DesktopEnable as a deployment option in Visual StudioUse the Portal to:Deploy an exported certificateConnect to an instanceAdvanced options are available by editing the Service Definition and Service Configuration filesDesignate one role as the remote forwarder
  • 21. Windows Azure DiagnosticsFacility that collects diagnostic data from your instances and copies it to a storage accountIIS logs, trace logs, IIS failed request logs, Windows Event logs, Performance counters and crash dumpsTransfer the diagnostic data to a storage accountData is collected locally to each instanceTransfer On Demand or at automatic scheduled intervalsConfigure diagnostics and transfers programmatically from within the role or remotely through a .NET APIWindows Azure Monitoring, Logging, and Management APIs
  • 22. What’s New in DiagnosticsEnabled as an option and not programmaticallyDecoupled 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 restartingSame configuration and API for VM roles
  • 23. SQL Distributed Management ViewsInteresting data can be retrieved using dynamic management views. SQL Azure supports a subsetReturns information regarding your current logical database onlyCommon scenarios:Calculate database sizeMonitoring connections (active user and internal tasks)Monitoring Query PerformanceMonitoring SQL Azure Using Dynamic Management Views
  • 24. RecapSetting up the cloudDeploying to the cloudViewing into the cloud
  • 25. ResourcesCloudy in Seattle blog: http://blogs.msdn.com/jnakSamplesWindows Azure Code SamplesWindows Azure Service Management CmdLetsRelated videos:Windows Azure Monitoring, Logging, and Management APIsUsing Microsoft Visual Studio 2010 to Build Application that run on Windows Azure
  • 26. Wely LauMicrosoft MVP, Windows AzureSolutions Architect, NCS Pte LtdEmail : wely@ncs.com.sgBlog: http://wely-lau.net/Thank you!

Editor's Notes

  • #14: What is Full IIS?Windows Azure&apos;s Web Role has always allowed you to deploy web sites and services. However many people may not have realised that the Web Role did not actually run the full Internet Information Services (IIS). Instead, it used a component called Hosted Web Core (HWC), which as its name suggests is the core engine for serving up web pages that can be hosted in a different process. For most simple scenarios it doesn&apos;t really matter if you&apos;re running in HWC or IIS. However there are a number of useful capabilities that only exist in IIS, including support for multiple sites or virtual applications and activation of WCF services over non-HTTP transports through Windows Activation Services.One of the many announcements we made at PDC 2010 is that Windows Azure Web Roles will support Full IIS. This functionality is now publicly available and included inWindows Azure SDK v1.3. To tell the Windows Azure SDK that you want to run under Full IIS rather than HWC, all you need to do is add a valid &lt;Sites&gt; section to your ServiceDefinition.csdef file. Visual Studio creates this section by default when you create a new Cloud Service Project, so you don&apos;t even need to think about it!