AZ CLI를 사용하여 VM 생성하기


az group list -o table
az account list-locations -o table
az group create -n linuxRG -l eastus

az network vnet list -o table
az network vnet create -n linuxVNet -g linuxRG

az vm list -o table
az vm image list -o table
az vm list-sizes -l eastus -o table

az vm create -n linux -g linuxRG -l eastus –vnet-name linuxVNet –image centos –admin-username adminuser –admin-password Peace91911234 –size Standard_DS2_v2 –no-wait

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s