Top Banner
Windows Azure Virtual Machines
42

Windows Azure Virtual Machines

Feb 14, 2016

Download

Documents

Gary

Windows Azure Virtual Machines. Agenda. Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs. Windows Azure VMs. A Continuous Offering From Private to Public Cloud. Virtual. Physical. IaaS. PaaS. SaaS. Windows Azure Virtual Machines. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Windows Azure Virtual Machines

Windows Azure Virtual Machines

Page 2: Windows Azure Virtual Machines

•Windows Azure VMs•VMs and Cloud Services•VM Availability•Images and Disks•Managing VMs

Agenda

Page 3: Windows Azure Virtual Machines

Windows Azure VMs

Page 4: Windows Azure Virtual Machines

PaaS SaaSPhysical Virtual IaaS

A Continuous Offering From Private to

Public Cloud

Page 5: Windows Azure Virtual Machines

Windows Azure Virtual Machines

IT Pro experience

Support for key server applications

Easy storage manageability

High availability features

Advanced networking

Integration with compute PaaS

Page 6: Windows Azure Virtual Machines

Cloud First Provisioning

Getting Started

Management Portal

>_Scripting

(Windows, Linux and Mac)

REST API

New Disk Persisted in Storage

Cloud

Boot VM from New Disk

Select Image and VM Size

Windows Server

Linux

Extra SmallSmallMediumLarge X-Large

Page 7: Windows Azure Virtual Machines

Get-AzureVM# Set VM Image, IP of DNS/AD and VM Name$imgName = 'fb83b3509582419d99629ce476bcb5c8__Microsoft-SQL-Server-2012SP1-Enterprise-CY13SU04-SQL2012-SP1-11.0.3350.0-Win2012'$advmIP = '10.0.10.4'$advmName = 'SQL-73'$dns1 = New-AzureDns -Name $advmName -IPAddress $advmIP#SET VM NAME AND DOMAIN ITEMS$vmName = 'FishersSQL'$adminUsername = 'microsoft'$adminPassword = ‘p@$$word'$domainPassword = ‘p@$$word'$domainUser = 'microsoft'$FQDomainName = 'contoso.com'$subNet = 'Apps'# Configuring VM to Automatically Join Domain$advm1 = New-AzureVMConfig -Name $vmName -InstanceSize Medium -ImageName $imgName | add-AzureProvisioningConfig -WindowsDomain

-AdminUserName $adminUsername -Password $adminPassword -Domain 'contoso' -DomainPassword $domainPassword -DomainUserName $domainUser -JoinDomain $FQDomainName | Set-AzureSubnet -SubnetNames $subNet

#SET Network$serviceName = 'FishersBootCamp'$affinityGroup = 'USApplications'$adVNET = 'Development'# New Cloud Service with VNET and DNS settingsNew-AzureVM –ServiceName $serviceName -AffinityGroup $affinityGroup -VMs $advm1 -DnsSettings $dns1 -VNetName $adVNET

Powershell Provisioning Demo

Page 8: Windows Azure Virtual Machines

Supported Windows Server Applications

http://support.microsoft.com/kb/2721672

Page 9: Windows Azure Virtual Machines

We will supportSUSE SLES 11 sp2Open SUSE 12.1CentOS 6.2 by OpenLogic* Ubuntu 12.04

Specific versions are endorsedIntegration ComponentsTesting and validation by partnersBring other variants at your own risk**

Linux on Windows Azure

*Image provided by OpenLogic based on CentOS 6.2**Integration Work will be needed

Page 10: Windows Azure Virtual Machines

Gallery Images Available

Open SourceOpenSUSE 12.2CentOS 6.3Ubuntu 12.04/12.10SUSE Linux Enterprise Server 11 SP2

MicrosoftWindows Server 2008 / 2012SQL Server EvalBizTalk ServerVisual Studio 2013

Page 11: Windows Azure Virtual Machines

Virtual Machine Sizes

Each Persistent Data Disk Can be up to 1 TB

VM Size CPU Cores Memory Bandwidt

h# Data Disks

Extra Small Shared 768 MB 5 (Mbps) 1

Small 1 1.75 GB 100 (Mbps) 2Medium 2 3.5 GB 200 (Mbps) 4Large 4 7 GB 400 (Mbps) 8Extra Large 8 14 GB 800 (Mbps) 16

Page 12: Windows Azure Virtual Machines

Linux Offering

1ST

First Class CitizenEnterprise + ISVOpen Source CommunitySupport

Page 13: Windows Azure Virtual Machines

Virtual Machines and Cloud Services

Page 14: Windows Azure Virtual Machines

Cloud Service is a…• Management• Configuration• Security• Networking• Service Model

boundary

Cloud Services, Roles, and Instances

INST

ANCE

S

ROLE

S

VM 1 VM 2 VM 3WEB ROLE

VM 4 VM 5 VM…WORKER ROLE

Page 15: Windows Azure Virtual Machines

Cloud Services with Virtual MachinesMultiple Virtual Machines can be hosted within the same cloud service

Cloud Service

VM 1 VM 2

VM 3 VM 4

Page 16: Windows Azure Virtual Machines

Multiple Cloud Services Configuration

OnPrem

LB

80/443

VPN Tunnel

Cloud Service 1

Cloud Service 2

Azure

WEBSQL

AD/DC/DNS

Corp Users

AD 1

Page 17: Windows Azure Virtual Machines

DEMOGetting Started with Virtual Machines

Page 18: Windows Azure Virtual Machines

Virtual Machine Availability

Page 19: Windows Azure Virtual Machines

Service Level Agreements

What’s includedCompute Hardware failure (disk, cpu, memory)Datacenter failures - Network failure, power failureHardware upgrades, Software maintenance – Host OS UpdatesWhat is not includedVM Container crashes, Guest OS Updates

99.95% for multiple role instances4.38 hours of downtime per year

Server 2

SLA 99.95

Availability set

Server 1

Page 20: Windows Azure Virtual Machines

Fault and Update DomainsFault Domains–Represent groups of resources anticipated to fail together–i.e. Same rack, same server–Fabric spreads instances across fault at least 2 fault domains

Update Domains–Represents groups of resources that will be updated together–Host OS updates honour service update domains–Specified in service definition–Default of 5 (up to 20)

Fabric spreads role instances across Update Domains and Fault Domains

Page 21: Windows Azure Virtual Machines

Fault DomainRack

Fault DomainRack

INSTANCE

INSTANCE

INSTANCE

INSTANCE

INSTANCE

INSTANCE

INSTANCE

INSTANCE

UD #1

UD #1

UD #2

UD #2

Fault and Update Domains

Page 22: Windows Azure Virtual Machines

Virtual Machine Availability SetsUpdate Domains are honored by host OS updates

Fault DomainRack

Fault DomainRack

IIS1

SQL1

IIS2

SQL2

UD #2

UD #2

UD #1

UD #1

Page 23: Windows Azure Virtual Machines

SQL Server2

SQL Server1

End to End Highly Available SolutionRedundancy at every level

IIS Web Application

Web Role

IIS Web Application

Web Role

LB

SQL M

irror

ingInternet

SQL-AVSET

IIS-AVSET

Page 24: Windows Azure Virtual Machines

DEMOConfiguring Load Balancing and High Availability

Page 25: Windows Azure Virtual Machines

Images & Disks

Page 26: Windows Azure Virtual Machines

Persistent Disks and Highly Durable

Windows Azure Storage

Windows Azure Storage (Disaster Recovery)

Virtual Machine

Page 27: Windows Azure Virtual Machines

Persistent Disks and Highly Durable

Windows Azure Storage

Windows Azure Storage (Disaster Recovery)

Virtual Machine

Virtual Machine

Page 28: Windows Azure Virtual Machines

Disks and ImagesOS Images• Microsoft• Partner • User

Disks• OS Disks • Data Disks

Base OS image for new Virtual MachinesSys-Prepped/Generalized/Read Only Created by uploading or by capture

Writable Disks for Virtual MachinesCreated during VM creation or during upload of existing VHDs.

Page 29: Windows Azure Virtual Machines

Image MobilityOn-Premises Cloud

MyApp.vhd

Page 30: Windows Azure Virtual Machines

Bring Your Own Server/VHD

On-Premises

On Premises Virtual Server

Use Case• Forklift Migration of VMs• Sys Prepped ImagesVHD Must Be Fixed Disk * CSUpload Can Convert on Upload

MyApp.vhd

Cloud

Provision VM from Image or Disk using portal, script or API

Page 31: Windows Azure Virtual Machines

Imaging VMs in the CloudCloud

Base.VHD Identical/similar deployment instances using common OS image

as start

Capture VM Saves Customized Image to Your Image Library

Page 32: Windows Azure Virtual Machines

What will work on upload…Images

Disks

Sysprep’d Windows Server OS VHD on Hyper-V

(Server 2008 R2 and Windows Server 2012)

Windows Azure Image

Windows Server VHD on Hyper-V

(Server 2008 R2 and Windows Server 2012)

Windows Azure Disk

Page 33: Windows Azure Virtual Machines

•Sysprep and “Generalize” is expected•Do NOT put unattend.xml on the disk•Do NOT install the Windows Azure Integration Components!! •No WA Agent

Insert Screenshot.

Tips on BYO Generalized Images

Page 34: Windows Azure Virtual Machines

DEMOImaging Virtual Machines

Page 35: Windows Azure Virtual Machines

Managing VMs

Page 36: Windows Azure Virtual Machines

Manage using existing Tools

AzureOnPrem

Windows Server 2012

InternetAndroid

Windows Phone 8

Windows RT

iOS

X86/x64 Macs

Windows Server 2008

Windows Server 2003

Windows Server 2012

Windows Intune

VPN Tunnel

AD

Windows Server 2008

Windows Server 2003

Page 37: Windows Azure Virtual Machines

Full Support for IaaS• Windows Azure PowerShell Cmdlets• Cross Platform Scripting Built on node.js

Capabilities• Provisioning, Removal• Reboot, Start

Import and Export VM settings• Support for Windows and Linux VMs• Domain Join at Provision for Windows• Fully Customize VM with Data Disks and Endpoint

Configuration• Automate Virtual Network Settings

Scripting Capabilities

Page 38: Windows Azure Virtual Machines

What can you do with PowerShell?

AutomationQuery, Manage and Configure Virtual Machines across multiple subscriptions, cloud services and storage accounts.

Virtual NetworkingCompletely Configure VNETs from a Script

Provision Fully Configured Virtual MachinesDomain JoinedStorage and Networking Configured

Page 39: Windows Azure Virtual Machines

Virtual Machine Management

Quick VM Provisioning ModeSupports VM Creation in a Single Cmdlet

Create Multiple Pre-Defined VMs in a BatchNew-AzureVM -VMs $vm1, $vm2, $vm3

Advanced Provisioning Configuration ModeProvision With: Endpoints, Data DisksConfigure: Cache Settings for OS/Data Disks and Subnet Names

Page 40: Windows Azure Virtual Machines

Take the DevUnleashed Windows Azure Survey

Your feedback, helps us make these events available to your community, please fill it out sometime today.

www.surveymonkey.com/s/azureunleashed

Page 41: Windows Azure Virtual Machines

Introduction to Windows Azure Virtual Machines(Windows or Linux)

• Creating Virtual Machines for IIS• Creating a SQL Server Virtual Machine• Deploying a Simple MVC4 ApplicationOr• Creating a Linux Virtual Machine in

Windows Azure• Installing and Configuring the Virtual

Machine• Installing and Configuring Drupal

HANDS ON LAB

Page 42: Windows Azure Virtual Machines

Thank You!