IT Camp: Windows Azure Infrastructure Services

43
Tommy Patterson Senior Technical Evangelist Microsoft IT Camp: Windows Azure Infrastructure Services

description

IT Camp: Windows Azure Infrastructure Services. Tommy Patterson Senior Technical Evangelist Microsoft. About.Me (Tommy Patterson);. 17 Years as an experienced IT Professional Network Engineer, IT Manager, Consultant Trained and consulted with thousands of IT Pros WW Author of … - PowerPoint PPT Presentation

Transcript of IT Camp: Windows Azure Infrastructure Services

Page 1: IT Camp: Windows Azure Infrastructure Services

Tommy PattersonSenior Technical EvangelistMicrosoft

IT Camp:Windows AzureInfrastructure Services

Page 2: IT Camp: Windows Azure Infrastructure Services

About.Me(Tommy Patterson);• 17 Years as an experienced IT Professional• Network Engineer, IT Manager, Consultant• Trained and consulted with thousands of IT

Pros WW• Author of …

Virtuallycloud9.comblogs.technet.com/tommypatterson

Page 3: IT Camp: Windows Azure Infrastructure Services

Contact.Me(Tommy Patterson);• http://virtuallycloud9.com• @tommy_patterson• http://aka.ms/tplinkedin• http://aka.ms/tpohours• http://aka.ms/tpmeetup• [email protected]• Bonus – Try Server 2012 R2 @

http://aka.ms/mshosting

Page 4: IT Camp: Windows Azure Infrastructure Services

Introduction to Windows Azure

Page 5: IT Camp: Windows Azure Infrastructure Services

Introduction to Windows Azure• IaaS, PaaS and

SaaS• Self-Service

Provisioning• Global Scale• Estimating Costs• Cloud Patterns• Common

Scenarios

Global, Solid, Scalable

Windows or Linux

Pay-As-You-Go

Page 6: IT Camp: Windows Azure Infrastructure Services

Cloud Computing ModelsOn-Premises( Private Cloud )

Networking

Compute

Storage

Virtual Machine

Operating System

Applications

Data & Access

Runtime

You

Prov

ision

& M

anag

e

Infrastructure( as a Service )

Networking

Compute

Storage

Virtual Machine

Operating System

Applications

Data & Access

Runtime

Physical FabricM

anaged by Vendor

You

Prov

ision

& M

anag

e

Platform( as a Service )

Provisioned & Managed by Vendor

You

Man

age

Networking

Compute

Storage

Virtual Machine

Operating System

Data & Access

Runtime

Applications

Software( as a Service )

Provisioned & Managed by Vendor

Networking

Compute

Virtual Machine

Operating System

Data & Access

Runtime

Applications

StorageYou

Prov

ision

Clou

d Se

rvice

s

You

Man

age

Host Develop Consume

Today’sFocus:

Page 7: IT Camp: Windows Azure Infrastructure Services

Self-Service Provisioning

http://manage.windowsazure.com

Page 8: IT Camp: Windows Azure Infrastructure Services

Windows AzureGlobal Footprint

Page 9: IT Camp: Windows Azure Infrastructure Services

89Australia

AustriaBelgium

BrazilCanada

ChileColombia

Costa RicaCyprus

Czech RepublicDenmark

FinlandFrance

GermanyGreece

Hong KongHungary

IndiaIreland

IsraelItaly

JapanKorea

LuxembourgMalaysia

MexicoNetherlands

New ZealandNorway

PeruPhilippines

PolandPortugal

Puerto RicoRomania

RussiaSingapore

SpainSweden

SwitzerlandTrinidad &

TobagoUK

United StatesNew Countries:

Algeria

ArgentinaBelarus

BulgariaCroatia

Dominican RepEcuador

EgyptEl Salvador

EstoniaGuatemala

IcelandIndonesia

JordanKazakhstan

Kenya

KuwaitLatvia

LiechtensteinLithuania

MacedoniaMalta

MontenegroMorocco

AzerbaijanNigeriaOman

PakistanPanama

ParaguayQatar

Saudi ArabiaSerbia

SlovakiaSlovenia

South AfricaSri Lanka

TaiwanThailand

TunisiaTurkey

UAEUkraine

UruguayVenezuela

Bahrain

countries and territories

Page 10: IT Camp: Windows Azure Infrastructure Services

ITPAC – How Microsoft Builds Azure Datacenters

aka.ms/itpacaka.ms/msdatacenters

ITPAC ( IT Pre-Assembled Components )

Generation 4 Cloud Datacenters

Page 11: IT Camp: Windows Azure Infrastructure Services

Estimating Cloud Costs

http://www.windowsazure.com/en-us/pricing/calculator/

Page 12: IT Camp: Windows Azure Infrastructure Services

• Question: How much does it cost to procure and operate monthly?

A. $100 / monthB. $500 / monthC. $750 / monthD. $1,000 / month

• Answer: Average ~ $630 / month

Estimating On-Premises Server Costs

Page 13: IT Camp: Windows Azure Infrastructure Services

Comparative Performance/Price IaaS Study

Source: Cloud Spectator Study, June 2013

“Windows Azure scores 3 times

higher than Amazon EC2 on average.”

“Windows Azure … provides 5x more

value than Rackspace on

average.”

Unixbench / Cost

Page 14: IT Camp: Windows Azure Infrastructure Services

Windows Azure Storage

Storing Data on Windows Azure

Page 15: IT Camp: Windows Azure Infrastructure Services

Windows Azure StorageHighly Durable Storage

Storing Data on Windows Azure

Page 16: IT Camp: Windows Azure Infrastructure Services

continuous storage

geo-replication

WEST

DCEASTDC

> 400 miles

Windows Azure Storage

Geo-Replicated Storage

Increased Availability with Replication

Page 17: IT Camp: Windows Azure Infrastructure Services

Accessing Blob StorageBlobContainerAccount

https://<account>.blob.core.windows.net/<container>/<blobname>

Pages/ Blocks

contoso

VM01.VHD

Block (4MB)

Block (4MB)

vhds

VID1.AVIvideos

Page (1TB)

Page 18: IT Camp: Windows Azure Infrastructure Services

SQL Backup to Windows Azure Storage

Page 19: IT Camp: Windows Azure Infrastructure Services

Windows Azure

Hybrid Cross-Premises ScenarioOn-Premises Network

VPN Gateway

IIS

AD / DNS

SQL

ExchangeFile AD / DNS SQL

SharePointIIS

VPN Gateways

BranchCache

IP Address Space: 10.1.0.0/16 IP Address Space: 10.2.0.0/16

System Center

Subnet 10.2.1.0 / 24 - Web

Subnet 10.2.0.0 / 24 - Gateway

Subnet 10.2.2.0 / 24 - Core

IPv4 Public Address Site-to-Site

IPSec VPN tunnel Highly Available Active / Passive

CloudNetOnPremNet

Page 20: IT Camp: Windows Azure Infrastructure Services

Windows Azure

Remote Access ScenarioOn-Premises Network

VPN Gateway

IIS

AD / DNS

SQL

ExchangeFile AD / DNS SQL

SharePointIIS

VPN Gateways

BranchCache

IP Address Space: 10.1.0.0/16 IP Address Space: 10.2.0.0/16

System Center

Subnet 10.2.1.0 / 24 - Web

Subnet 10.2.0.0 / 24 - Gateway

Subnet 10.2.2.0 / 24 - Core

IPv4 Public Address Site-to-Site

IPSec VPN tunnel Highly Available Active / Passive

CloudNetOnPremNet

Point-to-Site VPNFor Remote Users

10.3.0.0/24

Page 21: IT Camp: Windows Azure Infrastructure Services

Windows Azure VM Sizes

Unit of Compute Defined

Variable instance sizes to handle complex workloads of any size

Small1 x

1.6Ghz (moderate

IO) 1.75 GB memory70 GB OS

disk2 Data Disks

(1TB)2 x 500 Max

IOPs

Medium2 x

1.6Ghz (high IO)3.5 GB memory

135 GB OS disk

4 Data Disks (1TB)

4 x 500 Max IOPs

Small$0.09 Per service

hour

Medium$0.18

Per service hour

X-Large$0.72

Per service hour

Large $0.36 Per service

hour

Large 4 x

1.6Ghz (high IO)

7.0 GB memory

285 GB OS Disk

8 Data Disks (1TB)

8 x 500 Max IOPs

X-Large8 x 1.6Ghz(high IO)

14 GB memory

605 GB OS Disk

16 Data Disks (1TB)

16 x 500 Max IOPs

$0.02 Per service

hour

X-Small

X-SmallShared

Core(low IO) 768 MB

memory 20 GB OS

disk1 Data Disk

(1TB)1 x 500 Max

IOPs

A6$1.02 Per service

hour

A7$2.04

Per service hour

A64 x

1.6Ghz(high mem)

28 GB memory

285 GB OS Disk

8 Data Disks (1TB)

8 x 500 Max IOPs

A78 x

1.6Ghz(high mem)56 GB

memory605 GB OS

Disk16 Data Disks

(1TB)16 x 500 Max

IOPs

A5$0.51 Per service

hour

A52 x

1.6Ghz(high mem)

14 GB memory

135 GB OS Disk

4 Data Disks (1TB)

4 x 500 Max IOPs

Page 22: IT Camp: Windows Azure Infrastructure Services

Windows Azure VM Platform ImagesMicrosoft

Windows Server 2012 R2 PreviewWindows Server 2012Windows Server 2008 R2 SP1SharePoint Server 2013 TrialSQL Server 2014 CTP1SQL Server 2012SQL Server 2008 R2 SP2BizTalk Server 2013Visual Studio Ultimate 2013 Preview

Open SourceOpenSUSE 12.3SUSE Linux Enterprise Server 11 SP3SUSE Linux Enterprise Server 11 SP2Ubuntu 12.04 LTS Ubuntu 12.10Ubuntu 13.04CentOS 6.3

Page 23: IT Camp: Windows Azure Infrastructure Services

• Per-hour/per-minute license in the cloud

What about software licensing?Windows Server

• License Mobility for Applications ( SA )• Per-hour/per-minute license in the

cloud for subset of products ( SQL & BizTalk )

MicrosoftApplicatio

ns• Based upon vendor and productExternal

Applications

Page 24: IT Camp: Windows Azure Infrastructure Services

Virtual Machines & Cloud ServicesVMs exist within a Cloud Service

Cloud Service

Cloud Service is a…• Public IP Address• Public DNS

Name• Internet Firewall• Load Balancing

boundary

Page 25: IT Camp: Windows Azure Infrastructure Services

Virtual Machines & Cloud ServicesMultiple VMs can be hosted within the same cloud service Cloud Service

VM 1 VM 2

VM 3 VM 4

Cloud Service is a…• Public IP Address• Public DNS

Name• Internet Firewall• Load Balancing

boundary

Page 26: IT Camp: Windows Azure Infrastructure Services

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 27: IT Camp: Windows Azure Infrastructure Services

Virtual Machine PortabilityOn-Premises Cloud

MyApp.vhd

Page 28: IT Camp: Windows Azure Infrastructure Services

Bring Your Own Server to the CloudOn-Premises

On Premises Virtual Server

MyApp.vhd

Cloud

Provision VM from Image or

Disk using portal, script or APIUse Case

• Disk - Migration of VMs• Images – Sys-prepped (Generalized)VHD Must Be Fixed DiskOS must be configured as DHCP clientOS should be configured to allow Remote Desktop

Page 29: IT Camp: Windows Azure Infrastructure Services

Load-Balanced EndpointsPORT 443

PORT 443

Single Public IP Per Cloud Service

Cloud App / Hosted Service

EndpointPublic PortLocal PortProtocol (TCP/UDP)Name

PORT 443

Page 30: IT Camp: Windows Azure Infrastructure Services

Virtual Machine Availability SetsUpdate Domains are honored by host OS updates Fault

DomainRackFault

DomainRack

IIS1

SQL1

IIS2

SQL2

UD #2

UD #2

UD #1

UD #1

Page 31: IT Camp: Windows Azure Infrastructure Services

SQL Server VM2

SQL Server VM1

End-to-End Highly Available SolutionRedundancy at every level

IIS Web Application

IIS VM2

IIS Web Application

IIS VM1LB

SQL M

irror

ingInternet

DB-AVSET

Web-AVSET

Page 32: IT Camp: Windows Azure Infrastructure Services

IIS VM1

:-)

• Based on CPU Utilization Thresholds

• Scale-up: Start VMs

• Scale-down: Stop VMs

auto-scaling

IIS VM2

:-)IIS VM3

:-)

Auto-scaling Windows Azure VM’sCloud Service

Page 33: IT Camp: Windows Azure Infrastructure Services

Disaster Recovery Scenario

80/443

Cloud ServiceWindows Azure Virtual Network

File SQL AD/DNS

On-Premises

AD/DNS

SQL

File Web

Web

VPN Tunnel

AD Repl

SSQL DB Mirroring / AlwaysOn

S

Distributed Filesystem Replication ( DFS-R )

S

Xcopy / Robocopy based Deployments

Page 34: IT Camp: Windows Azure Infrastructure Services

Windows Azure Scripting Tools

http://www.windowsazure.com/en-us/downloads/#cmd-line-tools

Page 35: IT Camp: Windows Azure Infrastructure Services

• Up to $200 USD in “Cloud Credit” for up to 30-Days

• What kinds of scenarios can I build with a Free Trial?• 3 Small VM’s running continuously for 1-month• On-demand Dev/Test/Lab environment as-needed for 1-

month• 2.3TB of Geo-Replicated Cloud Storage for 1-month• Up to 10 Web Sites – Web, Blog, E-Commerce, Collaborate

… and MORE!

Windows Azure Free Trial Subscription

Page 36: IT Camp: Windows Azure Infrastructure Services

Getting Started with Azure and PowerShell# Download & Install Windows Azure PowerShell modulehttp://aka.ms/CloudLabStartHere# Import Azure PowerScript ModuleSet-ExecutionPolicy RemoteSigned Import-Module Azure.psd1# Download Azure Publisher Settings File ( cert )Get-AzurePublishSettingsFile # Import Azure Publisher Settings FileImport-AzurePublishSettingsFile mycloud.pubsettings

Page 37: IT Camp: Windows Azure Infrastructure Services

Build Cloud VMs with PowerShell – Part 1# Set Default Azure Subscription Set-AzureSubscription –DefaultSubscription

“Azure Free Trial”# Set Default Storage AccountGet-AzureSubscription | Set-AzureSubscription

-CurrentStorageAccount XXXlabstor01 # Set VM Image ( Platform or Custom Image )$myImage = Get-AzureVMImage –ImageName “XXXimage01”

Page 38: IT Camp: Windows Azure Infrastructure Services

Build Cloud VMs with PowerShell – Part 2# Specify a Name for the new VM$myVM = “XXXlabvm02”

# Set Affinity Group in which new VM will run$myAffinityGroup = “XXXlab01”

# Specify a new local Administrator credentials for the VM$myUsername = “AzureAdmin”$myPwd = “P@ssw0rd1”

Page 39: IT Camp: Windows Azure Infrastructure Services

Build Cloud VMs with PowerShell – Part 3# Build a new Windows VM in the Cloud

New-AzureQuickVM -Windows -name $myVM -ImageName $myImage.ImageName -ServiceName $myVM -AffinityGroup $myAffinityGroup -AdminUsername $myUsername-Password $myPwd

Page 40: IT Camp: Windows Azure Infrastructure Services

Build Cloud VMs with PowerShell – Part 4# Build a new Linux VM in the CloudNew-AzureQuickVM -Linux -name $myVM

-ImageName $myImage.ImageName -ServiceName $myVM -AffinityGroup $myAffinityGroup -LinuxUser $myUsername-Password $myPwd

Page 41: IT Camp: Windows Azure Infrastructure Services

Upload VHDs with PowerShell# Set the Azure Storage Account Name$myStorageAcct = “XXXlabstor01”# Set Source Path and Dest Path – Needs to be a FIXED SIZE VHD$mySourceVHD = “C:\MyVHDs\MyServerDisk.vhd”$myDestVHD = “http://” + $myStorageAcct +

“.blob.core.windows.net/vhds/MyServerDisk.vhd”# Upload VHD to Azure Storage AccountAdd-AzureVhd –LocalFilePath $mySourceVHD –Destination $myDestVHD # Assign VHD to Azure Disks and VM Images Add-AzureDisk –OS Windows –MediaLocation $myDestVHD

–DiskName “MyServerDisk” # Add Disk for 1 VMAdd-AzureVMImage –OS Windows –ImageName “XXXimage01”

–MediaLocation $myDestVHD –Label “Descriptive Label” # Add VM Image

Page 42: IT Camp: Windows Azure Infrastructure Services

Yung Chou’s Azure Deployment Scripthttp://aka.ms/QSK

Page 43: IT Camp: Windows Azure Infrastructure Services

Contact.Me(Tommy Patterson);• http://virtuallycloud9.com• @tommy_patterson• http://aka.ms/tplinkedin• http://aka.ms/tpohours• http://aka.ms/tpmeetup• [email protected]• Bonus – Try Server 2012 R2 @

http://aka.ms/mshosting