Introduction to Windows Azure Virtual Machines

43
Windows Azure Virtual Machines Clint Edmonson Architect Evangelist Microsoft @clinted

description

With Windows Azure’s Infrastructure as a Service (IaaS) offerings you can easily run customized Windows Server or Linux images in the cloud. You retain full control of your images and maintain them as your business requires. In this session, you’ll get an overview of the offerings and see first-hand how to build, configure, and run your own VMs on Windows Azure.

Transcript of Introduction to Windows Azure Virtual Machines

Page 1: Introduction to Windows Azure Virtual Machines

Windows AzureVirtual MachinesClint EdmonsonArchitect EvangelistMicrosoft@clinted

Page 2: Introduction to Windows Azure Virtual Machines

Stream Insight

Windows Azure Platform http://aka.ms/TryAzureD

ata

La

yer

Applic

ati

on L

ayer

Inte

gra

tion

La

yer

Clie

nt

Layer

(on-p

rem

ise)

PCGamesConsolePhoneTablet Browser

Connect

CachingDrive

CDN

QueuesTables

Traffic Manager

Access Control

Service Bus

Blobs

PaaS

SQL Azure Reporting

Data Sync

On-premises Service

On-premises Database

OfficeAdd-in

DatabaseStorage

IaaSWeb Sites Hadoop

Virtual Networks

Media Services

EAI / EDI

Compute

Page 3: Introduction to Windows Azure Virtual Machines

Hello DODN Demo

Page 4: Introduction to Windows Azure Virtual Machines

Cloud ServicesPackaged Software

Storage

Servers

Networking

O/S

Middleware

Virtualization

Data

Applications

Runtime

You m

anag

e

Infrastructure(as a Service)

Storage

Servers

Networking

O/S

Middleware

Virtualization

Data

Applications

Runtime

Man

ag

ed b

y v

en

dor

You m

anag

e

Platform(as a Service)

Man

ag

ed b

y v

en

dor

You m

anag

e

Storage

Servers

Networking

O/S

Middleware

Virtualization

Applications

Runtime

Data

Software(as a Service)

Man

ag

ed b

y v

en

dor

Storage

Servers

Networking

O/S

Middleware

Virtualization

Applications

Runtime

Data

Page 5: Introduction to Windows Azure Virtual Machines

Line of Business ApplicationsCustom Applications, CRM, CMS, ERP, Business Intelligence

Application InfrastructureFile Servers, Databases, Identity, Source Control

Developer, Test and Staging Environments Quickly Provision and Un-provision Entire Environments

Hybrid ApplicationsApplications that span your data center and the cloud

IaaS Workloads in the Cloud

Page 6: Introduction to Windows Azure Virtual Machines

LOBs in the Cloud Demo

Page 7: Introduction to Windows Azure Virtual Machines

Getting Started with VMs

Page 8: Introduction to Windows Azure Virtual Machines

Cloud First ProvisioningGetting Started

Management Portal

>_Scripting

(Windows, Linux and Mac)

REST API

Select Image and VM Size

Windows Server

Linux

Extra Small

Small

Medium

Large

X-Large

New Disk Persisted in Storage

Cloud

Boot VM from New Disk

BlobStorage

Page 9: Introduction to Windows Azure Virtual Machines

Images Available at PreviewSQL Server 2012 Evaluation in Windows Server 2008 R2

Windows Server 2008 R2 SP1

Windows Server 2012 Release Candidate

OpenLogic CentOS 6.2

SUSE Linux Enterprise Server

Ubuntu Server 12.04 LTS

openSUSE 12.1

Page 10: Introduction to Windows Azure Virtual Machines

Check the Oven! Demo

Page 11: Introduction to Windows Azure Virtual Machines

Cloud

BlobStorage

Bring Your Own Server/VHDOn-Premises

On Premises Virtual Server

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

Use CaseForklift Migration of VMs

Sys Prepped Images

VHD Must Be Fixed Disk * CSUpload tool can convert on upload

MyApp.vhd

Page 12: Introduction to Windows Azure Virtual Machines

BlobStorage

Imaging VMs in the CloudCloud

Identical/similar deployment instances using common OS image

as start

Capture VM Saves Customized Image to Your Image Library

BlobStorage

Base.VHD

Page 13: Introduction to Windows Azure Virtual Machines

Image MobilityOn-Premises Cloud

MyApp.vhdBlobStorage

Page 14: Introduction to Windows Azure Virtual Machines

Virtual Machine Sizes and Storage

Each Persistent Data Disk Can be up to 1 TB

VM Size CPU Cores Memory Bandwidth# 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

Page 15: Introduction to Windows Azure Virtual Machines

Images and DisksOS ImagesMicrosoftPartner User

DisksOS Disks Data Disks

Base OS image for new Virtual Machines

Sys-Prepped/Generalized/Read Only

Created by uploading or by capture

Writable Disks for Virtual Machines

Created during VM creation or during

upload of existing VHDs.

Page 16: Introduction to Windows Azure Virtual Machines

Working With New VMs Demo

Page 17: Introduction to Windows Azure Virtual Machines

Virtual Machine and Cloud Services

Page 18: Introduction to Windows Azure Virtual Machines

Cloud Service

Cloud Services, Roles and InstancesCloud Service is a service model boundary(management, configuration, security, and networking)

Roles VM1 VM2 VM3

VM4 VM5 VM…

Instances

Page 19: Introduction to Windows Azure Virtual Machines

Implicit Cloud Service

VM

Virtual MachinesVirtual Machines are roles with exactly one instance

Page 20: Introduction to Windows Azure Virtual Machines

Cloud Service

VM VM

Multiple Virtual Machines SupportedUp to 25 Virtual Machines can be hosted within the same cloud service

Page 21: Introduction to Windows Azure Virtual Machines

Virtual Machine Networking

Page 22: Introduction to Windows Azure Virtual Machines

Full Control Over Machine Names

Windows Azure provided DNSResolves VMs by name within the same cloud serviceMachine names are modeled explicitly and registered in the DNS service

Bring Your Own DNS ServerUse your on-premises DNS serversDeploy a DNS server in Windows AzureUse public DNS services

Virtual Machine Names and DNS

Page 23: Introduction to Windows Azure Virtual Machines

Port Forwarding Demo

Page 24: Introduction to Windows Azure Virtual Machines

Hosted Cloud Service

Inbound Port Forwarding

PORT 3389PORT 5586

PORT 5587

Single Public VIP Address Per Cloud Service

PORT 3389

Port Forwarded EndpointsAllow direct communication to Different VMs inside the same cloud service

Page 25: Introduction to Windows Azure Virtual Machines

Endpoints and Protocols

UDP Traffic Supported Load-balanced incoming traffic and allows outbound traffic

Support for All IP-Based Protocols (VM to VM)Instance-to-instance communicationTCP, UDP and ICMP, dynamic ports

Endpoint Name Public Port Local Port Protocol (TCP/UDP)

Page 26: Introduction to Windows Azure Virtual Machines

Load Balancing Demo

Page 27: Introduction to Windows Azure Virtual Machines

Load Balanced Sets

Cloud App

PORT 80

Page 28: Introduction to Windows Azure Virtual Machines

HTTP PROBE requestSet NameProtocol (TCP)Probe PortProbe Path(/healthcheck.aspx)

Looks for HTTP 200

Load Balancer Custom Probes

Cloud App

PORT 80

Page 29: Introduction to Windows Azure Virtual Machines

Check the Oven! Demo

Page 30: Introduction to Windows Azure Virtual Machines

Virtual Machine Availability

Page 31: Introduction to Windows Azure Virtual Machines

Fault and Update Domains

Fault DomainsRepresent groups of resources anticipated to fail togetheri.e. Same rack, same server

Instances spread across Fault DomainsFabric spreads instances across fault at least 2 fault domains

Page 32: Introduction to Windows Azure Virtual Machines

Virtual Machine Availability Sets

Fault Domain

Rack

Fault Domain

Rack

IIS1

SQL1

IIS2

SQL2

Page 33: Introduction to Windows Azure Virtual Machines

Availability Sets Demo

Page 34: Introduction to Windows Azure Virtual Machines

Persistent VM Role

Persistent VM Role

Redundancy at every level

How to Build a Highly Available Solution

IIS Web Application

Web Role

IIS Web Application

Web Role

LB S

QL

Mirro

ring

Internet

SQL-AVSET

IIS-AVSET

SQLServer

SQLServer

Page 35: Introduction to Windows Azure Virtual Machines

Virtual Machine Virtual Machine Virtual Machine

How Does this Relate to SLA?

SQL Server

SLA 99.9 SLA 99.95

SQL Server

Primary

SQL Server

Secondary

Availability set

To achieve 99.95 you must use availability sets!

Page 36: Introduction to Windows Azure Virtual Machines

Service Level Agreements

99.9% for single role instances8.75 hours of downtime per year

What’s includedCompute Hardware failure (disk, cpu, memory)Datacenter failures - network failure, power failureHardware upgrades, Software maintenance – Host OS UpdatesPlanned downtime – 6 day notice, 6 hour window, 25 minute downtime

What is not includedVM crashes caused by 3rd party software, Guest OS modifications

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

Page 37: Introduction to Windows Azure Virtual Machines

Windows Azure Virtual Networks

Page 38: Introduction to Windows Azure Virtual Machines

Secure Machine-to-Machine Network

ConnectivityWindows Azure Connect

Cross-premise Connectivity

Secure Site-to-Site Network Connectivity

Windows Azure Virtual Network

CLOUD ENTERPRISE

Data SynchronizationSQL Data Sync Service

Application-Layer Connectivity & Messaging

Windows Azure Service Bus

Secure Site-to-Site Network Connectivity

Windows Azure Virtual Network

Secure Machine-to-Machine Network

ConnectivityWindows Azure Connect

Direct network connectivity

Page 39: Introduction to Windows Azure Virtual Machines

Corpnet

A protected private virtual network in the cloudEnables customers to setup secure private IPv4 networks fully contained within Windows AzureIP address persistenceDirect inter-service communication

Your “virtual” branch office / datacenter in the cloudEnables customers to extend their Enterprise Networks into Windows AzureNetworking on-ramp for migrating existing apps and services to Windows AzureEnables “hybrid” apps that span cloud and their premises

Windows Azure Virtual Network

Page 40: Introduction to Windows Azure Virtual Machines

Hybrid On-Premises Cloud AppsRequirement for connectivity between your data center and the public cloud.

Persistent IP Address RequirementsVirtual Machines deployed into a virtual network have an infinite DHCP lease.

Connectivity between cloud services. Deploying Active Directory in the Cloud or connecting a PaaS to IaaS Service.

Does Your App Need a Virtual Network?

Corpnet

Page 41: Introduction to Windows Azure Virtual Machines

Windows Azure Virtual Machines

Support for your key server applications

Easy storage manageability

High availability features

Advanced networkingIntegration with PaaS and other Azure service offerings

Page 42: Introduction to Windows Azure Virtual Machines

Sign Up for Windows Azure

MSDN Subscription Benefits

Free Windows Azure access for Professional, Premium, and Ultimate subscribers

Designed to accelerate development

Requires credit card at sign-up for any overages beyond free allocation

3 Month Free Trial

ComputeStorageTransactionsBandwidth

DatabasesCachingAccess ControlService Bus

INCLUDES THESE SERVICES: BENEFITS INCLUDE:

http://clint.ms/AzureBenefitshttp://aka.ms/TryAzure

Page 43: Introduction to Windows Azure Virtual Machines

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Clint Edmonson

www.notsotrivial.net

[email protected]

m

@clinted