Azure
Create account
Azure CLI 2.0
Install, brew update && brew install azure-cli
az login, login Azure system
Create a group
- az group create --name groupName --location eastus
- az group show --name groupName, show group information
Create a virtual machine
- az vm create --resource-group groupName --name virtualMachineName --image UbuntuLTS --admin-username adminName
- az vm show --resource-group groupName --name virtualMachineName, show the informaiton of a virtual machine
Cleanup
- az group delete --name groupName --no-wait, remove all resources in a resource group
az logout, logout Azure system
Documentation
Azure portal
http://portal.azure.com
ssh lchen@137.117.38.241
DNS: vpcs.eastus.cloudapp.azure.com
Tutorial
Tutorial
Disk
- Operating system disk, hosts the VM operating system, /dev/sda, /
- Temporary disk, a solid-state drive that is located on the same Azure host as the VM, /dev/sdb, /mnt
Network
- Dynamic IP addresses are released when a VM is deallocated
Backup and restore
- Enabled backup, every day at 11:30 P.M.
Where to check invoice: Azure portal, Azure account
Set a $20 alert on 09.15.2018
Reference