| By Alin Irimie | Article Rating: |
|
| September 21, 2009 01:00 PM EDT | Reads: |
352 |
Microsoft released a preview of the Windows Azure Service Management API to help you manage your deployments, hosted services and storage accounts. This is a REST-based API which users can code against in their toolset of choice to manage their services. You can find the documentation (along with the rest of the Windows Azure documentation) here.
This is a REST-based API which uses X509 client certificates for authentication. Users can upload any valid X509 certificate in .cer format to the Windows Azure developer portal and then use it as a client certificate when making API requests.
The following operations are currently supported:
- Deployments – Viewing, creating, deleting, swapping, modifying configuration settings, changing instance counts, and updating the deployment.
- Listing and viewing properties for hosted services, storage accounts and affinity groups
There is a small tool called csmanage.exe to help you interact with this API and manage your deployments. You can find csmanage here along with our other samples.
How do I get started?
The documentation has detailed information on this but here’s a quick starter.
The first step is to get hold of a valid X509 certificate with a key size of at least 2048 bits. One quick way is to use IIS 7 to generate a self-signed certificate. Another option is to use makecert.exe (which ships with the Windows SDK) and use a command like the below:
makecert -r -pe -a sha1 -n ‘CN=Windows Azure Authentication Certificate’ -ss My -len 2048 -sp ‘Microsoft Enhanced RSA and AES Cryptographic Provider’ -sy 24 testcert.cer
The next step is to upload the .cer file to the developer portal to let Windows Azure know that it should trust the certificate for API operations on your projects. The portal now has a new section called ‘API Certificates’ under the Account tab where one can do this.
Use the certificate from step #1 for any API request you make. The csmanage tool is a handy way to play and explore the functionality offered by the API. For users rolling their own tools, almost all mainstream programming platforms have support for client certificates. .NET users should use the ClientCertificates property of System.Net.HttpWebRequest. Microsoft will also be publishing client libraries to simplify this task soon.
What’s next?
Over the next few weeks, Microsoft will be publishing a sample .NET client library and samples, all with source code, to show how to use the API’s functionality.
Related posts:
- Windows Azure Management Tool Released Microsoft released a new Windows Azure Management tool. The Windows...
- Windows Azure Geo-Location As it was announced at MIX this year, Windows Azure Geo...
- Windows Azure Cloud Outages The cloud is crashing too often. However, if you want...
Read the original blog entry...
Published September 21, 2009 Reads 352
Copyright © 2009 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Alin Irimie
Alin Irimie is a software engineer - architect, designer, and developer with over 10 years experience in various languages and technologies. Currently he is Messaging Security Manager at Sunbelt Software, a security company. He is also the CTO of RADSense Software, a software consulting company. He has expertise in Microsoft technologies such as .NET Framework, ASP.NET, AJAX, SQL Server, C#, C++, Ruby On Rails, Cloud computing (Amazon and Windows Azure),and he also blogs about cloud technologies here.
- Rich Content Rotator for ASP.NET
- SQL Anywhere Server and AJAX
- Practical Approaches for Optimizing Website Performance
- SYS-CON's Cloud Expo Adds Two New Tracks
- PowerBuilder Top Feature Picks
- PowerBuilder 12 and .NET
- The Importance of Cloud Abstraction
- RIM Introduces New BlackBerry Tools for Web Developers
- Flexing Your .NET 3.5 Skillset
- SingTel Throws in its Lot with the Cloud
- AJAX World RIA Conference & Expo Kicks Off in New York City
- Rich Content Rotator for ASP.NET
- Windows 7 To Launch Publicly May 5
- RIAs for Web 3.0 Using the Microsoft Platform
- Building a Composite Application Using Multiple Web Services
- Amazon, Google, Microsoft - Big Three Cloud Providers Examined
- Ulitzer Responds to Published Reports
- Social Media Terrorists
- SQL Anywhere Server and AJAX
- Practical Approaches for Optimizing Website Performance
- Google Maps and ASP.NET
- Crystal Reports XI & How It Has Changed
- Creating Controls for.NET Compact Framework in Visual Studio 2005
- Converting VB6 to VB.NET, Part I
- How to Write High-Performance C# Code
- AJAX World RIA Conference & Expo Kicks Off in New York City
- Implementing Tab Navigation with ASP.NET 2.0
- i-Technology Photo Exclusive: Bill Gates & Steve Jobs In "Nerds"
- .NET Archives: Getting Reacquainted with the Father of C#
- i-Technology Viewpoint: "SOA Sucks"
























