Last active
July 11, 2021 05:56
-
-
Save subhendu-de/0bc8f4821523be19e708af3be5e972d3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Log in to Azure and authenticate interactively | |
az login | |
REM Create the Azure linux vm with Ubuntu LTS distro | |
REM The resource group myResourceGroups should exists else create it | |
az vm create ^ | |
--resource-group myResourceGroups ^ | |
--name ubuntu-vm-21102020 ^ | |
--image UbuntuLTS ^ | |
--admin-username azureuser ^ | |
--generate-ssh-keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment