This project is read-only.

Project Description
The Cloud Ninja Project is a Windows Azure multi-tenant sample application demonstrating metering and automated scaling concepts, as well as some common multi-tenant features such as automated provisioning and federated identity. This sample was developed by the Azure Incubation Team in the Developer & Platform Evangelism group at Microsoft in collaboration with Full Scale 180. One of the primary goals throughout the project was to keep the code simple and easy to follow, making it easy for anyone looking through the application to follow the logic without having to spend a great deal of time trying to determine what’s being called or have to install and debug to understand the logic.

Key Features

  • Metering
  • Automated Scaling
  • Federated Identity
  • Provisioning
  • Metering Charts
  • Changes to metering views
  • Dynamic Federation Metadata Document

Version 3.0 of Cloud Ninja is available

New Features
*Utilizing Azure Store XRay project for Azure Storage metering and health monitoring
*Storage Analytics with charts exposing storage metrics
*Additions to metering data for storage inboud/outbound bandwith usage, and billable transactions count per tenant.

CN sample chart.png

CN sample chart 2.png


  • Sample source code
  • Design document
  • Setup guide
  • Sample walkthrough



  • Project Cloud Ninja is not a product or solution from Microsoft. It is a comprehensive code sample developed to demonstrate the design and implmentation of key features on the platform.
  • Another sample (also known as Fabrikam Shipping Sample) published by Microsoft provides an in depth coverage of Identity Federation for multi-tenant applications, and we recommend you to review this in addition to Cloud Ninja. In Cloud Ninja we utilized the concepts in that sample but also put more emphasis on metering and automated scaling. You can find the sample here and related Patterns and Practices team's guidance here.


Click here to view the RSS feed.

Last edited Apr 27, 2012 at 11:13 PM by trentmswanson, version 33