Docsity

70-533 summary June 2017, Summaries of Computer science

Toggle sidebar
bg1
Implementing Microsoft Azure Infrastructure solutions - 70-533C – summary 2017
1. Introduction
Cloud characteristics
•On-demand self-service
•Broad network access: cloud services are accessed over a network
•Resource pooling: resources shared between cloud customers
•Rapid elasticity: scale dynamically
•Measured service: metering capability
Cloud advantages:
•Managed datacenter (by cloud provider)
•Reduced or eliminated capital expenditure
•Lower operational costs
•Server consolidation
•Better flexibility and speed
Cloud deployment models:
•Public
•Private
•Hybrid
Cloud types:
•SaaS
•PaaS
•IaaS + IDaaS (Identity Mngt), DRaaS (Disaster Recovery)
Overview of Azure services
Compute Networking Data & Storage Web & Mobile
Service Fabric
Container Service
Azure Virtual Machines
Azure Cloud Services
Virtual Network
Azure DNS
Application Gateway
Traffic Manager
ExpressRoute
Load Balancer
Storage
DocumentDB
Azure SQL Database
StorSimple
Web Apps
Mobile Apps
Notification Hub
Other Services
Service Bus
Azure AD
Azure AD DS
MFA
Automation
Scheduler
Azure Backup
Azure Site Recovery
Key Vault
Azure Security Center
Compute hosting options
•App Service & App Service Environment:
•Languages: ASP.NET, PHP, Node.js, Python
•Can integrate with other Azure services (SQL, Service Bus, Storage, A-AD)
•Publish via: MS Web Deploy, Visual Studio, Git, GitHub, FTP, BitBucket, CodePlex, Mercurial,
Dropbox, (MS) TFS, VSTS
•Multi-tier, dedicated environment for: web apps, mobile apps, logic apps
•VNet integrated
•Cloud Services:
•Multi-tier, scalability for Windows based web apps
•Tightly integrated with Windows VMs -> registry modifications, Windows Installer based installs
•Virtual Machines:
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e

Partial preview of the text

Download 70-533 summary June 2017 and more Summaries Computer science in PDF only on Docsity!

Implementing Microsoft Azure Infrastructure solutions - 70-533C – summary 2017

1. Introduction

Cloud characteristics

• On-demand self-service

• Broad network access: cloud services are accessed over a network

• Resource pooling: resources shared between cloud customers

• Rapid elasticity: scale dynamically

• Measured service: metering capability

Cloud advantages:

• Managed datacenter (by cloud provider)

• Reduced or eliminated capital expenditure

• Lower operational costs

• Server consolidation

• Better flexibility and speed

Cloud deployment models:

• Public

• Private

• Hybrid

Cloud types:

• SaaS

• PaaS

• IaaS + IDaaS (Identity Mngt), DRaaS (Disaster Recovery)

Overview of Azure services

Compute Networking Data & Storage Web & Mobile

Service Fabric Container Service Azure Virtual Machines Azure Cloud Services

Virtual Network Azure DNS Application Gateway Traffic Manager ExpressRoute Load Balancer

Storage DocumentDB Azure SQL Database StorSimple

Web Apps Mobile Apps Notification Hub

Other Services Service Bus Azure AD Azure AD DS MFA

Automation Scheduler Azure Backup Azure Site Recovery

Key Vault Azure Security Center

Compute hosting options

• App Service & App Service Environment:

• Languages: ASP.NET, PHP, Node.js, Python

• Can integrate with other Azure services (SQL, Service Bus, Storage, A-AD)

• Publish via: MS Web Deploy, Visual Studio, Git, GitHub, FTP, BitBucket, CodePlex, Mercurial,

Dropbox, (MS) TFS, VSTS

• Multi-tier, dedicated environment for: web apps, mobile apps, logic apps

• VNet integrated

• Cloud Services:

• Multi-tier, scalability for Windows based web apps

• Tightly integrated with Windows VMs -> registry modifications, Windows Installer based installs

• Virtual Machines:

• Control over OS

• Need to maintain OS

• Service Bus:

• micro services based: smaller services than Azure Cloud Services

• Containers

• Virtualization of the OS (internally):

• Comparison with VMs:

Feature Virtual Machines Containers Isolation mechanism In hypervisor OS support Memory required Includes OS + app Only app Startup time Includes OS + app + dependencies

App & dependencies

Portability Larger image, includes OS More portable, only app & dependencies Image automation Depends on OS and apps Based on Docker registry

• Advantages

■ Increased speed developing & sharing application code

■ Improved lifecycle for testing applications

■ Improved deployment process for applications

■ Increased density of workloads -> better resource utilization

• Azure container options

■ Docker VM extension

• Installed later with script, or in template or with powershell

■ Docker VM image from Marketplace

■ Docker Machine: CLI to admin Docker

■ Azure Container Service:

• Manage containerized apps

• Manages for you: VM’s & scale sets, networks, storage, load balancers

with Mesosphere Datacenter Operating System (DC/OS) or Docker Swarm

• Azure service model

• Pay per use

• Multi tenancy

• Purchase options

■ Pay-As-You-Go

■ Microsoft reseller

■ Enterprise Agreement

• Support options

■ Developer for test & non-production, response time < 8 hours

■ Standard idem + response time < 2 hours

■ Professional Direct idem + response time < 1 hour

basic advisory services, pooled support account management, escalation management

■ Premier idem + response time < 15 minutes

Customer specific advisory services, dedicated support account manager, cloud service dependency mapping, onsite services

• Others

■ Azure Marketplace: thousands, certified, open source & community apps & services

■ GitHub: APIs, SDKs etc.

■ Azure Trust Center: Information & guidance on security, privacy & compliance

• Azure management tools

• Portals

■ Classic Portal: Page per Azure service, + All Items, + Settings (subscription wide)

■ Portal: Dashboard, Blades per (sub)item, Hub menu: items: Home, Notifications,

Browse, Billing(!new!, view only), New

■ Account Portal: To manage payment methods & subscriptions

■ Metrics: different per service, VMs: IO (disk, network), CPU% etc.

2. Azure Networking

• VNet: Virtual Network

• No need to manage infrastructure

• Routing between subnets in VNet automatically available

• Virtual machines can access Internet (also outbound) and resolve DNS by default.

• IP addresses managed with DHCP by Azure

• Machines get infinite lease, but stopping machine releases lease and thus IP

• Configure static IP (from subnet’s range) to avoid changes

• Static IP is reserved lease, configured on NIC (New-AzureRmNetworkInterface … -PrivateIPAddress

• Access from Internet to VM requires public IP address (or LoadBalancer in front of VM)

ASM only:

■ VNet contained in ‘cloud service’

• DIP: Dynamic Internal IP address: used for communicating inside cloud service

• VIP: Virtual IP: To communicate with cloud service (from outside)

• ILPIP: Instance Level Public IP: Associated with VM, allows direct connection from

Internet -> VM

■ VMs can be created without VNet

■ VMs in same cloud service of VNet can communicate directly between each other, outside

cloud service via public IP & port of cloud service.

■ Endpoint in cloud service represented by VIP & port number

• PowerShell ARM:

■ $vnet = New-AzureRmVirtualNetwork –ResGrp/Loc .. –Name .. –AddressPrefix .. (CIDR)

■ $subnet = New-AzureRmVirtualNetworkSubnetConfig – Name Subnet –VirtualNetwork $vnet –

AddessPrefix # Adding subnet to VNet requires updating VNet definition first,

■ Set-AzureRmVirtualNetwork –Name $vnet # then pushing that definition on VNet

• PowerShell ASM: StaticIP :

■ Test-AzureStaticVNetIP -VnetName … -IPaddress x.y.z.w # Test availability

■ Get-AzureVM –ServiceName .. -Name .. | Set-AzureStaticVNetIP –Ipaddress ‘x.y.z.w’ | Update-

AzureVM # Set IP-address static ReservedIP for new VM :

■ $ReservedIP = New-AzureReservedIP –ReservedIPName .. -Label .. –Location ..

■ New-AzureVMConfig –Name .. –InstanceSize .. –ImageName .. | Add-AzureProvisioningConfig –

Windows –AdminUserName .. Password .. | New-AzureVM –ServiceName .. –ReservedIPName $ReservedIP –Loc .. InstanceLevel PIP (PublicIP) for existing VM :

■ Get-AzureVM –Name .. –InstanceSize .. | Set-AzurePublicIP –PublicIPName xxx | Update-AzureVM

Configure network via XML file

■ Get/Set-AzureVNetConfig –ConfigurationPath C:\configs\VnetConfig

• IP addresses

• Record scavenging must be turned off: otherwise records could be removed for VMs

that still use the infinite DHCP lease

• DNS recursion must be enabled

• Must be accessible on TCP/UDP port 53 from all VMs

• Azure Load Balancer

• Internal load balancer: in VNet, between VNets and/or on-premises

• Internet facing load balancer: load balance incoming Internet traffic

• Configuration requires

■ Front-end IP configuration: 1 or more IP addresses

■ Back-end address pool: which IPs to send traffic to

■ Load balancing rules: determine how to distribute traffic

■ Probes: verify health and availability of VMs in back-end pool

■ Inbound NAT rules

• ASM Load Balancer can balance load over VMs and Web & Worker roles in cloud service

• Procedure:

■ Create resource group

■ Create VNet

■ Add subnet to VNet definition

■ Set VNet to match new VNet definition

■ Create PublicIP

■ Create FrontEnd IP configuration

■ Create BackEnd IP address pool

■ Create NAT rule(s)

■ Create Health probe

■ Create Load Balancer

■ Create NICs (in BackEnd pool range/subnet)

■ Update NIC with address from BackEnd pool range/subnet

• Application Gateway:

• Routing & load balancing at application layer: “layer 7 load balancer”. To:

■ Azure VMs

■ Cloud Services

■ WebApps

■ External websites / webservices

• Scenario’s:

■ SSL offload

■ Cookie-based affinity

■ URL path-based routing

• Azure Traffic Manager: DNS based load balancing solution: load balance globally, to different Azure regions,

other cloud providers or on-premises etc.

• Network Security Groups: defines rules of allowed/denied traffic -> isolates VMs or subnets

• Properties of rules in NSG

■ Name Name of rule in NSG

■ Direction Inbound/Outbound

■ Priority If multiple rules match, highest priority (lowest number) is chosen

■ Access Allow or Deny

■ Source IP address prefix Single IP, CIDR or * wildcard

■ Source port range Single number, range (i.e. 217-1719) or * wildcard

■ Destination IP address prefix Single IP, CIDR or * wildcard

■ Destination port range Single number, range (i.e. 217-1719) or * wildcard

■ Protocol TCP, UDP, or * (* also includes ICMP)

• Default rules:

■ Are defined for inbound and outbound automatically

■ Allow: all in VNet, outbound to Internet, inbound Azure Load Balancer health probes

■ Have lowest priority, so can be overwritten

• Custom rules allow predefined tags (src. or dest.): “Internet”, “Virtual_Network”, “Azure_loadbalancer”

• Associated with subnet or NIC (ARM), or subnet and VM (ASM)

• Limits:

■ Only 1 NSG per subnet (ARM & ASM), VM (ASM) or NIC (ARM)

■ Max. 100 NSGs per subscription per region (soft limit), 400 hard limit

■ Max. 200 rules per NSG (soft limit), 500 hard limit

• PowerShell:

■ New-AzureRmNetworkSecurityGroup –ResGrp/Loc .. –Name …

• User-defined routes: Modify default routing Azure, separate Azure resources, associated with subnets

• Rules in Azure system routes

■ Local virtual network: allows communications in VNet

■ On-premises rule: created when you configure Hybrid VPN, redirects outbound traffic to VPN

gateway.

■ Internet rule: default route to Internet

• Can be overwritten with User-Defined Routes:

■ Address prefix: destination address range in CIDR

■ Next hop type:

• Local: directly accessible in VNet (i.e. different subnet(s))

• VPN Gateway: destination reachable via VPN Gateway

• Internet: Destination on public Internet, uses Azure Infra provided Internet rule

■ Uses PKI: self-signed or internal – server & client certificate.

■ Uses VPN support in OS, and client specific VP configuration packages

■ Cost: VPN Gateway machines, & outgoing traffic (first 5GB per month free)

■ PowerShell:

• $vnet = New-AzureRmVirtualNetwork –Res.Grp.. –Loc .. –Name .. -AddressPrefix ..

• Add-AzureRmVirtualNetworkSubnetConfig … -VirtualNetwork $vnet … (2: frontend & gw)

• $pip = New-AzureRmPublicIPAddress ….

• $ipcfg = New-AzureRmVirtualNetworkGatewayIPConfig … -Subnet $gwsubnet –PublicIP $pip

• Set-AzureRmVirtualNetwork –VirtualNetwork $vnet ----

• Certificates: with makecert.exe, dump cer file in $RootCerString

• $RootCer = New-AzureRmVpnClientRootCertificate –name .. –PublicCertData $RootCerString

• New-AzureRmVirtualNetworkGateway –ResGrp/Loc –Name .. –IpConfigurations $ipcfg –

GatewayType vpn –VpnType routebased –EnableBgp $false –GatewaySku … - VpnClientAddressPool “CIDR” –VpnClientRootCertificates $RootCer

• Get-AzureRmVpnClientPackage … (or download in portal)

• Site-to-site VPN:

■ On-premises network to Azure VNet via IPSEC tunnel

■ IPSEC: pre-shared key 1-128 characters long

■ Requires on-premises VPN component

• Hardware

• Software: i.e. RRAS (Routing & Remote Access Service) on Windows

■ Requires changing on-premises routing configuration: route Azure VNet through VPN

■ Bandwidth also max. 200Mpbs, shared between Point-Site & Site-Site on same gateway

■ For dev/test/lab environments that need on-premises connectivity, or small hybrid production

■ MS offers configuration instructions for validated VPN devices

■ VPN requires traffic through firewall: IP protocol 50, UDP ports 500 and 4500

■ Cost: VPN Gateway machines, & outgoing traffic ( not first 5GB free)

■ SLA 99,9%: redundant VPN Gateways devices on-premises may be used if vendor supports it

■ PowerShell

• $vnet = New-AzureRmVirtualNetwork –Res.Group.. –Loc .. –Name .. -AddressPrefix ..

• Add-AzureRmVirtualNetworkSubnetConfig … -VirtualNetwork $vnet … (2: frontend & gw)

• Set-AzureRmVirtualNetwork –VirtualNetwork $vnet ----

• $local = New-AzureRmLocalNetworkGateway –Name .. –Res.Grp/Loc .. –AddressPrefix … -

GatewayIpAddress ‘x.y.z.w’

• $pip = New-AzureRmPublicIPAddress ….

• $ipcfg = New-AzureRmVirtualNetworkGatewayIPConfig … -Subnet $gwsubnet –PublicIP $pip

• $gw = New-AzureRmVirtualNetworkGateway –ResGrp/Loc –Name .. –IpConfigurations $ipcfg

–GatewayType vpn –VpnType routebased

• New-AzureRmVirtualNetworkGatewayConnection –Name .. –RsgGrp/Loc .. –

VirtualNetworkGateway1 $gw –LocalNetworkGateway2 $local –ConnectionType IPsec – RoutingWeight 10 –SharedKey ‘xxxx’

• Get-AzureRmVirtualNetworkGatewayConnection –Name .. –RsgGrp –Debug # verify

connectivity

• ExpressRoute:

■ On-premises network to Azure VNet via private connection, by connection service provider

■ Links to multiple Azure VNets (in multiple regions), using multiple gateways

■ Predictable performance, because not reliant on Internet

■ Public peering allows direct connections to Azure services that are not part of VNet (storage,

keyvault, AzureAD, …)

■ Higher bandwidth: 10Gbps per circuit & per gateway.

■ For enterprise & mission critical workloads; Azure as DR, backup & hybrid big data, big

compute

■ Peering options

• Private peering: With VNets: Standard max. 10, Premium max. 100

• Public peering: To Azure services with public endpoints,

• Incl: Storage, AzureSQL, etc.

• Excl: AzureCDN, VSTS Load testing, AzureMFA, Azure Traffic Manager

• Microsoft peering: Office 365 and Microsoft Dynamics CRM Online

■ Physical connection + logical circuit

■ Logical circuits identified by Service Key = GUID

■ Each circuit supports all 3 peering options

■ Each circuit has specific nominal bandwidth (50Mbps – 10 Gbps)

■ Bandwidth can be changed without re-provisioning circuit

■ 3 ExpressRoute connectivity models

• Co-location in facility hosting Express Route exchange provider: facilitates private

routing to MS Cloud using Layer 2 or managed Layer 3 cross-connect with exchange provider

• Layer 2 or managed Layer 3 connection to ExpressRoute point2point provider

• Any2any (IPVPN) network, commonly MPLS cloud with WAN provider -> L3 -> MS

Cloud

■ Relies on BGP, requires ASNs with public prefixes (=globally unique)

■ Customer can advertise 4k prefixes (Standard), 10k (Premium)

■ Requires IP-ranges:

• /29 or 2x /30 for each peering type: each facilitating separate BGP session

• 2 sessions needed for ExpressRoute availability SLA

• Private IP-addresses work for Private Peering only. Public IP’s for all peering types.

■ Billing models

• Unlimited data: monthly fee

■ Policy Based

• IPSEC policy determines what traffic to encrypt & tunnel traffic based on source/target

IP address range

■ Route Based

• Routing table forwards traffic to IPSEC interface, which encrypts and tunnels all.

■ Other characteristics:

Dev. type (old name) Point2Site Site2Site Encryption Hash Policy based (static) Not supported Only 1 tunnel! IKEv1, AES256, AES128 SHA1 (SHA128) Route based (dynamic) Supported See SKU below IKEv2, AES256, 3DES

(IKE Phase 1 setup)

SHA1(SHA128) + SHA2 (SHA256)

(IKE Phase 1 setup) Perfect Forward Secrecy with DH Group1, 2, 5, 14, 24

• VPN gateway SKUs:

VPN gateway VPN gateways ExpressRoute Device types? BGP? VPN tunnels/gateway SLA SKUs Site2Site Point2Site %

Basic 1)^ 100 Mbps max.^ 500 Mbps max.^ Policy & route based^ No^ 10 max. (route based only)^ 99, Standard1)^ 100 Mbps max. 1000 Mbps max. Route based Yes 10 max. 99,

High Perf. 1)^ 200 Mbps max.^ 2000 Mbps max.^ Route based^ Yes^ 30 max.^ 99, Ultra-Perf. 1)^ Not available 10 Gbps max. Not applicable - - 99,

VpnGw1 500 Mbps 30 256 99, VpnGw2 1 Gbps 30 512 99, VpnGw3 1,25 Gbps 30 512 99,

Note: 1) Deprecated

• BGP support allows:

■ Transitive routing between on-premises and multiple Azure networks

■ Active-active Site-to-Site VPNs to the same on-premises network, with automatic failover

• SKU of VPN gateway can be changed as needed, but not device/connectivity types

3. Implementing Virtual Machines

• Hyper-V used as virtualization platform

• Specific pre-defined system sizes: Data disk max. 1TB, up to 64TB using multi-disk volumes

June 2017: max. 4TB (, up to max. 256TB using multi-disk volumes?)

• Basic Tier: Development & test workloads + Does not support load-balancing and auto-

scaling

Basic A Mem Local HDD Disks IOPS NICs Type Cores GB GB # 300 /disk # A0 \ Basic_A0 1 0,768 20 1 300 2 A1 \ Basic_A1 1 1,75 40 2 600 2 A2 \ Basic_A2 2 3,5 60 4 1.200 2 A3 \ Basic_A3 4 7 120 8 2.400 2 A4 \ Basic_A4 8 14 240 16 4.800 2

• Standard Tier: Series categorized:

■ General Purpose D=A+LocalSSD Dv2=D+35% CPU S=premium storage

Standard DSv2 Mem Local cache = SSD Size Disk 1600-24 /disk NICs Type Cores GB GB IOPS MBps GB # IOPS MBps # Speed DS1v2 1 3,5 7 4.000 32 43 2 3.200 48 2 Moder, DS2v2 2 7 14 8.000 64 86 4 6.400 96 2 High DS3v2 4 14 28 16.000 128 172 8 12.800 192 4 High DS4v2 8 28 56 32.000 256 344 16 25.600 384 8 High DS5v2 16 56 112 64.000 512 688 32 51.200 768 8 ExtraH

Standard D_v2 Mem Local cache = SSD Disks IOPS NICs Type Cores GB GB IOPS MBps (R/W) # 500 /disk # Speed D1v2 1 3,5 50 3.000 46 / 23 2 1.000 2 Moder. D2v2 2 7 100 6.000 93 / 46 4 2.000 2 High D3v2 4 14 200 12.000 187 / 93 8 4.000 4 High D4v2 8 28 400 24.000 375 / 187 16 8.000 8 High D5v2 16 56 800 48.000 750 / 375 32 16.000 8 ExtraH

Standard DS

Mem Local cache = SSD Size Disk 1600-16 /disk NICs

Type Cores GB GB IOPS MBps GB # IOPS MBps # Speed DS1 1 3,5 7 4.000 32 43 2 3.200 32 2 Moder DS2 2 7 14 8.000 64 86 4 6.400 64 2 High DS3 4 14 28 16.000 128 172 8 12.800 128 4 High DS4 8 28 56 32.000 256 344 16 25.600 256 8 High

Standard D Mem Local cache = SSD Disks IOPS NICs Type Cores GB GB IOPS MBps (R/W) # 500 /disk # Speed D1 1 3,5 50 3.000 46 / 23 2 1.000 2 Moder. D2 2 7 100 6.000 93 / 46 4 2.000 2 High D3 4 14 200 12.000 187 / 93 8 4.000 4 High D4 8 28 400 24.000 375 / 187 16 8.000 8 High

Type Cores GB GB IOPS MBps GB # IOPS MBps # Speed GS1 1 28 56 10k 100 264 4 5k 125 2 High GS2 2 56 112 20k 200 528 8 10k 250 2 High GS3 4 112 224 40k 400 1056 16 20k 500 4 VeryH GS4 8 224 448 80k 800 2112 32 40k 1000 8 ExtraH GS5 16 448 896 160k 1600 4224 64 80k 2000 8 ExtraH Note GS5 instance isolated to hardware for single customer

Standard G Mem Local cache = SSD Disks IOPS NICs Type Cores GB GB IOPS MBps (R/W) # 500 /disk # Speed G1 2 28 384 6k 93 / 46 4 2.000 2 Moder. G2 4 56 768 12k 187 / 93 8 4.000 2 High G3 8 112 1536 24k 375 / 187 16 8.000 4 VeryH G4 16 224 3072 48k 750 / 375 32 16.000 8 ExtraH G5 32 448 6144 96k 1500 / 750 64 32.000 8 ExtraH

Standard DSv2 Mem Local cache = SSD Size Disk 1600-24 /disk NICs Type Cores GB GB IOPS MBps GB # IOPS MBps # Speed DS11v2 2 14 28 8.000 64 72 4 6.400 96 2 High, DS12v2 4 28 56 16.000 128 144 8 12.800 192 4 High DS13v2 8 56 112 32.000 256 288 16 25.600 384 8 High DS14v2 16 112 224 64.000 512 576 32 51.200 768 8 ExtraH DS15v2 20 140 280 80.000 640 720 40 64.000 960 8 ExtraH Note DS15_v2 instance isolated to hardware for single customer

Standard D_v2 Mem Local cache = SSD Disks IOPS NICs Type Cores GB GB IOPS MBps (R/W) # 500 /disk # Speed D11_v2 2 14 100 6k 93 / 46 4 2.000 2 High. D12_v2 4 28 200 12k 187 / 93 8 4.000 4 High D13_v2 8 56 400 24k 375 / 187 16 8.000 8 High D14_v2 16 112 800 48k 750 / 375 32 16.000 8 ExtraH D15_v2 20 140 1000 60k 937 / 468 40 20.000 8 ExtraH

Standard DS Mem Local cache = SSD Size Disk 1600-24 /disk NICs Type Cores GB GB IOPS MBps GB # IOPS MBps # Speed DS11 2 14 28 8.000 64 72 4 6.400 64 2 High, DS12 4 28 56 16.000 128 144 8 12.800 128 4 High DS13 8 56 112 32.000 256 288 16 25.600 256 8 High DS14 16 112 224 64.000 512 576 32 51.200 512 8 VeryH

Standard D Mem Local cache = SSD Disks IOPS NICs Type Cores GB GB IOPS MBps (R/W) # 500 /disk # Speed D11 2 14 100 6k 93 / 46 4 2.000 2 High. D12 4 28 200 12k 187 / 93 8 4.000 4 High D13 8 56 400 24k 375 / 187 16 8.000 8 High D14 16 112 800 48k 750 / 375 32 16.000 8 ExtraH

■ Storage optimized

Standard Ls Mem Local cache = SSD Size Disk 625-24 /disk NICs Type Cores GB GB IOPS MBps GB # IOPS MBps # Speed L4s 4 32 678 NA NA 0 8 5k 125 2 High,

L8s 8 64 1388 NA NA 0 16 10k 250 4 VeryH L16s 16 128 2807 NA NA 0 32 20k 500 8 ExtraH L32s 32 256 5630 NA NA 0 64 40k 1000 8 ExtraH Note L32s instance isolated to hardware for single customer

■ GPU

Standard NV Mem Local cache = SSD GPU = Disks Type Cores GB GB ½ M60 # NV6 6 56 380 1 8 NV12 12 112 680 2 16 NV24 24 224 1440 4 32

Standard NC Mem Local cache = SSD GPU = Disks Type Cores GB GB ½ K80 # NC6 6 56 380 1 8 NC12 12 112 680 2 16 NC24 24 224 1440 4 32 NC24r 24 224 1440 4 32 Note: r = RDMA capable.

■ High performance compute

Standard H Mem Local Disks IOPS NICs Type Cores GB SSD GB # 500 / disk # Speed H8 8 56 1000 16 8k 2 High H16 16 112 2000 32 16k 4 VeryH H8m 8 112 1000 16 8k 2 High H16m 16 224 2000 32 16k 4 VeryH H8r 16 112 2000 32 16k 4 VeryH H16mr 16 224 2000 32 16k 4 VeryH Note: m = double memory r = RDMA capable

Standard A Mem Local Disks IOPS NICs Type Cores GB SSD GB # 500 / disk # Speed A8 * 8 56 382 16 8k 2 High A9 * 16 112 382 16 8k 4 VeryH A10 8 56 382 16 8k 2 High A11 16 112 382 16 8k 4 VeryH Note: * = RDMA capable

• ARM:

■ Large scale & parallel deployments

■ 3 vault domains in availability set, instead of 2 (ASM)

■ Integration of AzureKeyVault

■ Separate network APIs exposed

• ASM vs ARM

ASM ARM

Management model Cloud Service is mandatory and is container for VMs and resources

Each resource independent. Resource groups for logical grouping Availability sets

(unplanned outages)

2 fault domains (FD) per availability set Max. 3 fault domains per availability set 1 availability set -> machines in separate FDs (‘racks’): FDs assigned sequentially

■ Scans: System Center Virtual Machine Manager, Hyper-V, vCenter, ESXi, physical machines

■ Install on: Win2012, Win2k8 R2SP1, Win2k8 SP2, Win10, Win8/8.1, Win7SP

• Migration considerations

• Disks must be .VHD format, not .VHDX

• Image -> multiple VMs? Use sysprep first!

• .VHD must be fixed size

• .VHD must be <= 1023GB

• OS disks & images must be Generation 1 virtual machines

• PowerShell: Add-AzureRmVhd advantages

■ Automatically converts dynamically expanding -> fixed disks (not in AzCopy)

■ Upload only contents, not entire file (idem for Save-AzureRmVhd, AzCopy)

■ Multithreading support (idem for Save-AzureRmVhd)

■ Support differencing disks if image already uploaded

■ Allows SAS token instead of Storage Access key(idem for Save-AzureRmVhd)

• Steps to share (golden) image

• Requirements

■ Virtual machine generation? If 2: not supported: use Azure Site Recovery, or reinstall

■ Virtual machine disk size < 1023GB?

• Sysprep /generalize /oobe /shutdown # Linux: distribution specific

• Capture & prepare disks

■ Physical: disk2vhd utility

■ VMWare: Microsoft Virtual Machine Convertor 3.0 for vmdk -> vhd

■ VHDX: Hyper-V Manager for .VHDX -> .VHD

• Resize disks to whole number of MBs with Resize-VHD

• Create Azure storage account

• Upload VHD: Add-AzureRmVhd

• Create VM:

■ Set-AzureRmVMOSDisk –SourceImageUri –CreateOption fromImage .. ..

■ Set-AzureRmVMOperatingSystem –ProvisionAgent ,,, # Add Azure VM agent

• Azure containers advantages

• Increase speed to develop & share application code

• Improve testing lifecycle applications

• Improve deployment process applications

• Services & applications in container isolated from VM host execution environment

• Contained code verifiably identical

• Developers can start, stop, move services & applications quickly between DTAP

VMs Containers Security level Greater control Less control, easier implementation Memory required OS + apps Apps only Startup time Includes OS + services Only App and it’s dependent services Portability With proper configuration By design, typically smaller Image automation Dependent on OS and apps Based on Docker registry.

• Deploy Azure VMs via

• Portal (single VM)

• PowerShell: module available for Windows, Linux, Mac

• Azure CLI: ARM : azure config mode arm; azure vm quick-create or azure vm create

• ARM templates

• Get images from 1) Azure Marketplace, 2) Azure VMs, 3) On-premises VMs from VMs:

• Sysprep /generalize /oobe /shutdown

• Stop-AzureRmVm –ResGrp .. –Name …

• Set-AzureRmVM –ResGrp .. –Name .. –Generalize

• Save-AzureRmVMImage –ResGrp … -VMName … -DestinationContainerName .. –VHDNamePrefix .. –Path

<json-template>

• Create VM using Portal

• Hub menu -> New > Compute > Windows Server 2016 Datacenter

• Deployment Model : Resource Manager > Create

• Basics: Give VM Name, select SSD/HDD, Admin Username/Psw

• Multiple subscriptions? Select subscription, ResGrp, Location

• Choose Size Settings Blade to configure storage, networking, extensions, HA, monitoring

• Summary Review & click Create

• Create VM using PowerShell

• $stName # Storage account name, $loc # Location, $rgn # ResourceGroupName

• $snet = New-AzureRmVirtualNetworkSubnetConfig –Name .. –AddressPrefix ..

• $vnet = New-AzureRmVirtualNetwork –Name .. –ResGrp/Loc .. –AddressPrefix .. –Subnet $snet

• $pip = New-AzureRmPublicIpAddress –Name .. -ResGrp/Loc .. –AllocationMethod Dynamic

• $nic = Net-AzureRmNetworkInterface –Name .. –ResGrp/Loc .. –SubnetId $vnet.Subnets[0].Id –PublicAddressId

$pip.Id

• $cred = Get-Credential –Message “Type name and password of local admin accnt”

• $vm = New-AzureRmVMConfig –VMName … -VMSize “…”

• $vm = Set-AzureRmVMOperatingSystem –VM $vm –Windows –ComputerName .. –Credential $cred –

ProvisionAgent –EnableAutoUpdate

• $vm = Set-AzureRmVMSourceImage –VM $vm –PublisherName MicrosoftWindowsServer –Offer

WindowsServer –Skus 2012-R2-Datacenter –Version “latest”

• $vm = Add-AzureRmVMNetworkInterface –VM $vm –Id $nic.Id

• $osDiskUri = Set-AzureRmVMOSDisk –VM $vm Name .. –VhdUri $osDiskUri –CreateOption fromImage

• New-AzureRmVm –ResGrp/Loc –Vm $vm