This self-paced enablement session will run through a sequence of bite-sized labs that build on each other.
Each lab will always include links to the JSON templates at the start and end so that you may compare your own files and highlight any differences.
It is up to you how far through the labs you need to go. The labs go through to a level of detail and complexity and leverage a number of the features within the Azure Resource Manager (ARM) templates that provide the power required for more complicated enterprise Infrastructure as Code deployments.
However the advice would always be to keep it as simple as possible and maximise supportability. Therefore the recommendation is to stop at the earliest point where you can meet the business requirements.
The comments section has been enabled and feedback is always welcome.
The short URL to get back to this page is:
For the labs we will be using Visual Studio Code, configured as per the VS Code prereqs page. Please follow all of those configuration steps to make sure you are ready to begin the labs.
You will need to add in the following extensions to vscode for the ARM workshop:
|Module Name||Author||Extension Identifier|
|Azure Resource Manager Tools||Microsoft||msazurermtools.azurerm-vscode-tools|
|JSON Tools||Erik Lynd||eriklynd.json-tools|
CTRL+SHIFT+X to open the extensions sidebar. You can search and install the extensions from within there.
Finally, add the snippets for Azure Resource Manager.
- Browse to the snippets file and copy the contents
- In VS Code, go to File -> Preferences -> User Snippets -> JSON
- Paste in the contents before the last curly brace
- Ensure the JSON file has no syntax errors and save
💬 Note. Do not install the third party Azure Resource Manager Snippets extension available in the gallery. This only has a subset of the snippets that you will find in Sam Cogan’s GitHub repository.
|Azure Resource Manager||A short theory session on Azure Resource|
|ARM Templates||Template structure overview, options for creating and deploying|
|1||First Template||Create a simple template, factor parameters, and deploy using the CLIs|
|2||Sources of Resources||Different sources of templates|
|3||References and Secrets||Functions, references, and how to handle secrets|
|4||Conditional Resources||Using conditions to selectively deploy resources|
|5||Using Copy||Use the copy property to create multiple resources|
|6||Objects and Arrays||More complex parameters, variables and outputs|
|7||Nesting Templates||Nesting templates inline and with linked templates|