Azure Virtual Machines

Azure VM machine extension

Azure VM Scaling

Azure VM Availability

Azure VM Powershell create

Azure VM Powershell

Terminology

Azure Virtual Machine creation checklist

Think about the following when create a new VM:

Naming a VM

Azure VM names can have up to 15 charactars on a Windows VM and 64 charactars on a Linux VM. A good convention is to include the following information in the name:

Element Example Note
Company
Location uw (US West), uew (West Europe) Identifies the region into which the resource is deployed
Product or Service service Identifies the product, application, or service that the resource supports
Operating system
Role sql, web, messaging Identifies the role of the associated resource
Environment dev, prod, QA Identifies the environment for the resource
Instance 01, 02 For resources that have more than one named instance (web servers, etc.)

For example, usc-webvmdev01 might represent the first development web server hosted in the US South Central location.

Azure VM Location and pricing

Azure VM Location

See the available Azure regios and products per region.

Azure VM pricing

When Calculating Azure VM costs think about the following elements:

There are two cost structures for Azure VM’s:

Virtual Machine Sizes

Type Example name Purpose
A - Basic A1 Basic verion of the A series for testing and development. For build servers, code repositories, low-traffic websites and web applications, micro services and small databases.
A - Standard A1 v2 General purpose version of the A series. Better CPU, Load-balancing, auto-scaling, Higher Disk IO, better availability.
B - Burstable B1S, B1MS VM instances that can burst to full capacity of the CPU using credits. When no high utilization credits are build up. Use for testing and development, low-trafic web servers, small databases and micro services.
D - General Purpose D2 v2, DS1 v2, D2 v3, D2s v3, DC2s Build for enterprise applications. DS instances for premium (Nvme) storage.
E - Memory Optimized E2 v3, E2s v3 High memory to CPU core ratio. ES instances for premium (Nvme) storage. For database servers, caches and in-memory analitycs.
F - CPU Optimized F1, F1s, F2s v2, High CPU core to memory ratio. FS instances for premium (Nvme) storage. For batch processing, web servers, analitics and gaming.
G - Godzilla G1, Gs1 Very large instances More memory and CPU power Biggist machines.. For large databases, ERP, SAP and data warehousing.
H - High performance H8, H8m, H16r, HB60rs High memory and compute power with no Hyperthreading. Optional high-troughput network interfaces (RDMA). For simulations, processing analysisor modeling computing.
L - Storage Optimized L4, L8s v2 High throughput, low latency, directly mapped local NVMe storage and large local disks. For NoSQL or Data warehousing.
M - Large Memory optimized M8ms, M32ts, M32ls Largest memory optimized virtual machines. Heavy in-memory workloads such as SAP HANA and large core counts.
N - GPU Optimized NC6, NC6 v2, NC6 v3, NV6, ND6 Ideal for compute and graphics-intensive workloads. Optional high-troughput network interfaces (RDMA). For simulation, deep learning, graphics rendering, video editing, gaming and remote visualization.
S - SAP HANA Specialized certified instances for SAP HANA.
Specializations Example Description
S DSv2 Premium Storage optio (Nvme).
M A2m_v2 Large memory configuration of instance type.
R H16mr Supports remote direct memory access (RDMA)

More information on the different machine types:

Azure Compute Units ACUs (performance)

Azure compute unit CPU Performance benchmark created by microsoft. The A1 type has a ACU of 100. A ACU of 200 is twice as fast. Hyper-threaded VM types may give less performance (2:1) but give nested virtualization options.

Virtual Machine Disks

All Azure virtual machines have at least two disks, a operating system disk and a temporary disk. Azure VM machines can have one or more data disks.

Operating System Disks

Every virtual machine has one attatched operating system disk. The OS disk has a pre-installed OS. This disk has a maximum capacity of 2,048 GiB. It’s registered as a SATA drive and labeled as the C: drive by default.

Temporary Disk

Every VM contains a temporary disk, which is not a managed disk. This disk is intended for short-term storage for applications, swap or page files. Data on this disk may be lost during maintenance or reconfiguration.

Data disks

A data disk is a managed disk that is attached to a VM to store application data. Data disks are registered as SCSI drives and are labeled with a letter that you choose. Each disk has a maximum of 4095 gibibytes. The size of the VM determines how many data disks you can attatch and the type of storage you can use.

Storage Options

You can attatch multiple storage disks to a vm up to 256 TB of storage per VM.

Azure offers two ways of sttoring disks:

See the different disk types with their speed and sizes. Smaller disks have less speed. The VM you attatch the disk also has to meet this speed requirements. The giving speeds ara maximum posible speeds on a shared platform.

Supported operating systems

Azure provides a variety of OS images. In the Azure market there are even more images of various products and vendors. If you can’t find a suitable OS image you can create your own 64-bit image and upload it to Azure sorage to create an Azure VM.

Windows server software support

All Microsoft software must be licensed correctly. Azure Windows machines have license included per default. You can also License Mobility and use Software Assurence licenses. See the license FAQ for other software license structures. Windows Server CALs are not required. RDS calls are needed!

Linux server support

Azure supports many Linux distributions and versions including CentOS by OpenLogic, Core OS, Debian, Oracle Linux, Red Hat Enterprise Linux, and Ubuntu.