Step 2: Create Resource Group and Storage Account
If you are using an existing resource group, this step can be skipped.
Azure Portal
-
Login to the Azure Portal
-
Refer to Microsoft documentation to create a resource group and storage account.
-
Once Created, proceed to Upload VHD Image.
CLI Option: Azure CLI
-
Login to the Azure CLI
az login
-
Create a resource group
az group create --name <Resource Group name> --location <Azure region>
Example
az group create --name MyResourceGroup --location eastus
-
Create a storage account inside the resource group for the custom disk and VMs
az storage account create --resource-group <Resource Group> --location <Azure region> --name <storage account name> --kind Storage --sku Standard_LRS
Example
az storage account create --resource-group <Resource Group> --location eastus --name myfortinacstorage --kind Storage --sku Standard_LRS
-
Create a storage container under the created Storage account
az storage container create --account-name <storage account name> --name <storage container name>
Example
az storage container create --account-name myfortinacstorage --name mydisks