Building, Deploying, and Managing Windows Azure Applications<br />(Adapted from Jim Nakashima’s session in PDC2010)<br />W...
This talk is for developers.<br />ON<br />
Composition<br />
Agenda<br />Setting up the cloud<br />Deploying to the cloud<br />Viewing into the cloud<br />New release <br />New releas...
Setting up the Cloud<br />
demo <br />Creating and Managing Windows Azure Services and SQL Azure Databases<br />
Creating and Managing Services & Databases<br />Windows Azure Tools for Microsoft Visual Studio<br />Free Add-in for Visua...
Deploying to the Cloud<br />
Deploying to the Cloud<br />Create a new deployment:<br />Visual Studio<br />Windows Azure Portal<br />Command line and Po...
Updating a Deployment in the Cloud<br />Update the service configuration file<br />Developer web deploy to a single instan...
Update Considerations <br />VIP swap <br />Easier to undo<br />Requires 2 identical environments<br />Cannot update endpoi...
Update Considerations <br />“DNS Swap”:<br />Requires your own domain name<br />Updating the domain record is not immediat...
Hosted Web Core VS Full IIS<br />Hosted Web Core (HWC)<br />Web Role did not actually run full IIS. <br />It used a compon...
Multiple IIS Sites and Virtual Applications<br />Upcoming release uses full IIS and not Hosted Web Core<br />Add multiple ...
Multiple IIS Sites and Virtual Applications<br />Upcoming release uses full IIS and not Hosted Web Core<br />Add multiple ...
Adding an IIS Site and Virtual Application to a Web Role<br />ServiceDefinition.csdef<br /><WebRole name="WebRole1"><br />...
Viewing into the Cloud<br />
How can you see into the cloud?<br />New release<br />Remote Desktop<br />IntelliTrace<br />Windows Azure Diagnostics<br /...
demo <br />Remote Desktop<br />
Remote Desktop<br />Enable as a deployment option in Visual Studio<br />Use the Portal to:<br />Deploy an exported certifi...
Windows Azure Diagnostics<br />Facility that collects diagnostic data from your instances and copies it to a storage accou...
What’s New in Diagnostics<br />Enabled as an option and not programmatically<br />Decoupled from the role process – i.e. s...
SQL Distributed Management Views<br />Interesting data can be retrieved using dynamic management views.  SQL Azure support...
Recap<br />Setting up the cloud<br />Deploying to the cloud<br />Viewing into the cloud<br />
Resources<br />Cloudy in Seattle blog: http://blogs.msdn.com/jnak<br />Samples<br />Windows Azure Code Samples<br />Window...
Wely Lau<br />Microsoft MVP, Windows Azure<br />Solutions Architect, NCS Pte Ltd<br />Email : wely@ncs.com.sg<br />Blog: h...
Upcoming SlideShare
Loading in...5
×

Building & managing wa app wely

505

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
505
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 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!
  • Building & managing wa app wely

    1. 1. Building, Deploying, and Managing Windows Azure Applications<br />(Adapted from Jim Nakashima’s session in PDC2010)<br />Wely Lau<br />Microsoft MVP, Windows Azure<br />Solutions Architect, NCS Pte Ltd<br />Email : wely@ncs.com.sg<br />Blog: http://wely-lau.net/<br />
    2. 2. This talk is for developers.<br />ON<br />
    3. 3. Composition<br />
    4. 4. Agenda<br />Setting up the cloud<br />Deploying to the cloud<br />Viewing into the cloud<br />New release <br />New release<br />
    5. 5. Setting up the Cloud<br />
    6. 6. demo <br />Creating and Managing Windows Azure Services and SQL Azure Databases<br />
    7. 7. Creating and Managing Services & Databases<br />Windows Azure Tools for Microsoft Visual Studio<br />Free Add-in for Visual Studio 2010<br />Updating content without stopping debugging<br />IntelliTrace on F5 local debugging (32-bit)<br />Improved F5 performance<br />Redesigned Portal<br />Improved workflows – fewer clicks and less waiting<br />Management console<br />SSMS, sqlcmd, Data Tier Application and other SQL Server tools for SQL Azure<br />New release<br />New release<br />
    8. 8. Deploying to the Cloud<br />
    9. 9. Deploying to the Cloud<br />Create a new deployment:<br />Visual Studio<br />Windows Azure Portal<br />Command line and Powershell<br />Built using the Service Management REST API<br />VIP is assigned during deployment <br />
    10. 10. Updating a Deployment in the Cloud<br />Update the service configuration file<br />Developer web deploy to a single instance<br />Upgrade a role or all roles<br />Reuse existing instances<br />Deploy and VIP Swap or “DNS Swap”<br />Delete and Deploy<br />OS update<br />
    11. 11. Update Considerations <br />VIP swap <br />Easier to undo<br />Requires 2 identical environments<br />Cannot update endpoints<br />Upgrade<br />Reuses existing VMs (Preserves VM state i.e. local cache data)<br />Can update a single role<br />Cannot change the service definition<br />Not as good for the front end <br />Requires compatibility between existing and new deployment<br />
    12. 12. Update Considerations <br />“DNS Swap”:<br />Requires your own domain name<br />Updating the domain record is not immediate<br />New VIP<br />Delete/recreate:<br />Down time between deployments<br />New VIP<br />
    13. 13. Hosted Web Core VS Full IIS<br />Hosted Web Core (HWC)<br />Web Role did not actually run full IIS. <br />It used a component called Hosted Web Core, the core engine for serving up web pages that can be hosted in a different process.<br />Learn more: http://blogs.msdn.com/b/windowsazure/archive/2010/12/02/new-full-iis-capabilities-differences-from-hosted-web-core.aspx<br />
    14. 14. Multiple IIS Sites and Virtual Applications<br />Upcoming release uses full IIS and not Hosted Web Core<br />Add multiple IIS sites and Virtual applications per Web Role in the service definition file<br />New release<br />
    15. 15. Multiple IIS Sites and Virtual Applications<br />Upcoming release uses full IIS and not Hosted Web Core<br />Add multiple IIS sites and Virtual applications per Web Role in the service definition file<br />Manual debugger attach and browser launch<br />New release<br />
    16. 16. Adding an IIS Site and Virtual Application to a Web Role<br />ServiceDefinition.csdef<br /><WebRole name="WebRole1"><br /> <Sites><br /> <Site name="Web"><br /><VirtualApplication name="mail" physicalDirectory="C:UsersjnakDesktopScratchWebSite"/><br /> <Bindings><br /> <Binding name="HttpIn" endpointName="HttpIn" /><br /> </Bindings><br /> </Site><br /><Site name="PDC" physicalDirectory="C:UsersjnakDesktopScratchSecondWebSite"><br /><Bindings><br /> <Binding name="HttpIn" endpointName="HttpIn" hostHeader=“pdctest" /><br /> </Bindings><br /> </Site><br /> </Sites><br />
    17. 17. Viewing into the Cloud<br />
    18. 18. How can you see into the cloud?<br />New release<br />Remote Desktop<br />IntelliTrace<br />Windows Azure Diagnostics<br />SQL Distributed Management Views<br />Windows Azure Storage Viewers<br />Most SQL Server Tools<br />
    19. 19. demo <br />Remote Desktop<br />
    20. 20. Remote Desktop<br />Enable as a deployment option in Visual Studio<br />Use the Portal to:<br />Deploy an exported certificate<br />Connect to an instance<br />Advanced options are available by editing the Service Definition and Service Configuration files<br />Designate one role as the remote forwarder<br />
    21. 21. Windows Azure Diagnostics<br />Facility that collects diagnostic data from your instances and copies it to a storage account<br />IIS logs, trace logs, IIS failed request logs, Windows Event logs, Performance counters and crash dumps<br />Transfer the diagnostic data to a storage account<br />Data is collected locally to each instance<br />Transfer On Demand or at automatic scheduled intervals<br />Configure diagnostics and transfers programmatically from within the role or remotely through a .NET API<br />Windows Azure Monitoring, Logging, and Management APIs<br />
    22. 22. What’s New in Diagnostics<br />Enabled as an option and not programmatically<br />Decoupled from the role process – i.e. starts before and will not exit with the role process<br />Can collect data if the role failed to start or if the role is restarting<br />Same configuration and API for VM roles<br />
    23. 23. SQL Distributed Management Views<br />Interesting data can be retrieved using dynamic management views. SQL Azure supports a subset<br />Returns information regarding your current logical database only<br />Common scenarios:<br />Calculate database size<br />Monitoring connections (active user and internal tasks)<br />Monitoring Query Performance<br />Monitoring SQL Azure Using Dynamic Management Views<br />
    24. 24. Recap<br />Setting up the cloud<br />Deploying to the cloud<br />Viewing into the cloud<br />
    25. 25. Resources<br />Cloudy in Seattle blog: http://blogs.msdn.com/jnak<br />Samples<br />Windows Azure Code Samples<br />Windows Azure Service Management CmdLets<br />Related videos:<br />Windows Azure Monitoring, Logging, and Management APIs<br />Using Microsoft Visual Studio 2010 to Build Application that run on Windows Azure<br />
    26. 26. Wely Lau<br />Microsoft MVP, Windows Azure<br />Solutions Architect, NCS Pte Ltd<br />Email : wely@ncs.com.sg<br />Blog: http://wely-lau.net/<br />Thank you!<br />
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×