3 Build It - Introduction To IaaS
3 Build It - Introduction To IaaS
3 Build It - Introduction To IaaS
Deployment Models
Public
Private
Hybrid
Hosted
SLIDE 5 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Cloud Service Models
SLIDE 6 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Organizations are moving to the cloud…
https://assets.rightscale.com/uploads/pdfs/RightScale-2017-State-of-the-Cloud-Report.pdf
http://www.gartner.com/newsroom/id/3616417
SLIDE 7 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Introduction to Azure
IAAS
IaaS Use Cases
SLIDE 9 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Contoso Ads Scenario
Lift n’ Shift
SLIDE 10 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Other Common Reasons for IaaS
Security, Application or Policy Requirement
Security
Companies\Agencies with very specific security practices and
policies
Control
There is a specific reason to interact/modify/control Operating
System behavior
Policy
Vendor and technology lock in objections
SLIDE 11 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Introduction to Azure
IAAS
Compute and Virtual Machines
SLIDE 13 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
IAAS VM Compute Tiers (“VM Sizes”)
GENERAL PURPOSE Balanced CPU-to-memory COMPUTE OPTIMIZED High CPU-to-memory
ratio. Ideal for testing and ratio. Good for medium
B (Preview) development, small to traffic web servers, network
Dsv3, Dv3, medium databases, and Fs, F appliances, batch
DSv2, Dv2, DS, low to medium traffic web processes, and application
D, Av2, A0-7 servers. servers.
GRAPHICS OPTIMIZED Specialized virtual HIGH PERFORMANCE Our fastest and most
machines targeted for powerful CPU virtual
heavy graphic rendering
COMPUTE
machines with optional
NV, NC, and video editing. high-throughput network
Available with single or
H, A8-11
NCv2, ND interfaces (RDMA).
multiple GPUs.
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes
SLIDE 14 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Azure Server Generations
Gen 2 Gen 3 HPC Gen 4 Godzilla Gen 5.1 GPU Gen 5 Beast
Processor 2 x 6 Core 2.1 GHz Processor 2 x 8 Core 2.1 GHz Processor 2 x 12 Core 2.4 GHz Processor 2 x 12 Core 2.4 GHz Processor 2 x 16 Core 2.0 GHz Processor 2 x 20 Core 2.3 GHz Processor 2 x 8 Core 2.6 GHz Processor 4 x 18 Core 2.5 GHz
Memory 32 GiB Memory 128 GiB Memory 128 GiB Memory 192 GiB Memory 512 GiB Memory 512 GiB Memory 256 GiB Memory 4096 GiB
SLIDE 15 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Azure Marketplace – Virtual Machine images
• Preconfigured VM Solution
images
• Ready-to-deploy
SLIDE 16 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Introduction to Azure
IAAS
IaaS Components
SLIDE 18 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Introduction to Azure
IAAS
Virtual Machines - Storage
SLIDE 21 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Storage Disk Types
SLIDE 23 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Azure Managed Disks
Simple - Abstracts storage accounts from customers
• Optional, but recommended
• Supports both Standard and Premium Storage disks
• Storage Account IOPS limits do not apply
• More granular RBAC support
- Grant/deny access to operations, such as read, delete,
export and retrieving a Shared Access Signature Just manage the disks. Underlying
storage accounts managed by the
• Disk Snapshots (full disk copy) platform
- Read-only copy of a disk at a point in time.
- Independent of source disk; use to create new managed
disks
• Supported with Azure Backup
• Big scale - 1000s of disks per region per subscription
SLIDE 24 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Introduction to Azure
IAAS
Virtual Machine Networking
SLIDE 26 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Azure Virtual Machine Networking Aspects
• Azure Region
• Virtual Network
• Subnets
• Network Security Groups
• Network Interface Cards
• Load Balancers
• VPN Gateway
SLIDE 27 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Contoso Ads Network for Lab 1
PROD-VNET
10.0.0.0/16
APPS
10.0.0.0/24
• Virtual Network
• Subnets
• Network Interface Cards
Permit or Deny
• Network Security Groups (NSG) Based on rulesets created
Data
10.0.1.0/24
SLIDE 28 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Introduction to Azure
IAAS
Virtual Machines - Deployment
1 2
PowerShell
Azure Management Portal Command Line
New-AzureRmVM –ResourceGroupName $rg -VM $vm ...
CLI
az vm create --resource-group myResourceGroup --name
myVM --image win2016datacenter --admin-username
azureuser --admin-password myPassword12
3
SDK
Console.WriteLine("Creating virtual machine...");
azure.VirtualMachines.Define(vmName)
.WithRegion(location)
.WithExistingResourceGroup(groupName)
.WithExistingPrimaryNetworkInterface(networkInterface)
.WithLatestWindowsImage("MicrosoftWindowsServer",
...
4
API
"OSDisk": {
"EncryptionSettings": null,
5 "OperatingSystemType": "Windows",
Templates
"Caching": "ReadWrite",
"CreateOption": "FromImage",
...
SLIDE 30 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Scaling IaaS Workloads
• Scale up/down
- Not automated by design (requires a reboot) as part of the auto-
scale rules, but can be scripted with PowerShell Scale Up
SLIDE 31 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Virtual Machine Scale Sets
• Used for building large-scale and/or 1 VM
SLIDE 32 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Introduction to Azure
IAAS
Virtual Machines - Configuration
SLIDE 35 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Virtual Machine Extensions
Desired State Configuration (DSC)
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/extensions-dsc-overview
SLIDE 36 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Introduction to Azure
IAAS
Virtual Machines - Availability
• Unplanned Downtime
• When the Azure datacenter hardware or physical infrastructure fails
• Virtual machines are automatically migrated to a new physical host when failure
is detected. This is known as “service healing”.
SLIDE 38 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Availability Overview
Options
Power / facility Region Pairs, Availability Zones, Availability Set
Industry-leading broadest
Industry-only Industry-leading high availability SLA choice of data residency
© Microsoft Corporation
SLIDE 39 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Availability sets
SLIDE 40 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Virtual Machine Availability Sets
SLIDE 41 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Managed Disks behavior with VM Availability Sets
Unmanaged VS Managed
SLIDE 42 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Virtual Machine Availability Sets Fault Update
Domains Domain
FD #0 UD #0
• 5 Update Domains
UD #3
Allows deployment of future Web
servers into the availability set
UD #4
Top 3
networks in
the world
Second
Largest Dark
Fiber Network
China Operated
by 21Vianet
Germany
Operated by
Deutsche
Telekom
2x AWS, 4x
Google DC
Regions
https://azure.microsoft.com/en-us/global-infrastructure/global-network/
SLIDE 45 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Azure Regions – Regional Paired Datacenters
• Regions contain massive Microsoft
owned and purpose-built Data
Center(s) (DC)
SLIDE 46 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Availability Zones
France Central
SLIDE 47 MICROSOFT CONFIDENTIAL – FOR INTERNAL USE ONLY Azure Boot Camp
Hands On Lab