APT fun with ARM templates

Download this episode

Download Video


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:


Azure, Linux



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.