understanding the azure platform jan

64
Understanding Azure David Gristwood Application Architect, Microsoft blogs.msdn.com/david_gristwood @ScroffTheBad

Upload: davidgristwood

Post on 23-Jan-2015

1.895 views

Category:

Technology


1 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Understanding The Azure Platform   Jan

Understanding Azure

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

Page 2: Understanding The Azure Platform   Jan

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   Jan

The Azure Philosophy

Page 4: Understanding The Azure Platform   Jan

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 5: Understanding The Azure Platform   Jan

Characteristics of Azure Applications

“Scale & Elasticity” • Need massive

scale• Need high

reliability• Have variable load• Have short or

unpredictable lifetime

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

Page 6: Understanding The Azure Platform   Jan

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 7: Understanding The Azure Platform   Jan

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 8: Understanding The Azure Platform   Jan

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 9: Understanding The Azure Platform   Jan

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 10: Understanding The Azure Platform   Jan

Data Centers

Page 11: Understanding The Azure Platform   Jan

Windows Azure Platform Availability

North Central

USA

South Central

USA

Northern Europe

Western Europe

Eastern Asia

Southeast Asia

2010

2010

2010

2010

Page 12: Understanding The Azure Platform   Jan

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 13: Understanding The Azure Platform   Jan

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 14: Understanding The Azure Platform   Jan

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 15: Understanding The Azure Platform   Jan

Windows Azure

Page 16: Understanding The Azure Platform   Jan

Windows Azure

Applications

AppFabric

SQL Azure

Applications

OthersMobileDesktopServer

The Azure PlatformThe Big Picture

Page 17: Understanding The Azure Platform   Jan

Fabric

Storage

Config

Compute

Application

AppFabric

Windows Azure

Applications

Applications

SQL Azure

OthersMobileDesktopServer

Page 18: Understanding The Azure Platform   Jan

Azure Development

Page 19: Understanding The Azure Platform   Jan

Windows Azure for Application Developers

Portal HostedService

Storage

SDK

Develop Deploy Run

Page 20: Understanding The Azure Platform   Jan

Development Fabric and Storage

Local Machine

Windows Azure Simulation Environment

Development Fabric

Development Storage

Page 21: Understanding The Azure Platform   Jan

Visual Studio 2010

Page 22: Understanding The Azure Platform   Jan

Portal

Page 23: Understanding The Azure Platform   Jan

Windows Azure Features

Page 24: Understanding The Azure Platform   Jan

Web vs Worker Role

Web Role

IIS Host

Your Code

Worker Role

System Host

Your Code

Page 25: Understanding The Azure Platform   Jan

Common Azure Pattern

Web Role Worker Role

BlobStorage

QueueStorage

Page 26: Understanding The Azure Platform   Jan

Storage

Storage*

Account

Queue

Blob

Tables

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

Page 27: Understanding The Azure Platform   Jan

Blobs

Containers

Pictures

Photo1.png

Blobs

Photo3.png

Photo2.png

Page 28: Understanding The Azure Platform   Jan

Tables

Tables

Movies

Genre = …Title = …

Entities

Actors

Genre = …Title = …

Name = …DOB = …

Page 29: Understanding The Azure Platform   Jan

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 30: Understanding The Azure Platform   Jan

Blobs

Containers

Pictures

Photo1.png

Blobs

Photo3.png

Photo2.png

Page 31: Understanding The Azure Platform   Jan

Queues

Queues

ThumbnailJobs

“Body1”

Messages

“Body3”

“Body2”

Page 32: Understanding The Azure Platform   Jan

The Fabric

Page 33: Understanding The Azure Platform   Jan

Fault Domains

Page 34: Understanding The Azure Platform   Jan

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   Jan

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   Jan

Windows Azure Diagnostics

36

Cloud is much harder than single server Dynamic environment, no local access

Azure Diagnostics built for monitoring & data collection Focus on what to collect and when Designed for Azure

Based on standard APIs Traces, logs, crash dumps, IIS logs,

perf counters, ETW, etc Upload to Azure storage as required

Logging & Diagnostics

Page 37: Understanding The Azure Platform   Jan

Azure Content Delivery Network

Better performance and user experience by caching Azure blobs at strategically placed locations 18 locations globally (United States, Europe,

Asia, Australia and South America) and growing

Windows Azure Blob Service

pic1.jpg

Content Delivery Network

Edge Location

Edge Location Edge Locationpic1.jpg

Page 38: Understanding The Azure Platform   Jan

SQL Azure

Page 39: Understanding The Azure Platform   Jan

39

“SQL Server in the Cloud”“Database as a Service”

Page 40: Understanding The Azure Platform   Jan

SQL Azure vs SQL Server

Similarities Scalable, reliable, robust, SQL Server

technology foundation Same SQL Server core database service Same TDS access

Differences Supports subset of SQL Server 2008 T-SQL Limited to 1Gb or 10Gb database Different pricing model No Reporting Services, Analysis Services, etc

Page 41: Understanding The Azure Platform   Jan

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 42: Understanding The Azure Platform   Jan

Common Scenarios

Unknown lifetime systems, favouring "pay as you go"

Good database management required Non or low confidential data Reference data, esp with Sync

Framework Neutral "man in the middle"

requirements Physical ownership of data not essential

Page 43: Understanding The Azure Platform   Jan

SQL Azure related projects

Codename "Houston" Web management tooling SQL Server Management Studio 2008 R2 works

today Codename "Dallas“

“Information as a service” Codename "Sydney“

Punch holes through firewalls to integrate cloud and on-premise databases

SQL Azure Data Sync For Sync Framework

Page 44: Understanding The Azure Platform   Jan

Codename “Dallas”

Page 45: Understanding The Azure Platform   Jan

Information as a Service

45

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 46: Understanding The Azure Platform   Jan

Information in the Cloud

Codename “Dallas”

Data ProviderData Consumer

Atom 1.0, RAW

• Find• Subscribe• Interact

Page 47: Understanding The Azure Platform   Jan

Accessing Data from “Dallas”

Page 48: Understanding The Azure Platform   Jan

AppFabric

Page 49: Understanding The Azure Platform   Jan

“Infrastructure to help build and manage applications more easily”

Windows Server AppFabric Caching capabilities (“Velocity”) Workflow + service hosting

(“Dublin”) Windows Azure AppFabric (“.NET

Services”) Service Bus Access Control

Page 50: Understanding The Azure Platform   Jan

Service Bus

50

Exposing internal applications on the Internet isn’t easy

Network address translation (NAT) and firewalls get in the way

The Service Bus: Provides a cloud-based

intermediary between clients and internal applications

Provides a service registry that clients can use to find the services they need

Page 51: Understanding The Azure Platform   Jan

Service Bus

51

Page 52: Understanding The Azure Platform   Jan

Access Control

52

Different organizations identify users through many different techniques

Applications can be faced with a confusing mess of security related code

The Access Control Service: Implements a security token service

(STS) in the cloud It accepts one token and issues another An administrator can define rules for

how this claims transformation is done

Page 53: Understanding The Azure Platform   Jan

Access Control

53

Page 54: Understanding The Azure Platform   Jan

Commercial Information

Page 55: Understanding The Azure Platform   Jan

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 56: Understanding The Azure Platform   Jan

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 57: Understanding The Azure Platform   Jan

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 58: Understanding The Azure Platform   Jan

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 59: Understanding The Azure Platform   Jan

Review Preliminary Results

Page 60: Understanding The Azure Platform   Jan

Final TCO Comparison

Page 61: Understanding The Azure Platform   Jan

http://azureroi.cloudapp.net/

Page 62: Understanding The Azure Platform   Jan

Azure Resources

Page 63: Understanding The Azure Platform   Jan

www.Azure.com

Page 64: Understanding The Azure Platform   Jan

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