Joey Snow Technical Evanglist Microsoft Corporation SESSION CODE: WSV310

Preview:

Citation preview

What Does the Cloud Mean for the IT Professional? Joey SnowTechnical EvanglistMicrosoft Corporation

SESSION CODE: WSV310

Steering the Cloud: IT Pros and Windows Azure

• Windows Azure is Microsoft’s cloud services platform.• Allows for hosting of Web Services and Applications on

Microsoft owned data-centers.

What you probably know:

• Is the IT Pro still needed?• Does my job change?• What am I going to do?

What you’re probably wondering:

Platform Continuum

• Bring your own machines, connectivity, software, etc.

• Complete control• Complete responsibility• Static capabilities• Upfront capital costs for

the infrastructure

• Renting machines, connectivity, software

• Less control• Fewer responsibilities• Lower capital costs • More flexible• Pay for fixed capacity,

even if idle

On-PremisesServers

Hosted Servers

• Shared, multi-tenant infrastructure

• Virtualized & dynamic• Scalable & available• Abstracted from the

infrastructure• Higher-level services• Pay as you go

Cloud Platform

How can Windows Azure help the IT Pro?

Cloud Platform

IT Pro Responsibilities

Deploying Applications

Managing Application

Drives

Memory

OS Patches

Networking

Physical Hardware

Drives

Memory

OS Patches

Networking

Physical Hardware

Windows Azure, In One Picture

Desktop

VS Tools

WA SDK

Stor

age

Clus

ter

MSFT Datacenters

Business Portal

Developer Portal

Com

pute

Clu

ster

……

Service Management Service

REST

REST

Cloud VM

Runtime API

VM Setup

User Code

Cloud Service Anatomy

Windows Azure Storage (Table, Blob, Queue)

Web Role

LB

SQL Azure Internet Services

Web Role 2 (IIS)Port 8080

Worker Role 2

Worker Role 1Web RoleWeb Role 1 (IIS)Port 80

Worker Role 2

The Fabric Controller communicates with every server within the Fabric. Interacts with a “Fabric Agent” on each machineMonitors every VM, application and instanceService Management is performed by the Fabric Controller Performs load balancing, check pointing and recovery

Fabric Controller

Fabric Controller

Fabric

X

X

X

Service Definition

What is Windows Azure?Why should I care about Windows Azure?How do I manage Windows Azure services as an IT Pro?

Now What?

?

Managing Services

IT Pro Deployment

Monitoring

Deploying a Windows Azure Service

Deployment

Service Definitio

n File

• Define Roles• Define Storage• Define Endpoints• Config Settings• SSI Certs

Configuring a Windows Azure Service

Deployment

• Configuration Settings• Define Storage Settings• Number of Role

Instances

Service Configurati

on File

Deployment: Upgrading a Service

Deployment

VIP Swap Rolling Upgrade

Upgrades the entire serviceTurns the staging environment into the production, and production into stagingAny existing state will be lost

Deployment: VIP Swap

VIP Swap

myapp.cloudapp.net <guid>.cloudapp.net

You can upgrade a single role, and not have to upgrade the whole serviceSo your service remains availableYou can have ‘stateful’ things going on in the background

Deployment: Rolling Upgrade

Role instance 1 Role instance 2 Role instance 3 Role instance 4

Fabric Controller

Upgrading Role Role instance 2 Role instance 3 Role instance 4

Fabric Controller

Upgraded Role 1 Upgrading Role Role instance 3 Role instance 4

Fabric Controller

Upgraded Role 1 Upgraded Role 2 Upgraded Role 3 Upgraded Role 4

Fabric Controller

Rolling Upgrade

Deployment: Removing a Service

No Longer Paying

Still Paying

Performance measurementResource usageTroubleshooting and debuggingProblem detectionQuality of Service MetricsCapacity planningTraffic analysis (users, views, peak times)BillingAuditing

Common Diagnostic Tasks

Diagnostics and Monitoring

Data Source Default Configuration How to Configure Format

Trace logs Enabled, stored locally Diag API, Trace listener Table

Performance Counters Disabled Diag API Table

Windows Event Logs Disabled Diag API Table

Infrastructure Logs Enabled, stored locally Diag API Table

IIS Logs Enabled, stored locally Diag API, Web.config Blob

IIS Failed Request Logs Disabled Diag API, Web.config Blob

Application Crash Dumps Disabled Diag API, Crash API Blob

Arbitrary Logs & Files Disabled Diag API Blob

Role Instance StartsDiagnostic Monitor StartsMonitor is configured

Imperatively at Start timeRemotely any time

Monitor buffers data locallyUser can set a quota (FIFO)

User initiates transfer to storage

Scheduled or On Demand

How does it work (in a nutshell)?

Role

Role Instance

Diagnostic Monitor

Local directory storage

The Diagnostic Monitor

Windows

DM

Code IIS

Log

EL

PC

CD

Disk Cache~4GB

EL1GB

Log2GB

PC1GB

How do I get to my monitoring data?On demandOn a schedule

When transferring data, you may specifyTime range for transferFilter Level (Event Logs, Trace Warning vs. Trace Error)Source (Event log, IIS, Dumps, etc…)’

The transfer is stored byDeployment IDInstance

All of this can be configured either At start time

Good: Automatically configured when you scale up.Bad: If you want to change it you have to redeploy

Remotely using the Windows Azure Diagnostics APIGood: Can change information gathered at any timeGood: You don’t have to dev anythingBad: On a per-instance basis, so when scaling, need to update monitors on the new instances.

Monitoring Your Service

Remote Configuration

Role

Role Instance

Diagnostic Monitor

Local directory storage

Poll Interval

Performance measurementResource usageTroubleshooting and debuggingProblem detectionQuality of Service MetricsCapacity planningTraffic analysis (users, views, peak times)BillingAuditing

Common Diagnostic Tasks

Standard costs apply for transactions, storage & bandwidthData Retention

Local buffers are aged out by the Diagnostic Monitor according to configurable quotasYou control data retention for data in table/blob storage

Query Performance on Tabular DataPartitioned by high-order bits of the tick countQuery by time is efficientFilter by verbosity level at transfer time

Storage Considerations

Windows Azure and the IT Pro

Develop

Deploy

MonitorTune

AdjustIT

Pro

IT Pro

Q&A

Windows Azure

Demo TitleNameTitleCompany

DEMO

Resources

www.microsoft.com/teched

Sessions On-Demand & Community Microsoft Certification & Training Resources

Resources for IT Professionals Resources for Developers

www.microsoft.com/learning

http://microsoft.com/technet http://microsoft.com/msdn

Learning

Complete an evaluation on CommNet and enter to win!

Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st

http://northamerica.msteched.com/registration

You can also register at the

North America 2011 kiosk located at registrationJoin us in Atlanta next year

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.

JUNE 7-10, 2010 | NEW ORLEANS, LA