Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Azure Resource Manager Templates Quick Start Guide

You're reading from   Azure Resource Manager Templates Quick Start Guide Create, deploy, and manage Azure resources with ARM templates using best practices

Arrow left icon
Product type Paperback
Published in Feb 2019
Publisher Packt
ISBN-13 9781789803235
Length 234 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Ritesh Modi Ritesh Modi
Author Profile Icon Ritesh Modi
Ritesh Modi
Daniel Andres Pelaez Lopez Daniel Andres Pelaez Lopez
Author Profile Icon Daniel Andres Pelaez Lopez
Daniel Andres Pelaez Lopez
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Section 1: ARM Template Foundational Skills
2. Infrastructure as Code and Configuration Management FREE CHAPTER 3. Azure Resource Manager Templates 4. Understanding Core Elements of ARM Templates 5. Advance Template Features 6. Section 2: ARM Template Advanced Concepts
7. IaaS Solutions Using Templates 8. Unit Testing ARM Templates 9. Design Patterns 10. ARM Template Best Practices 11. Other Books You May Enjoy

Writing your first template

Now it's time to focus and create our first ARM template using Visual Studio 2017. Open Visual Studio 2017 and select File | New | Project | Cloud | Azure Resource Group. Provide a Name and Location in New Project dialog box and click on OK:

Select Blank Template and click on OK:

This should create a solution and the MyFirstTemplate project in Visual Studio. It will also create an ARM template file named azureDeploy.json and a template parameters file named azureDeploy.parameters.json. There is also a PowerShell file, Deploy-AzureResourceGroup.ps1, for both creating a resource group and deploying a template in it. We are not going to use it. Readers can go ahead and delete it:

The content of the azuredeploy.json file is the same as shown before; for simplicity's sake, it is shown again:

{

"$schema": "https://schema.management...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image