49
Understanding Azure David Gristwood Application Architect, Microsoft blogs.msdn.com/david_gristwood

Understanding The Azure Platform November 09

Embed Size (px)

DESCRIPTION

An overview of the Microsoft Azure platform, including Windows Azure and SQL Azure

Citation preview

Page 1: Understanding The Azure Platform   November 09

Understanding Azure

David GristwoodApplication Architect, Microsoft blogs.msdn.com/david_gristwood

Page 2: Understanding The Azure Platform   November 09

Why a Cloud Platform?

Reduce capital & operations costs Simplify application deployment &

management Simplify scaling to internet scale Cost effectively handle peak loads Focus on new functionality & not

infrastructure

Page 3: Understanding The Azure Platform   November 09

RNLI & Windows Azure

www.aws.net/services/cloud-services/case-study

Page 4: Understanding The Azure Platform   November 09

The Azure Philosophy

Page 5: Understanding The Azure Platform   November 09

Azure is about Scale

• Azure is designed from the ground up for true Internet scale

• Builds on our existing on-line properties and services

• Supports the “Scale Fast, Fail Fast” model to ride the peaks and troughs

www.flickr.com/photos/januszbc/1776184496

Page 6: Understanding The Azure Platform   November 09

Characteristics of Azure Applications

“Elasticity” • Need massive

scale• Need high

reliability• Have variable

load• Have short or

unpredictable lifetime

http://www.flickr.com/photos/39919537@N06/3666813048/

Page 7: Understanding The Azure Platform   November 09

Helps your Systems Scale

www.flickr.com/photos/39818355@N00/2128626176

• Most architecture is hidden inside code

• Azure encourages you to define your application into constituent parts

• Azure can scale the parts of your application as appropriate

Page 8: Understanding The Azure Platform   November 09

Flexible Architecture

• Systems evolve over time

• Cloud is not an “all or nothing” proposition

• Azure makes it easier to extend to the cloud

www.flickr.com/photos/tomkpunkt/3695066577

Page 9: Understanding The Azure Platform   November 09

Opening up the Cloud

www.flickr.com/photos/h19/2306213399/in/set-72157594224557858

• Allow developers to apply their existing skills to the cloud

• Support for .NET, Ruby, PHP, Java

• Interoperability with any platform, tools or technology

Page 10: Understanding The Azure Platform   November 09

Flexible Business Model

• No up front hardware purchase

• Pay as you go costing model

• Ideal in current economical climate

www.flickr.com/photos/cleebster/2508660124

Page 11: Understanding The Azure Platform   November 09

Data Centers

Page 12: Understanding The Azure Platform   November 09

Windows Azure Platform Availability

North Central

USA

South Central

USA

Northern Europe

Western Europe

Eastern Asia

Southeast Asia

2010

2010

2010

2010

Page 13: Understanding The Azure Platform   November 09

Microsoft has run Online Services since 19941st MSFT datacentre built in 1989 Running Online Services 24x7x365 MSN launched beta in 1994/public in 1995Global service delivery to 59 markets/36 languages ∙ 30B Live ID authentications/month ∙ 2B Bing queries/month

∙ 10B MSN page views/month ∙ 240B Messenger messages/month

Global Infrastructure to Run Your Services World WideQuincy, WA: Approx 500K sq ft, hydro-poweredSan Antonio, TX: Approx 475K sq ft, recyclable waterChicago, IL: Approx 700K sq ft, water economizationDublin, Ireland: Approx 303+K sq ft, air economization

Delivering an Efficient & Sustainable Cloud

Page 14: Understanding The Azure Platform   November 09

Chicago Datacentre – Scalable, Sustainable

One of world’s largest datacentres using containers, on-line on July 2009 Cost $500 million, 700k sq ft facility

(approx 16 football fields) 30 MegaWatts today, 60 MW for future

use ISO 27001:2005 Accreditation SAS 70 Type I and II Attestations

40 ft containers with 1800-2500 servers Density of 10 times amount of

compute in equivalent space in traditional datacentres

Optimizes efficiency, reduces wastes and carbon footprint

Delivers an average PUE of 1.22 Plug-and-play infrastructure = Rapid

Deployment

Page 15: Understanding The Azure Platform   November 09

Dublin Datacentre First Mega Datacentre built outside the

US, on-line on July 2009 Cost $500 million, 303+sq ft facility

and growing EU Datacenter Best Practice Award

Winner Stand-alone Server Pods

Environmentally Sustainable Free Air-Cooling via Air-Side

Economization 50% less energy use vs. traditional

facilities 1 % water use vs. traditional

facilities 1.25 PUE

5.4 MegaWatts today, 22.2 MW for future use

ISO 27001:2005 Accreditation SAS 70 Type I and II Attestations

Page 16: Understanding The Azure Platform   November 09

The Azure Platform

Page 17: Understanding The Azure Platform   November 09

Windows Azure

Applications

AppFabric

SQL Azure

Applications

OthersMobileDesktopServer

The Azure Services PlatformThe Big Picture

Page 18: Understanding The Azure Platform   November 09

SERV ICESSERVERS

Developer Tools

Programming Model

Application Services

Relational Database

Operating System

Systems Management

Applications

Available Now

Beta at PDCShip in 2010

Beta in 2010

SERV ICESSERVERS

Beta 1

v4

“Cloud”CTP

Page 19: Understanding The Azure Platform   November 09

Windows Azure

Page 20: Understanding The Azure Platform   November 09

Fabric

Storage

Config

Compute

Application

Windows AzureWindows in the cloud

AppFabric

Windows Azure

Applications

Applications

SQL Azure

OthersMobileDesktopServer

Page 21: Understanding The Azure Platform   November 09

Web vs Worker Role

Web Role

IIS Host

Your Code

Worker Role

System Host

Your Code

Page 22: Understanding The Azure Platform   November 09

Common Azure Pattern

Web Role Worker Role

BlobStorage

QueueStorage

Page 23: Understanding The Azure Platform   November 09

Storage

Storage*

Account

Queue

Blob

Tables

* New for 2010 - “Drives” – durable NTFS volumes built on Blob storage

Page 24: Understanding The Azure Platform   November 09

Blobs

Containers

Pictures

Photo1.png

Blobs

Photo3.png

Photo2.png

Page 25: Understanding The Azure Platform   November 09

Tables

Tables

Movies

Genre = …Title = …

Entities

Actors

Genre = …Title = …

Name = …DOB = …

Page 26: Understanding The Azure Platform   November 09

Partitions and RowsPartitionKey(Category)

RowKey(Title)

Timestamp ReleaseDate

Action Fast & Furious … 2009

Action The Bourne Ultimatum

… 2007

… … … …

Animation

Open Season 2 … 2009

Animation

The Ant Bully … 2006

… … … …

Comedy Office Space … 1999

… … … …

SciFi X-Men Origins: Wolverine

… 2009

… … … …

War Defiance … 2008

Page 27: Understanding The Azure Platform   November 09

Blobs

Containers

Pictures

Photo1.png

Blobs

Photo3.png

Photo2.png

Page 28: Understanding The Azure Platform   November 09

Queues

Queues

ThumbnailJobs

“Body1”

Messages

“Body3”

“Body2”

Page 29: Understanding The Azure Platform   November 09

Development Fabric and Storage

Local Machine

Windows Azure Simulation Environment

Development Fabric

Development Storage

Page 30: Understanding The Azure Platform   November 09

Portal

Page 31: Understanding The Azure Platform   November 09

Windows Azure for Application Developers

Portal HostedService

Storage

SDK

Develop Deploy Run

Page 32: Understanding The Azure Platform   November 09

The Fabric

Page 33: Understanding The Azure Platform   November 09

Fault Domains

Page 34: Understanding The Azure Platform   November 09

Lights-Out Service Management

Create services at the developer portal

Manage services programmatically using the Service Management API Use in combination with

diagnostics API to build a feedback loop

Page 35: Understanding The Azure Platform   November 09

Service Upgrade Models

In-place rolling upgrade Role instances are spread over update

domains Roles are updated one update domain at a

time Service remains available during upgrade

Real-time hot swap Swap service endpoints of old/new version Enables complex architectural changes

Planned downtime Stop and replace service with new version

Page 36: Understanding The Azure Platform   November 09

SQL Azure

Page 37: Understanding The Azure Platform   November 09

37

“SQL Server in the Cloud” Alternative to Windows Azure storage Focused on SQL Server core database services Accessed via TDS Supports a subset of T-SQL for SQL Server

2008 Limited to 1Gb or 10Gb database

Page 38: Understanding The Azure Platform   November 09

SQL Azure Database

Customer Value Props

Self-provisioning and capacity on demandSymmetry w/ on-premises database

platformAutomatic high-availability and fault-

toleranceAutomated DB maintenance

(infrastructure)Simple, flexible pricing – “pay as you

grow”

Browser

MSDatacenter

SOAP/RESTHTTP/S

SQL Azure Database (Windows Azure Compute)

Windows Azure Compute

T-SQL (TDS)

App Code(ASP.NET)

SQL Server Reporting Server

(on-premises)

Astoria/REST - EDMHTTP/S

- AD Federation (LiveId /.Net Svcs ACS)

SQL AzureDatabase

T-SQL (TDS)

Relational database service

• SQL Server technology foundation

• Highly symmetrical

• Highly scaled

Database “as a Service” – beyond hosting

Highly scaled out relational database as a service

Page 39: Understanding The Azure Platform   November 09

Microsoft SQL Azure T-SQLTransact-SQL Features Supported Transact-SQL Features Unsupported

Constants Constraints Cursors Index management and

rebuilding indexes Local temporary tables Reserved keywords Stored procedures Statistics management Transactions Triggers Tables, joins, and table

variables Transact-SQL language

elements such as

o Create/drop databases

o Create/alter/drop tables

o Create/alter/drop users and logins

o and so on. User-defined functions Views, including

sys.synonyms view

Common Language Runtime (CLR) Database file placement Database mirroring Distributed queries Distributed transactions Filegroup management Global temporary tables Spatial data and indexes SQL Server configuration options SQL Server Service Broker System tables Trace Flags

Page 40: Understanding The Azure Platform   November 09

Codename “Dallas”

Page 41: Understanding The Azure Platform   November 09

Information as a Service

41

Data or functionality that is “of value to many” – enabling applications, reports, BI analysis, etc… Examples include GIS/Spatial, traffic, movie show

times, crime, real-estate sales, financial data, navigation, census data, reviews, etc…

Various Classifications: Commercial: clean, supported, and regularly updated

from ISVs and Content Providers Trusted Public Domain: clean, unsupported data from

academia and governments (Census, FDA, …) Crowd Sourced: unreliable data in the public domain

from anyone and everyone

Page 42: Understanding The Azure Platform   November 09

Information in the Cloud

Codename “Dallas”

Data ProviderData Consumer

Atom 1.0, RAW

• Find• Subscribe• Interact

Page 43: Understanding The Azure Platform   November 09

Accessing Data from “Dallas”

Page 44: Understanding The Azure Platform   November 09

Commercial Information

Page 45: Understanding The Azure Platform   November 09

Windows Azure Platform Consumption Prices

Elastic, scalable, secure, & highly available automated service platform

Pay as you go and grow for only what you use when you use it

Compute

$0.12/hour

+ Variable Instance Sizes

Per service hour

Highly available, scalable, and self managed distributed database

service

Web EditionPer database/month

$9.99/month(up to 1 GB DB/month)

Business Edition

$99.99/month(up to 10 GB DB/month)

Per database/month

Storage Per GB stored &

transactions$0.15 GB/month

$0.01/10K transactions

Prices shown in USD only

Windows Azure platform AppFabric Service Bus & Access ControlScalable, automated, highly available services for secure connectivity

Access Control

$0.015/10k Message Operations

Per Message Operation $0.015/10k Message

Operations

Per Message Operation

Service Bus

International prices are available

Page 46: Understanding The Azure Platform   November 09

Windows Azure Instance Sizes

Unit of Compute Defined

Small

$0.12

Per service hour

Medium

$0.24

Per service hour

Large

$0.48

Per service hour

X Large

$0.96

Per service hour

Variable instance sizes to handle complex workloads of any size

 

Small

1 x 1.6Ghz (moderate IO)

Medium

2 x 1.6Ghz (high IO)

Large

4 x 1.6Ghz (high IO)

X-Large

8 x 1.6Ghz(high IO)

Equivalent compute capacity of a 1.6Ghz processor (on 64bit platform)

1.75 GB memory 3.5 GB memory 7.0 GB memory 14 GB memory

250 GB storage(instance storage)

500 GB storage(instance storage)

1000 GB storage(instance storage)

2000 GB (instance storage)

Page 47: Understanding The Azure Platform   November 09

North America Region

S. Central - US Sub-region

N. Central – US Sub-region

Europe Region

W. Europe Sub-region

S.E. AsiaSub-region

Asia Pacific Region

E. AsiaSub-region

$0.10 GB Ingress

$0.15 GB Egress

$0.10 GB Ingress

$0.15 GB Egress

$0.30 GB Ingress

$0.45 GB Egress

N. Europe Sub-region

Windows Azure Platform Data Transfer Priced per GB transferred/month (prices shown in USD)

No Charge For Off Peak Ingress Promotion (ends 6/30/10)

On-board to Windows Azure platform at no charge Off peak times defined as: 10pm-6am Mon-Fri & from 10pm-Fri to 6am-

Mon for weekends in each designated regional time zones below

North America PST = UTC-8

Europe WET = UTC

Asia PacificSST = UTC+8

Page 48: Understanding The Azure Platform   November 09

TCO Analyzer Tool

http://www.microsoft.com/windowsazure/tco/

TCO tool available today

Quickly determine “quantitative” value of using Windows Azure Platform services

TCO of development and running Windows Azure Platform vs. traditional delivery channels

Estimation “of” and conversion “to” on-premise solution to Windows Azure Platform services

Page 49: Understanding The Azure Platform   November 09

© 2008 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.