CloudWiki
Resource

Resource Group

Microsoft Azure
Management & Governance
Azure Resource Group is a logical container that allows users to organize and manage related Azure resources, such as virtual machines, storage accounts, and network interfaces, as a single unit. It provides a way to manage and monitor resources collectively, rather than individually.Resource groups are created within an Azure subscription and can be used to organize resources based on different criteria, such as environment, application, or department. Resources can be added, removed, or modified within a resource group as needed.‍
Terraform Name
terraform
azurerm_resource_group
Resource Group
attributes:

The following arguments are supported:

  • location - (Required) The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.
  • name - (Required) The Name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.
  • tags - (Optional) A mapping of tags which should be assigned to the Resource Group.

Associating resources with a
Resource Group
Resources do not "belong" to a
Resource Group
Rather, one or more Security Groups are associated to a resource.
Create
Resource Group
via Terraform:
Syntax:

resource "azurerm_resource_group" "example" {
 name     = "example"
 location = "West Europe"
}

Create
Resource Group
via CLI:
Parametres:

az group create --location
               --name
               [--managed-by]
               [--tags]

Example:

az group create -l westus -n MyResourceGroup

aws cost
Costs
Direct Cost
Indirect Cost
No items found.
Best Practices for
Resource Group

Categorized by Availability, Security & Compliance and Cost

Low
Access allowed from VPN
No items found.
Low
Auto Scaling Group not in use
No items found.
Medium
Connections towards DynamoDB should be via VPC endpoints
No items found.
Medium
Container in CrashLoopBackOff state
No items found.
Low
EC2 with GPU capabilities
No items found.
Medium
EC2 with high privileged policies
No items found.
Medium
ECS cluster delete alarm
No items found.
Critical
ECS task with Admin access (*:*)
Medium
ECS task with high privileged policies
No items found.
Critical
EKS cluster delete alarm
No items found.
Medium
ElastiCache cluster delete alarm
No items found.
Medium
Ensure Container liveness probe is configured
No items found.
Medium
Ensure ECS task definition has memory limit
No items found.
Critical
Ensure EMR cluster master nodes are not publicly accessible
No items found.
More from
Microsoft Azure