Skip to main content

Command Palette

Search for a command to run...

Azure Zero to Hero Day - 3

Updated
3 min read
Azure Zero to Hero Day - 3

Azure Resources, Resource Groups and Resource Manager

Resources in Azure

Resource is an instance of a service or component provided by Microsoft azure. These resources include virtual machines, storage accounts, databases, networking components, and more.

Azure Resources can be categorized into different types, such as compute resources, storage resources, networking resources, database resources, and more. Examples of Azure Resources include Azure Virtual Machines, Azure Blob Storage, Azure SQL Database, Azure App Service, etc.

Resource Groups in Azure

A Resource Group in Azure is collection or grouping of resources. it is basically used for tracking resources. Resource Groups allow you to treat your resources as a single entity for management, billing, and access control. By placing resources that share the same lifecycle, such as an application and its associated databases, in the same resource group, you can manage them together. Each resource can exist in only one resource group.

Key characteristics of Resource Groups

  • Lifecycle Management: Resources within a Resource Group can be deployed, updated, and deleted together. This simplifies management and resource tracking.

  • Access Control: Permissions can be assigned at the Resource Group level, allowing you to control who can access and manage the resources within that group.

Why resource groups ?

Management and Monitoring: Resource Groups enable you to manage and monitor resources collectively. Operations such as deploying, updating, and deleting resources can be performed on an entire Resource Group at once.

Billing and Cost Management: Resource Groups help with tracking and managing costs as Azure bills are often presented based on Resource Groups.

Access Control: Azure RBAC (Role-Based Access Control) is applied at the Resource Group level. This means you can control access to all resources within a Resource Group based on user roles and permissions.

How to create resource groups ?

Click on resource group tab and click on create button to create resource group.

Give name of Resource group, give tag if you want and click on review+create button.

In resource groups list you will see created group.

During creation of virtual machine you will see name of created resource group which is mandatory, select region & zones.

After Downloading key pair click on review and create and your virtual machine get created. In resource groups section you will see your resources and virtual machine.

How to manage your azure resources ?

Azure Subscriptions:

Organize by Purpose: Consider creating separate Azure subscriptions based on the purpose or business unit. For example, have separate subscriptions for production, development, and testing environments.

Resource Groups:

Logical Grouping: Organize resources within each subscription into logical Resource Groups based on projects, applications, or environments.

Azure Resource Manager Overview

Azure Resource Manager(ARM) is the deployment and management service for Azure. It provides a management layer that enables you to create, update, and delete resources in your Azure account. You use management features, like access control, locks, and tags, to secure and organize your resources after deployment.

When you send a request through any of the Azure APIs, tools, or SDKs Resource Manager receives the request. It authenticates and authorizes the request before forwarding it to the appropriate Azure service. Because all requests are handled through the same API, you see consistent results and capabilities in all the different tools.

The following image shows the role Azure Resource Manager plays in handling Azure requests.

All capabilities that are available in the portal are also available through PowerShell, Azure CLI, REST APIs, and client SDKs.