Azure VM Creation using Azure CLI
- Azure CLI Setup and Configuration Refer Here
- Azure CLI is a commandline approach for creating azure resources. The commands will be in the form of
az <service> [<sub-service>] <action> --param1 <value1> ... --paramn <valuen> - Example:
az group create --name learningcli --location eastus
- Finding the CLI

- Lets find a command to view resource groups

- To use azure cli install azure cli as mentioed in the above video or Refer Here
- Now login into azure from cli
az login
- You can perform azure cli from cloud shell as well. Open the azure portal

- Ensure you have visual studio code extension for azure cli

- Lets create a Windows virtual machine
- Lets create a resource group Refer Here

- Lets create a vm Refer Here
- Lets find the image for windows vm image
az vm image list-publishers az vm image list-offers az vm image list-skus az vm image list- Lets find the image for ubuntu vm image
- Lets create a resource group Refer Here
