Your SlideShare is downloading. ×
Windows Azure for Developers - Service Management
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Windows Azure for Developers - Service Management


Published on

With the Windows Azure Service Management API we can control nearly all aspects of a Windows Azure deployment. This allows us to easily manage areas such as deployments, service upgrades, and …

With the Windows Azure Service Management API we can control nearly all aspects of a Windows Azure deployment. This allows us to easily manage areas such as deployments, service upgrades, and subscription management. Additionally, with the PowerShell cmdlets we gain even greater power over the management of a Windows Azure service. In this webcast, we will take a look at managing a Windows Azure service from a developer's point of view. We'll look at using both the Windows Azure Service Management API and PowerShell cmdlets to exercise control over our Windows Azure services.

Published in: Technology, Business

1 Like
  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide
  • Windows Azure National ArchitectWindows Azure MVPHelp customers nationwide with their Windows Azure projects. This can include architectural design sessions, training, development, evangelism, etc.Reach me via email, Twitter, or my blog.
  • Leave time at the end for a few questions.
  • 6 worldwide datacenters
  • Request header must be specified
  • Keep it secure – anyone with the private key for the cert can use the Svc Mgmt APISelf-signedUsed for private communication between client app and Azure Svc Mgmt APICertificate image from WATK (November 2011) – “Managing, Debugging, and Monitoring Windows Azure.pptx”
  • Transcript

    • 1. Windows Azure for Developers Service Management API Wednesday, January 11th 2012
    • 2. About MeMichael S. CollierNational Architect,Windows
    • 3. Today’s Agenda• Windows Azure Overview• Service Management REST API• PowerShell Cmdlets• Scenarios• Q&A
    • 4. Windows Azure Primer• Flexible and powerful platform for developers• Build, deploy, and manage applications – Microsoft’s world-class datacenters – Application management – Developer SDK• On-demand services – Compute – Storage – Networking – Identity Management – Caching• Ideal situations – Scalability – Availability – Fault Tolerance
    • 5. Windows Azure Primer Business Portal Developer Portal User Code REST Service Management Service Runtime API Storage Cluster Compute Cluster … … VM Setup VS Tools … Cloud VM WA SDK RESTDesktop MSFT Datacenters Image courtesy: Windows Azure Training Kit, November 2011
    • 6. Windows Azure Terms to KnowTerm DescriptionSubscription An account – related to billing.Storage Account Windows Azure storage services for the subscription. Zero or more storage accounts.Hosted Service Container for service deployments. Zero or more hosted services.Deployment A running service in either production or staging deployment environment. Reference by a deployment ID or environment.Deployment Environment Staging or ProductionCertificate X509 certificate for managing a subscriptionLocation One of 6 worldwide Windows Azure datacentersAffinity Group Grouping of storage accounts & hosted services; performance benefitsOperation A management operation against the Storage Management APIOperating Systems Guest operating system supported by Windows Azure
    • 7. Windows Azure Management Options• Developer Portal ( – Windows Live ID – Co-admin support• Microsoft tools – System Center Operations Manager – Visual Studio (dev) – MMC (• 3rd Party Tools – Cerebrata – Quest Software• Service Management API
    • 8. Understanding theSERVICE MANAGEMENT API
    • 9. Can we . . . Or Can We Not? Yes No• Manage hosted services • New subscription – Create – Update • Billing – Start, stop, delete • SQL Azure• Manage storage accounts • ACS• Certificates• Affinity Groups• List Locations• OS Information• Subscription History & Details
    • 10. Versions• New versions added to support new features• Request Header – x-ms-version – YYYY-MM-DD• “2011-10-01” is the most recent – New • Rollback update or upgrade • Get Subscription – Updated • Get Hosted Service Properties • Get Deployment
    • 11. Authentication• X509 v3 certificates• Maximum of 10 certificates per subscription• Shouldn’t contain the private key• Keep it secure!• Must use HTTPS• Can be a self-signed certificate – IIS – makecert – Visual Studio publish wizard (new)
    • 12. Exploring the Windows Azure Service ManagementREST API
    • 13. Getting Back to Basics with REST• Base endpoint:<subscription-id>• MSDN will be your friend –• Async Calls – Need to poll to find the status – API returns 202 (Accepted) – Don’t poll too frequently – may get throttled
    • 14. Create a New Hosted ServiceDEMO
    • 15. Exploring the Windows AzurePOWERSHELL CMDLETS
    • 16. Cmdlets are your friend• Windows Azure PowerShell Cmdlets – – Setup scripts install the 64bit version by default! – Working with Visual Studio or Team Build? Need the 32bit version• Cerebrata’s Azure Management Cmdlets –• Ideal for – IT Pros – Developers – TFS
    • 17. Deploy a Hosted Service with PowerShellDEMO
    • 18. Scenarios• Automated processes – TFS • Scheduled deployments to staging for integration testing • REST or PowerShell Cmdlets – Developer productivity • Deploy to Azure for testing • Clean-up tasks• Instance Scaling – WASABI • Part of Enterprise Library 5.0 for Windows Azure Integration Pack ( • Source code available. Good example of using the API. – Custom Code
    • 19. Resources• Windows Azure Training Kit –• Mackenzie, Neil. Microsoft Windows Azure Development Cookbook, Packt, 2011. – development-cookbook/book• Michael Washam’s blog –• Tom Hollander’s blog –• MSDN –