• Save
Windows Azure for Developers - Service Management
Upcoming SlideShare
Loading in...5
×
 

Windows Azure for Developers - Service Management

on

  • 1,630 views

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.

Statistics

Views

Total Views
1,630
Views on SlideShare
1,290
Embed Views
340

Actions

Likes
1
Downloads
0
Comments
0

2 Embeds 340

http://michaelcollier.wordpress.com 339
http://cc.bingj.com 1

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • 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
  • http://msdn.microsoft.com/en-us/library/windowsazure/ee460786.aspx
  • 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”

Windows Azure for Developers - Service Management Windows Azure for Developers - Service Management Presentation Transcript

  • Windows Azure for Developers Service Management API Wednesday, January 11th 2012
  • About MeMichael S. CollierNational Architect,Windows Azuremichael.collier@neudesic.com@MichaelCollierwww.MichaelSCollier.com
  • Today’s Agenda• Windows Azure Overview• Service Management REST API• PowerShell Cmdlets• Scenarios• Q&A
  • 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
  • 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
  • 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
  • Windows Azure Management Options• Developer Portal (http://windows.azure.com) – Windows Live ID – Co-admin support• Microsoft tools – System Center Operations Manager – Visual Studio (dev) – MMC (http://wapmmc.codeplex.com/)• 3rd Party Tools – Cerebrata – Quest Software• Service Management API
  • Understanding theSERVICE MANAGEMENT API
  • 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
  • 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
  • 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)
  • Exploring the Windows Azure Service ManagementREST API
  • Getting Back to Basics with REST• Base endpoint: https://management.core.windows.net/<subscription-id>• MSDN will be your friend – http://bit.ly/AzureServiceMgmtRefMC• Async Calls – Need to poll to find the status – API returns 202 (Accepted) – Don’t poll too frequently – may get throttled
  • Create a New Hosted ServiceDEMO
  • Exploring the Windows AzurePOWERSHELL CMDLETS
  • Cmdlets are your friend• Windows Azure PowerShell Cmdlets – http://wappowershell.codeplex.com – Setup scripts install the 64bit version by default! – Working with Visual Studio or Team Build? Need the 32bit version• Cerebrata’s Azure Management Cmdlets – http://www.cerebrata.com/Products/AzureManagementCmdlets• Ideal for – IT Pros – Developers – TFS
  • Deploy a Hosted Service with PowerShellDEMO
  • 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 (http://bit.ly/EntLib5AzureMC) • Source code available. Good example of using the API. – Custom Code
  • Resources• Windows Azure Training Kit – http://bit.ly/AzureTrainingKitMC• Mackenzie, Neil. Microsoft Windows Azure Development Cookbook, Packt, 2011. – http://www.packtpub.com/microsoft-windows-azure- development-cookbook/book• Michael Washam’s blog – http://michaelwasham.com• Tom Hollander’s blog – http://blogs.msdn.com/b/tomholl• MSDN – http://bit.ly/AzureServiceMgmtRefMC