In this Learning Path, you’ll create an Azure Resource Manager template that deploys a Linux virtual machine powered by Azure Cobalt 100 processors. The template defines the virtual machine, networking, security settings, and SSH authentication required for deployment.
By using Azure Resource Manager templates, you can deploy infrastructure consistently across environments, reduce configuration errors, and integrate infrastructure provisioning into CI/CD workflows.
An Azure Resource Manager template is a JSON file that defines the infrastructure and configuration you want to deploy in Azure. This approach is known as Infrastructure as Code (IaC).
When you deploy a template, Azure Resource Manager:
Using templates allows you to version control infrastructure alongside application code and automate deployments across environments.
To complete this Learning Path, you need:
If you don’t have an SSH key pair, create one now. On Linux or macOS, run:
ssh-keygen -t rsa -b 4096 -f ~/.ssh/azure_cobalt_key
When prompted, you can enter a passphrase for added security or press Enter to skip it.
This creates two files:
~/.ssh/azure_cobalt_key (private key - keep this secure)~/.ssh/azure_cobalt_key.pub (public key - you’ll use this in the template)Before deploying resources, authenticate with Azure:
az login
This command opens your browser to complete the authentication process. After signing in, the Azure CLI displays your available subscriptions.
If you have multiple Azure subscriptions, set the one you want to use:
az account set --subscription "Your Subscription Name"
You can list your subscriptions with:
az account list --output table
Confirm your Azure CLI is properly configured by checking your current subscription:
az account show --output table
The output displays details about your active subscription, including the subscription ID and tenant ID.
You’ve authenticated with Azure, configured your active subscription, and generated SSH keys for secure VM access. Your development environment is ready for creating Azure Resource Manager templates.
Next, you’ll create the Resource Manager template that defines your Cobalt 100 VM infrastructure.