0
0
Azurecloud~30 mins

Azure Container Registry (ACR) - Mini Project: Build & Apply

Choose your learning style9 modes available
Azure Container Registry (ACR) Setup and Configuration
📖 Scenario: You are working as a cloud engineer for a small company that wants to store and manage Docker container images securely in Azure. Your task is to create an Azure Container Registry (ACR) to hold these images and configure it for basic usage.
🎯 Goal: Build a simple Azure Container Registry (ACR) resource with a specified name and resource group, configure its SKU tier, and enable the admin user for easy access.
📋 What You'll Learn
Create an Azure Container Registry resource with the exact name myContainerRegistry in the resource group myResourceGroup.
Set the SKU tier of the registry to Basic.
Enable the admin user account for the registry.
💡 Why This Matters
🌍 Real World
Companies use Azure Container Registry to store and manage Docker container images securely in the cloud, enabling easy deployment to Azure Kubernetes Service or other container platforms.
💼 Career
Cloud engineers and DevOps professionals often create and configure container registries to support containerized application deployments and continuous integration/continuous delivery (CI/CD) pipelines.
Progress0 / 4 steps
1
Create the Azure Container Registry resource
Write an Azure Resource Manager (ARM) template snippet to create an Azure Container Registry resource named myContainerRegistry in the resource group myResourceGroup. Use the resource type Microsoft.ContainerRegistry/registries and API version 2019-05-01. Set the location to eastus.
Azure
Need a hint?

Use the resource type Microsoft.ContainerRegistry/registries and set the name and location exactly as specified.

2
Set the SKU tier to Basic
Add a sku property to the Azure Container Registry resource with the name set to Basic.
Azure
Need a hint?

The sku property is an object with a name field. Set it to Basic.

3
Enable the admin user account
Inside the properties object, add the property adminUserEnabled and set it to true to enable the admin user account.
Azure
Need a hint?

Set adminUserEnabled to true inside the properties object.

4
Complete the ARM template with resource group and full structure
Wrap the Azure Container Registry resource inside a full ARM template JSON structure. Include the resources array with the registry resource, and set the resourceGroup parameter to myResourceGroup in the deployment context.
Azure
Need a hint?

Wrap the registry resource inside the resources array of a full ARM template JSON structure.