In this video, we'll create a simple JSON template that describes a Web App, a master Ubuntu VM, two client Ubuntu instances and the custom script extension paired with scriptgen to automate the deployment of an Azure-hosted APT repository with a hook metapackage across many VMs.
scriptgen is a Node.js application that serves scripts via HTTP, using GET/POST parameters as template variables for the scripts. It allows you to move complexity from the JSON template to a simpler backend.
You can find this and more examples using scriptgen in my GitHub fork of azurermtemplates or check out the full library of amazing templates over at Azure's GitHub.
Check out the Azure documentation for using PowerShell (or azure-cli) for your deployments.
Also, here are some other C9 videos:
- Corey's Hackathon, including our brief chat about scriptgen, Linux and ARM
- His intro to Compute in ARM
- Madhan about ARM and OSS
- Khalid about ARM and CLI
