Infrastructure as Code and Continuous Deployment of a Node.js + Azure DocumentDB Solution

Azure Resource Manager (ARM) templates can be used to declaratively describe the infrastructure behind your solution. Azure DocumentDB has recently been added to the list of resources supported by ARM, so now you can use ARM to define your DocumentDB account as well.

This blog post describes an Azure Resource Manager template and a sample Node.js + DocumentDB solution, and a Visual Studio Online build definition to continuously deploy the site and the infrastructure: