Creating Resources with Azure CLI

Length: 00:13:13

Lesson Summary:

Let the rubber hit the road; it's time to get building. In this lesson we're going to put in practice all of the concepts we've learned so far. We have a fictitious scenario and must create some infrastructure according to a basic design.

This video shows how we can use our knowledge to create real resources within Azure.

Commands Used In This Lesson

  • Creating a resource group: az group create --name firstempire-rg --location australiasoutheast
  • Creating another resource group: az group create -n hammeroftruth-rg -l "Australia Southeast"
  • Creating a storage account: az storage account create -n firstempirestore1 -g firstempire-rg
  • Creating a vnet with a multi-line command: az network vnet create \
    --name firstempire-vnet1 \
    --resource-group firstempire-rg \
    --address-prefixes 10.1.0.0/16
  • Listing all vnets: az network vnet list
  • Showing a specific vnet: az network vnet show --ids <RESOURCEID>

All commands used in this lesson if you wish to follow along:

az group create -h
az group create --name firstempire-rg --location australiasoutheast
az group create -n hammeroftruth-rg -l Australia Southeast
az group create -n hammeroftruth-rg -l "Australia Southeast"

az storage
az storage -h
az storage account
az storage account create
az storage account create -h 
az storage account create -n firstempirestore1 -g firstempire-rg

az network vnet create -h
az network vnet create \
--name firstempire-vnet1 \
--resource-group firstempire-rg \
--address-prefixes 10.1.0.0/16

az network vnet list
az network vnet show
az network vnet show --ids RESOURCEID


This lesson is only available to Linux Academy members.

Sign Up To View This Lesson
Or Log In

Looking For Team Training?

Learn More