Check out my first novel, midnight's simulacra!
Azure: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
Microsoft's cloud platform, similar to Amazon's AWS or Google's GCP. | Microsoft's commodity cloud platform, similar to Amazon's AWS or Google's GCP. | ||
To get KeyVault stuff working with Debian's 2.18.0, I had to run: <tt>pip3 install azure-keyvault==1.1.0</tt> | To get KeyVault stuff working with Debian's 2.18.0, I had to run: <tt>pip3 install azure-keyvault==1.1.0</tt> | ||
Line 11: | Line 11: | ||
Azure hosts use ConnectX devices from Mellanox (now NVIDIA). ConnectX-4 needs the [https://docs.kernel.org/networking/device_drivers/ethernet/mellanox/mlx5.html mlx5_core] driver, while ConnectX-3 needs mlx4_en. It is not possible as of February 2023 to force allocation of one or the other for a given VM, and the NIC type can change if the VM is moved. Azure documentation typically refers to both classes as "SmartNICs". | Azure hosts use ConnectX devices from Mellanox (now NVIDIA). ConnectX-4 needs the [https://docs.kernel.org/networking/device_drivers/ethernet/mellanox/mlx5.html mlx5_core] driver, while ConnectX-3 needs mlx4_en. It is not possible as of February 2023 to force allocation of one or the other for a given VM, and the NIC type can change if the VM is moved. Azure documentation typically refers to both classes as "SmartNICs". | ||
The | The | ||
===Accelerated Networking=== | ===Accelerated Networking=== | ||
"Accelerated Networking" (AN) is available on most VM classes, and provides the VM with an [[SR-IOV]] Virtual Function; this will show up as a distinct interface within the VM. It can be selected at VM creation time, or whenever the VM is deallocated (stopped). Some VM classes *require* AN. | "Accelerated Networking" (AN) is available on most VM classes, and provides the VM with an [[SR-IOV]] Virtual Function; this will show up as a distinct interface within the VM. It can be selected at VM creation time, or whenever the VM is deallocated (stopped). Some VM classes *require* AN. It's wise to use explicit naming rules with AN via <tt>systemd-networkd</tt> or <tt>udev</tt>. | ||
< | |||
==VMs== | ==VMs== | ||
Line 118: | Line 112: | ||
* [https://techcommunity.microsoft.com/t5/azure-compute-blog/accelerated-networking-on-hb-hc-hbv2-hbv3-and-ndv2/ba-p/2067965 Accelerated Networking on HB, HC, HBv2, HBv3, and NDv2] (mostly about [[InfiniBand]]) | * [https://techcommunity.microsoft.com/t5/azure-compute-blog/accelerated-networking-on-hb-hc-hbv2-hbv3-and-ndv2/ba-p/2067965 Accelerated Networking on HB, HC, HBv2, HBv3, and NDv2] (mostly about [[InfiniBand]]) | ||
* [https://techcommunity.microsoft.com/t5/azure-high-performance-computing/performance-impact-of-enabling-accelerated-networking-on-hbv3/ba-p/2103451 Performance Impact of Enabling Accelerated Networking on HBv3, HBv2, and HC VMs] | * [https://techcommunity.microsoft.com/t5/azure-high-performance-computing/performance-impact-of-enabling-accelerated-networking-on-hbv3/ba-p/2103451 Performance Impact of Enabling Accelerated Networking on HBv3, HBv2, and HC VMs] | ||
Revision as of 18:07, 18 February 2023
Microsoft's commodity cloud platform, similar to Amazon's AWS or Google's GCP.
To get KeyVault stuff working with Debian's 2.18.0, I had to run: pip3 install azure-keyvault==1.1.0
CLI
- Multiplatform CLI available from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest
- On Debian-derived systems, install azure-cli
- az account list -- list subscription groups
Networking
Azure hosts use ConnectX devices from Mellanox (now NVIDIA). ConnectX-4 needs the mlx5_core driver, while ConnectX-3 needs mlx4_en. It is not possible as of February 2023 to force allocation of one or the other for a given VM, and the NIC type can change if the VM is moved. Azure documentation typically refers to both classes as "SmartNICs".
The
Accelerated Networking
"Accelerated Networking" (AN) is available on most VM classes, and provides the VM with an SR-IOV Virtual Function; this will show up as a distinct interface within the VM. It can be selected at VM creation time, or whenever the VM is deallocated (stopped). Some VM classes *require* AN. It's wise to use explicit naming rules with AN via systemd-networkd or udev.
VMs
- Fsv2: 8370C (Ice Lake), 8272CL (Cascade Lake), 8168 (Skylake), 3.4--3.7
- FX: 8246R (Cascade Lake), 4.0
- Dv2: 8370C (Ice Lake), 8272CL (Cascade Lake), 8171M (Skylake), 2673v3 (Haswell), 2673v4 (Broadwell)
- DSv2: 8370C (Ice Lake), 8272CL (Cascade Lake), 8171M (Skylake), 2673v3 (Haswell), 2673v4 (Broadwell)
- Eav4, Easv4: EPYC 7452
- H: 2667v3 without hyperthreading or SR-IOV but w/ MPI
Class | vCPUS | GiB | SSD | Disks | NICs | Mbps |
---|---|---|---|---|---|---|
F2sv2 | 2 | 4 | 16 | 4 | 2 | 5000 |
F4sv2 | 4 | 8 | 32 | 8 | 2 | 10000 |
F8sv2 | 8 | 16 | 64 | 16 | 4 | 12500 |
F16sv2 | 16 | 32 | 128 | 32 | 4 | 12500 |
F32sv2 | 32 | 64 | 256 | 32 | 8 | 16000 |
F48sv2 | 48 | 96 | 384 | 32 | 8 | 21000 |
F64sv2 | 64 | 128 | 512 | 32 | 8 | 28000 |
F72sv2 | 72 | 144 | 576 | 32 | 8 | 30000 |
FX4mds | 4 | 84 | 168 | 8 | 2 | 4000 |
FX12mds | 12 | 252 | 504 | 24 | 4 | 8000 |
FX24mds | 24 | 504 | 1008 | 32 | 4 | 16000 |
FX36mds | 36 | 756 | 1512 | 32 | 8 | 24000 |
FX48mds | 48 | 1008 | 2016 | 32 | 8 | 32000 |
D1v2 | 1 | 3.5 | 504 | 4 | 2 | 750 |
D2v2 | 2 | 7 | 100 | 8 | 2 | 1500 |
D3v2 | 4 | 14 | 200 | 16 | 4 | 3000 |
D4v2 | 8 | 28 | 400 | 32 | 8 | 6000 |
D5v2 | 16 | 56 | 800 | 64 | 8 | 12000 |
D11v2 | 2 | 14 | 100 | ? | 2 | 1500 |
D12v2 | 4 | 28 | 200 | ? | 4 | 3000 |
D13v2 | 8 | 56 | 400 | ? | 8 | 6000 |
D14v2 | 16 | 112 | 800 | ? | 8 | 12000 |
D15v2 | 20 | 140 | 1000 | ? | 8 | 25000 |
DS1v2 | 1 | 3.5 | 7 | 4 | 2 | 750 |
DS2v2 | 2 | 7 | 14 | 8 | 2 | 1500 |
DS3v2 | 4 | 14 | 28 | 16 | 4 | 3000 |
DS4v2 | 8 | 28 | 56 | 32 | 8 | 6000 |
DS5v2 | 16 | 56 | 112 | 64 | 8 | 12000 |
DS11v2 | 2 | 14 | 28 | 8 | 2 | 1500 |
DS12v2 | 4 | 28 | 56 | 16 | 4 | 3000 |
DS13v2 | 8 | 56 | 112 | 32 | 8 | 6000 |
DS14v2 | 16 | 112 | 224 | 64 | 8 | 12000 |
DS15v2 | 20 | 140 | 280 | 64 | 8 | 25000 |
H8 | 8 | 56 | 1000 | 32 | 2 | ? |
H16 | 16 | 112 | 2000 | 64 | 4 | ? |
H8m | 8 | 112 | 1000 | 32 | 2 | ? |
H16m | 16 | 224 | 2000 | 64 | 4 | ? |
H16r | 16 | 112 | 2000 | 64 | 4 | ? |
H16mr | 16 | 224 | 2000 | 64 | 4 | ? |
NUMA (multipackage) machines are only available from the HB class.