Ends in
00
days
00
hrs
00
mins
00
secs
ENROLL NOW

Get $4 OFF in AWS Solutions Architect & Data Engineer Associate Practice Exams for $10.99 each ONLY!

Azure Resource Manager (ARM)

Home » Azure » Azure Resource Manager (ARM)

Azure Resource Manager (ARM)

Last updated on March 20, 2023

Azure Resource Manager Cheat Sheet

  • Azure Resource Manager is a service that allows you to create, update, and delete resources in your Azure account.

  • Enables you to manage access control, locks, and tags for your resources after they have been deployed.

Features

  • All requests are authenticated and authorized by ARM before being routed to the appropriate Azure service.

  • Manage infrastructure using declarative templates and deploy it in a repeatable manner.

  • Deploy, manage, and monitor all resources as a group.

  • Tag resources to logically organize all the resources in your subscription.

  • You can check the costs for a group of resources sharing the same tag.

  • Define the dependencies between resources, so they’re deployed in the correct order.

Tutorials dojo strip

Resource groups

  • A container that holds related resources.

  • You can create a resource group using the Azure Portal, PowerShell, CLI, or an ARM template.

  • Each resource can only exist in a single resource group.

  • You can add or remove resources to any resource group at any time.

  • Allows you to move a resource from one resource group to another.

  • Resources from multiple regions can be in one resource group.

  • You can give users access to a resource group.

  • Resources can interact with other resources in different resource groups.

  • A resource group has a location or region, as it stores metadata about the resources.

  • When you delete a resource group, it also deletes all of its resources.

ARM templates

  • The template is a JSON file with declarative syntax that defines the properties and configuration of your resources. It is divided into the following sections:

    • Parameters – values that allow the same template to be used in multiple environments.

    • Variables – values that can be reused in templates.

    • User-defined functions – customized functions to simplify the template.

    • Resources – define the resources to be deployed.

    • Outputs – values from deployed resources.

  • When a template is deployed, ARM converts it into REST API operations. 

  • You can specify an apiVersion so that you can reuse the template without worrying about breaking changes introduced in later versions.

  • To make sure your template adheres to suggested best practices, use an ARM template toolkit (arm-ttk).

  • Before deploying the template, you can preview changes using the what-if operation.

  • To deploy a template, you can use the following:

    • Azure Portal

    • Azure CLI

    • Azure Cloud Shell

    • PowerShell

    • REST API

    • Button in GitHub repository

  • An application can be defined in a single template or divided into a purpose-specific template (modular files). You can also create a parent template that links all the nested templates.

  • You can share the template using template specs and manage access using role-based access control (RBAC).

    • Link template – a different template file that is linked from the primary template.

    • Nested template – an embedded template syntax within the main template.

  • You can also get the template of an existing resource group by exporting it.

  • With Azure Pipelines, you can continuously build and deploy ARM template projects.

Azure Resource Manager Pricing

  • You are only charged for the resources deployed by the ARM template.

 

Azure Resource Manager Cheat Sheet References:

https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/overview

https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/overview

 

Get $4 OFF in AWS Solutions Architect & Data Engineer Associate Practice Exams for $10.99 ONLY!

Tutorials Dojo portal

Be Inspired and Mentored with Cloud Career Journeys!

Tutorials Dojo portal

Enroll Now – Our Azure Certification Exam Reviewers

azure reviewers tutorials dojo

Enroll Now – Our Google Cloud Certification Exam Reviewers

Tutorials Dojo Exam Study Guide eBooks

tutorials dojo study guide eBook

FREE AWS Exam Readiness Digital Courses

Subscribe to our YouTube Channel

Tutorials Dojo YouTube Channel

FREE Intro to Cloud Computing for Beginners

FREE AWS, Azure, GCP Practice Test Samplers

Recent Posts

Written by: Gerome Pagatpatan

Gerome is a Software Engineer with 5 cloud certifications from Amazon Web Services, Microsoft Azure, and Oracle. He co-authored high-quality educational materials in the cloud computing space, which have been used by over a quarter-million people worldwide. He is also part of the AWS Community Builders program, which aims to help fellow IT professionals advance their careers in the cloud. He is passionate about education, and now it's his turn to share his knowledge, experiences, and passion for cloud computing.

AWS, Azure, and GCP Certifications are consistently among the top-paying IT certifications in the world, considering that most companies have now shifted to the cloud. Earn over $150,000 per year with an AWS, Azure, or GCP certification!

Follow us on LinkedIn, YouTube, Facebook, or join our Slack study group. More importantly, answer as many practice exams as you can to help increase your chances of passing your certification exams on your first try!

View Our AWS, Azure, and GCP Exam Reviewers Check out our FREE courses

Our Community

~98%
passing rate
Around 95-98% of our students pass the AWS Certification exams after training with our courses.
200k+
students
Over 200k enrollees choose Tutorials Dojo in preparing for their AWS Certification exams.
~4.8
ratings
Our courses are highly rated by our enrollees from all over the world.

What our students say about us?