Curated articles, resources, tips and trends from the DevOps World.
Summary: This is a summary of an article originally published by the source. Read the full original article here →
az vm create \ — resource-group learn-b60a8aaa-ef0b-4e8e-9151–324e896d6b32 \ — location westus \ — name SampleVM \ — image UbuntuLTS \ — admin-username azureuser \ — generate-ssh-keys \ — verbose When Creating a VM you are given a public IP address that can be accessed over the internet, and a private IP address used within Azure Data Center.
You can use the following command to list the available VM images: az vm image list — output table
You can get a list of available sizes using this command in Azure Cloud Shell az vm list-sizes — location eastus — output table
This next command is a useful command in case you forgot to capture the IP address or if it changes: vm list-ip-addresses az vm list-ip-addresses -n SampleVM -o table
Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com