1.1. Provision VMs & Configure VMs For Remote Access
1.1. Provision VMs & Configure VMs For Remote Access
PowerShell
Tutorial
ARM templates
CLI
Availability sets
VMs
Scale sets
Client SDK
1. Resource Group
2. Name
4. Virtual Network
Virtual networks (VNets) are used to provide private
connectivity between Azure Virtual Machines and other
Azure services.
Network 5. Subnet
A group that can undergo maintenance or be rebooted at
the same time
Open ports
7. Public IP address
Base OS images
32/64 bit OS
9. Credentials
Percentage of time a service is available for use VM size can be changed while the VM is running but only
to a size that is supported by the running hardware
10. Size
Physical cluster
Changing sizes
Failure
Update failure If a VM is stopped deallocated, any available VM size can
Requirements
be selected as the VM is removed from the VM cluster
Logically grouping related VMs to avoid single point of
failure during host maintenance 11. Open ports
Replicate using Azure Site Recovery Failover across locations Additional disks can be added depending on the VM size Two per CPU on average
Test failovers for recovery drills without impacting
production environments
Data for each VHD is held in Azure Storage as page blobs Only used storage is allocated & billed
create and manage a group of load balanced VMs
Standard HDD
Why? Types
number of VM instances can automatically increase or
decrease in response to demand or a defined schedule Premium SSD
OS Disks User is responsible for the storage accounts that are used
to hold the VHDs
OS disk
VM 12. Storage 40 Standard disks at full utilization
Data disk Unmanaged 1 storage account
Fixed-rate limit of 20,000 I/O operations/sec
May not be able to access KeyVault and other services Provision VMs
do not have an osProfile Multiple storage accounts & manual operation will need to
Can use a managaed identity instead Shared Image Gallery scale-out
Specialised Up to 4 TB
boot faster Managing Availability
Image types Managing
VMs will have the Computer name of the VM the image Storage accounts and disks are managed by Azure
was taken from
Users don't have to worry about storage account limits
removes machine and user specific information from the
Generalised Managed Increased reliability
VM
can write scripts in any language that runs on the source Better security
VM. These scripts can be used to install applications or Azure Custom Script Extension Advantages
configure the VM as desired Scale sets Snapshot support
SQL, SharePoint & Exchange backup Types knife tool to deploy VMs
Hard to manage
Encryption
Samples
Port 22
Create NSG
Opening ports
Create rules in the NSG
Software firewall
Source
Destination
Allow/Deny
Optional