SlideShare uma empresa Scribd logo
1 de 26
Building, Deploying, and Managing Windows Azure Applications (Adapted from Jim Nakashima’s session in PDC2010) Wely Lau Microsoft MVP, Windows Azure Solutions Architect, NCS Pte Ltd Email : wely@ncs.com.sg Blog: http://wely-lau.net/
This talk is for developers. ON
Composition
Agenda Setting up the cloud Deploying to the cloud Viewing into the cloud New release  New release
Setting up the Cloud
demo  Creating and Managing Windows Azure Services and SQL Azure Databases
Creating and Managing Services & Databases Windows Azure Tools for Microsoft Visual Studio Free Add-in for Visual Studio 2010 Updating content without stopping debugging IntelliTrace on F5 local debugging (32-bit) Improved F5 performance Redesigned Portal Improved workflows – fewer clicks and less waiting Management console SSMS, sqlcmd, Data Tier Application and other SQL Server tools for SQL Azure New release New release
Deploying to the Cloud
Deploying to the Cloud Create a new deployment: Visual Studio Windows Azure Portal Command line and Powershell Built using the Service Management REST API VIP is assigned during deployment
Updating a Deployment in the Cloud Update the service configuration file Developer web deploy to a single instance Upgrade a role or all roles Reuse existing instances Deploy and VIP Swap or “DNS Swap” Delete and Deploy OS update
Update Considerations  VIP swap  Easier to undo Requires 2 identical environments Cannot update endpoints Upgrade Reuses existing VMs (Preserves VM state i.e. local cache data) Can update a single role Cannot change the service definition Not as good for the front end  Requires compatibility between existing and new deployment
Update Considerations  “DNS Swap”: Requires your own domain name Updating the domain record is not immediate New VIP Delete/recreate: Down time between deployments New VIP
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. 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 Applications Upcoming release uses full IIS and not Hosted Web Core Add multiple IIS sites and Virtual applications per Web Role in the service definition file New release
Multiple IIS Sites and Virtual Applications Upcoming release uses full IIS and not Hosted Web Core Add multiple IIS sites and Virtual applications per Web Role in the service definition file Manual debugger attach and browser launch New release
Adding an IIS Site and Virtual Application to a Web Role ServiceDefinition.csdef <WebRole name="WebRole1">     <Sites>       <Site name="Web"> <VirtualApplication name="mail" physicalDirectory="C:sersnakesktopcratchebSite"/>         <Bindings>           <Binding name="HttpIn" endpointName="HttpIn" />         </Bindings>       </Site> <Site name="PDC" physicalDirectory="C:sersnakesktopcratchecondWebSite"> <Bindings>           <Binding name="HttpIn" endpointName="HttpIn" hostHeader=“pdctest" />         </Bindings>       </Site>     </Sites>
Viewing into the Cloud
How can you see into the cloud? New release Remote Desktop IntelliTrace Windows Azure Diagnostics SQL Distributed Management Views Windows Azure Storage Viewers Most SQL Server Tools
demo  Remote Desktop
Remote Desktop Enable as a deployment option in Visual Studio Use the Portal to: Deploy an exported certificate Connect to an instance Advanced options are available by editing the Service Definition and Service Configuration files Designate one role as the remote forwarder
Windows Azure Diagnostics Facility that collects diagnostic data from your instances and copies it to a storage account IIS logs, trace logs, IIS failed request logs, Windows Event logs, Performance counters and crash dumps Transfer the diagnostic data to a storage account Data is collected locally to each instance Transfer On Demand or at automatic scheduled intervals Configure diagnostics and transfers programmatically from within the role or remotely through a .NET API Windows Azure Monitoring, Logging, and Management APIs
What’s New in Diagnostics Enabled as an option and not programmatically Decoupled from the role process – i.e. starts before and will not exit with the role process Can collect data if the role failed to start or if the role is restarting Same configuration and API for VM roles
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 size Monitoring connections (active user and internal tasks) Monitoring Query Performance Monitoring SQL Azure Using Dynamic Management Views
Recap Setting up the cloud Deploying to the cloud Viewing into the cloud
Resources Cloudy in Seattle blog: http://blogs.msdn.com/jnak Samples Windows Azure Code Samples Windows Azure Service Management CmdLets Related videos: Windows Azure Monitoring, Logging, and Management APIs Using Microsoft Visual Studio 2010 to Build Application that run on Windows Azure
Wely Lau Microsoft MVP, Windows Azure Solutions Architect, NCS Pte Ltd Email : wely@ncs.com.sg Blog: http://wely-lau.net/ Thank you!

Mais conteúdo relacionado

Mais procurados

Building & managing wa app wely
Building & managing wa app   welyBuilding & managing wa app   wely
Building & managing wa app wely
Spiffy
 
Windows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect PartnerWindows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect Partner
Michael Collier
 
Azure Cloud Dev Camp - App Platform
Azure Cloud Dev Camp - App PlatformAzure Cloud Dev Camp - App Platform
Azure Cloud Dev Camp - App Platform
giventocode
 
Drupal on windows azure
Drupal on windows azureDrupal on windows azure
Drupal on windows azure
Steve Xu
 
Deploying asp.net and mvc applications to azure
Deploying asp.net and mvc applications to azureDeploying asp.net and mvc applications to azure
Deploying asp.net and mvc applications to azure
Glyn Darkin
 
Drupal in the Cloud with Windows Azure
Drupal in the Cloud with Windows AzureDrupal in the Cloud with Windows Azure
Drupal in the Cloud with Windows Azure
Ford AntiTrust
 

Mais procurados (20)

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

Destaque (6)

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

Semelhante a Building & Managing Windows Azure

Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applications
Manish Corriea
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft Private Cloud
 
Windows Server 2008 - Web and Application Hosting
Windows Server 2008 - Web and Application HostingWindows Server 2008 - Web and Application Hosting
Windows Server 2008 - Web and Application Hosting
Information Technology
 
Windows Azure & How to Deploy Wordress
Windows Azure & How to Deploy WordressWindows Azure & How to Deploy Wordress
Windows Azure & How to Deploy Wordress
George Kanellopoulos
 
Windows Loves Drupal
Windows Loves DrupalWindows Loves Drupal
Windows Loves Drupal
Acquia
 
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Quek Lilian
 

Semelhante a Building & Managing Windows Azure (20)

Make Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
Make Web, Not War - Installfest: Extend Your Web Server, Rodney BuikeMake Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
Make Web, Not War - Installfest: Extend Your Web Server, Rodney Buike
 
Microsoft Azure
Microsoft AzureMicrosoft Azure
Microsoft Azure
 
Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applications
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
 
Windows Azure
Windows AzureWindows Azure
Windows Azure
 
Windows Server 2008 - Web and Application Hosting
Windows Server 2008 - Web and Application HostingWindows Server 2008 - Web and Application Hosting
Windows Server 2008 - Web and Application Hosting
 
Windows Azure & How to Deploy Wordress
Windows Azure & How to Deploy WordressWindows Azure & How to Deploy Wordress
Windows Azure & How to Deploy Wordress
 
Road Show Asp Net
Road Show Asp NetRoad Show Asp Net
Road Show Asp Net
 
Getting started with development in azure
Getting started with development in azureGetting started with development in azure
Getting started with development in azure
 
Windows Loves drupal
Windows Loves drupalWindows Loves drupal
Windows Loves drupal
 
Azure web apps
Azure web appsAzure web apps
Azure web apps
 
Capture the Cloud with Azure
Capture the Cloud with AzureCapture the Cloud with Azure
Capture the Cloud with Azure
 
Continuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Continuous Integration and the Data Warehouse - PASS SQL Saturday SloveniaContinuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Continuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
 
Continuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Continuous Integration and the Data Warehouse - PASS SQL Saturday SloveniaContinuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
Continuous Integration and the Data Warehouse - PASS SQL Saturday Slovenia
 
Developer application lifecycle process and tools - v.5
Developer application lifecycle process and tools - v.5Developer application lifecycle process and tools - v.5
Developer application lifecycle process and tools - v.5
 
Windows Loves Drupal
Windows Loves DrupalWindows Loves Drupal
Windows Loves Drupal
 
The New Efficiency
The New EfficiencyThe New Efficiency
The New Efficiency
 
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
 
Iis it-slideshares.blogspot.com
Iis it-slideshares.blogspot.comIis it-slideshares.blogspot.com
Iis it-slideshares.blogspot.com
 
Microsoft Azure 현황과 방향성
Microsoft Azure 현황과 방향성Microsoft Azure 현황과 방향성
Microsoft Azure 현황과 방향성
 

Mais de K.Mohamed Faizal

SharePoint 2010 Online for Developer
SharePoint 2010 Online for DeveloperSharePoint 2010 Online for Developer
SharePoint 2010 Online for Developer
K.Mohamed Faizal
 
Exploring Windows Azure Cloud Storage
Exploring Windows Azure Cloud StorageExploring Windows Azure Cloud Storage
Exploring Windows Azure Cloud Storage
K.Mohamed Faizal
 

Mais de K.Mohamed Faizal (20)

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

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Building & Managing Windows Azure

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

Notas do Editor

  1. 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!