Windows Azure VMs VMs and Cloud Services VM Availability Images and Disks Managing VMs Agenda.

Post on 17-Dec-2015

234 views 5 download

Tags:

transcript

Windows Azure Virtual Machines

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

Agenda

Windows Azure VMs

PaaS SaaSPhysical

Virtual IaaS

A Continuous Offering From Private to

Public Cloud

Windows Azure Virtual Machines

IT Pro experience

Support for key server applications

Easy storage manageability

High availability features

Advanced networking

Integration with compute PaaS

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

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

Supported Windows Server Applications

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

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

Gallery Images Available

Open SourceOpenSUSE 12.2

CentOS 6.3

Ubuntu 12.04/12.10

SUSE Linux Enterprise Server 11 SP2

MicrosoftWindows Server 2008 / 2012

SQL Server Eval

BizTalk Server

Visual Studio 2013

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) 2

Medium 2 3.5 GB 200 (Mbps) 4

Large 4 7 GB 400 (Mbps) 8

Extra Large 8 14 GB 800 (Mbps) 16

Linux Offering

1ST

First Class CitizenEnterprise + ISVOpen Source CommunitySupport

Virtual Machines and Cloud Services

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

boundary

Cloud Services, Roles, and Instances

INS

TA

NC

ES

RO

LES

VM 1 VM 2 VM 3WEB ROLE

VM 4 VM 5 VM…WORKER ROLE

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

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

DEMO

Getting Started with Virtual Machines

Virtual Machine Availability

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

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

Fault Domain

Rack

Fault Domain

Rack

INSTANCE

INSTANCE

INSTANCE

INSTANCE

INSTANCE

INSTANCE

INSTANCE

INSTANCE

UD #1

UD #1

UD #2

UD #2

Fault and Update Domains

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

SQL Server2

SQL Server1

End to End Highly Available SolutionRedundancy at every level

IIS Web Application

Web Role

IIS Web Application

Web Role

LB

SQ

L M

irro

ring

Internet

SQL-AVSET

IIS-AVSET

DEMO

Configuring Load Balancing and High Availability

Images & Disks

Persistent Disks and Highly Durable

Windows Azure Storage

Windows Azure Storage (Disaster Recovery)

Virtual Machine

Persistent Disks and Highly Durable

Windows Azure Storage

Windows Azure Storage (Disaster Recovery)

Virtual Machine

Virtual Machine

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.

Image MobilityOn-Premises Cloud

MyApp.vhd

Bring Your Own Server/VHD

On-Premises

On Premises Virtual Server

Use Case• Forklift Migration of VMs

• Sys Prepped Images

VHD Must Be Fixed Disk * CSUpload Can Convert on Upload

MyApp.vhd

Cloud

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

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

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

•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

DEMO

Imaging Virtual Machines

Managing VMs

Manage using existing Tools

AzureOnPrem

Windows Server 2012

Internet

Android

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

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

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

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

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

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

Thank You!