Ferro's Gitbook
  • README
  • DevOps
    • Grafana_Cloud
  • OpenWrt
    • DHCP_DNS
    • GLiNet
    • boot
    • captive_portal
    • luci
    • mwan3
    • radius
    • theme
    • wireless
  • apps
    • web
  • BSD
    • Mac
  • Cloud
    • aws
    • azure
    • cf
    • gcp
    • github
    • ibm_bluemix
    • Pricing
  • container
    • docker
    • Kubernetes
    • podman
  • db
    • InfluxDB
    • loki
    • MySQL & MariaDB
    • Oracle
    • PostgreSQL
  • dev
    • AHK
    • BI
    • LBS
    • ML
    • android
    • editor
    • flutter_web
    • git
    • go
    • HTML5/BS
    • j2ee
    • js
    • js_grid
    • js_vue
    • jupyter
    • ocaml
    • powershell
    • py
    • py_GUI
    • Django
    • shell
    • snippets
    • uni
    • vba
    • wechat.zh
    • wechat_mp.zh
  • elec
    • 3D Printing
    • AC
    • MOSFET
    • battery
    • boost
    • bulk
    • metal
    • simulator
  • hw
    • GPU
    • PCI
    • arduino
    • Bluetooth
    • ent
    • Pinout
    • x86_AMD
    • x86_intel
  • linux
    • Test System
    • X
    • arch
    • fs
    • kernel
    • Memory
    • nw
    • Linux Services
    • Systemd
    • text
  • ms
    • vscode
    • windows
    • wsl
  • multimedia
    • Blender
    • audio
    • blender
    • graphics
    • home
  • nw
    • L3
    • L3_IPv6
    • SDN
    • VPN
    • dns
    • hw
    • Low Level
    • mikrotik
    • mwan
    • Openflow
    • OVS
    • pfsense
    • ppp
    • proxy
    • tsocks
    • pxe
    • Security
    • TCP
  • phone
    • Mi
    • android
  • Storage(SW)
  • vt
    • Intel GVT-g
    • PVE
    • QEMU
    • VDI
    • hyper-v
    • kube
    • libvirt
    • OpenStack
  • Web
    • IBM_MQ
    • IBM_Websphere
    • SSL
    • Apache/IBM_IHS
    • blockchain
    • caddy
    • j2ee
    • nginx
    • static_site
Powered by GitBook
On this page
  • Console
  • Services free for 12 months
  • storage
  • cli
  • vm
  • disk
  • network lb

Was this helpful?

Edit on Git
  1. Cloud

azure

PreviousawsNextcf

Last updated 2 years ago

Was this helpful?

Console

Services free for 12 months

https://portal.azure.com/#blade/Microsoft_Azure_Billing/FreeServicesBlade

https://portal.azure.com/#blade/Microsoft_Azure_Billing/SubscriptionsBlade -- click subscription -> "Overview"

storage

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disks-types

Ultra disk
Premium SSD
Standard SSD
Standard HDD

Max throughput

2,000 MiB/s

900 MiB/s

750 MiB/s

500 MiB/s

Max IOPS

160,000

20,000

6,000

2,000

Premium SSD sizes
P1*
P2*
P3*
P4
P6
P10
P15
P20
P30
P40
P50
P60
P70
P80

Disk size in GiB

4

8

16

32

64

128

256

512

1,024

2,048

4,096

8,192

16,384

32,767

IOPS per disk

120

120

120

120

240

500

1,100

2,300

5,000

7,500

7,500

16,000

18,000

20,000

cli

https://shell.azure.com/bash

# Powershell
Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'

# Linux apt
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash

# Linux all
curl -L https://aka.ms/InstallAzureCli | bash

docker run -it -v ${HOME}/.ssh:/root/.ssh mcr.microsoft.com/azure-cli

az login
az resource list

vm

https://docs.microsoft.com/en-us/cli/azure/vm?view=azure-cli-latest

az vm list --output table --show-details
az vm stop/deallocate/start --resource-group linux --name ubuntu-2     

deallocate to stop billing & disk update

disk

https://docs.microsoft.com/en-us/cli/azure/disk?view=azure-cli-latest#az-disk-update

Locally-redundant storage (LRS)

az disk list --resource-group linux --output table
az disk update --resource-group linux --name ubuntu-2_OsDisk_1_74250d56f08040e1a48f38b9198148f7 --size-gb 32 # Reducing disk/snapshot size is not supported. create new snapshot/disks.
az disk update --resource-group linux --name ubuntu-2_OsDisk_1_74250d56f08040e1a48f38b9198148f7 --sku Premium_LRS

az disk create --location eastasia --sku Premium_LRS -g linux -n data-1 --size-gb 10

https://docs.microsoft.com/en-us/cli/azure/vm/disk?view=azure-cli-latest#az-vm-disk-attach

az vm disk attach -g linux --vm-name ubuntu-2 --name data-1 # --new

network lb

inbound-nat-rule

https://docs.microsoft.com/en-us/cli/azure/network/lb/inbound-nat-rule?view=azure-cli-latest#az_network_lb_inbound_nat_rule_create

Console
Services free for 12 months
storage
cli
vm
disk
network lb
inbound-nat-rule