Understanding the Windows Azure Platform - Dec 2010

95
Understanding the Windows Azure Platform David Gristwood Application Architect, Microsoft blogs.msdn.com/david_gristwood

description

Understanding the Windows Azure Platform - A high level techncial overview

Transcript of Understanding the Windows Azure Platform - Dec 2010

Page 1: Understanding the Windows Azure Platform - Dec 2010

Understanding the Windows Azure PlatformDavid GristwoodApplication Architect, Microsoft blogs.msdn.com/david_gristwood

Page 2: Understanding the Windows Azure Platform - Dec 2010

Platform as a Service

Page 3: Understanding the Windows Azure Platform - Dec 2010

CLOUD COMPUTING

IT as a Service

INFRASTRUCTUREAS A SERV ICE

PLATFORMAS A SERV ICE

SOFTWAREAS A SERV ICE

Page 4: Understanding the Windows Azure Platform - Dec 2010

INFRASTRUCTUREAS A SERV ICE

PLATFORMAS A SERV ICE

CLOUD COMPUTINGSOFTWARE

AS A SERV ICE

IT as a Service

Page 5: Understanding the Windows Azure Platform - Dec 2010

Platform as a Service

Platform Today

Server, VM, Network, Storage, AppPatch, Service Release, New Version

Custom, Inconsistent

Plan for Peak Load

Assembly Required

Built to Avoid & Recover from Failure

App

Maintained for You

Standardized

On-Demand Scale

Ready-Made Services

Built to Expect & Withstand Failure

Page 6: Understanding the Windows Azure Platform - Dec 2010

The OS for PaaS is:

Page 7: Understanding the Windows Azure Platform - Dec 2010

FOUNDATION

SERVICES

INFORMATION

Compute ▪ Storage ▪ Networking ▪ Identity & Security

TOOLS

Web ▪ HPC ▪ Caching ▪ Messaging ▪ Workflow ▪ Content Delivery

Relational Database ▪ Reporting & Analytics ▪ Data Sync

Online Portal ▪ Marketplace ▪ Development Tools ▪ Management Tools

Page 8: Understanding the Windows Azure Platform - Dec 2010

YOU DECIDE:Language, Dev Framework, Dev Tool, Management Tool, Datacenter

Page 9: Understanding the Windows Azure Platform - Dec 2010

Store Data inthe Cloud

Extend Applications

to the Cloud

Move Applications to the Cloud

Create New Cloud Services

Create New Solutions by Combining

Cloud Services

Windows Azure 0pportunities

Page 10: Understanding the Windows Azure Platform - Dec 2010

The Windows Azure Philosophy

Page 11: Understanding the Windows Azure Platform - Dec 2010

Windows Azure is about Scale• Designed from the ground

up for true Internet scale• Offers global presence• Platform for next generation

cloud aware systems• Ride the “network effect”

• LinkedIn: 16 months for first million users, 11 days for most recent million

• Facebook: 5 years to hit 250m users, 8 months to double

• Scale up and scale down

www.flickr.com/photos/ScroffTheBad

Page 12: Understanding the Windows Azure Platform - Dec 2010

Operational Excellence & Elasticity• Need high reliability

• LOB, software as a service• Need massive scale

• Social networking, web 2.0• Have variable load / unpredictable

lifetime• Ticketing, marketing

• Parallel processing• Financial applications

• Don’t fit in well with a company’s data center• Avoid IT dept, support joint ventures

• Benefit from external storage• Archive

Average Usage

Com

pu

te

Time

“Growing Fast”

Com

pu

te

Time

“On and Off”

UsageAverage

Com

pu

te

Time

“Unpredictable Bursting”

Average Usage Com

pu

te

Time

“Predictable Bursting”

Average Usage

Page 13: Understanding the Windows Azure Platform - Dec 2010

Helps your Systems Scale

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

• Most architecture is hidden deep inside code

• Windows Azure encourages you to define your application into constituent parts

• Windows Azure supports cloud enabled applications

• Windows Azure can scale the parts of your application as appropriate

Page 14: Understanding the Windows Azure Platform - Dec 2010

Flexible Architecture

• Systems evolve over time• Cloud is not an “all

or nothing” proposition• Hybrid model well

supported• Windows Azure

makes it easier to extend to the cloud

www.flickr.com/photos/tomkpunkt/3695066577

Page 15: Understanding the Windows Azure Platform - Dec 2010

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 16: Understanding the Windows Azure Platform - Dec 2010

Flexible Business Model

• No up front hardware purchase

• “Pay as you go” model

• Ideal in current economical climate

www.flickr.com/photos/cleebster/2508660124

Page 17: Understanding the Windows Azure Platform - Dec 2010

Microsoft Data Centers

Page 18: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Platform Availability

North Central USA

South Central USA

Northern Europe

Western Europe

Eastern Asia

Southeast Asia

Page 19: Understanding the Windows Azure Platform - Dec 2010

Delivering an Efficient & Sustainable Cloud

Page 20: Understanding the Windows Azure Platform - Dec 2010

Chicago Datacentre – Scalable, Sustainable One of world’s largest datacentres using

containers, on-line on July 2009Cost $500 million700k sq ft facility (approx 16 football fields)30 MegaWatts today, 60 MW for future use

SecurityISO 27001:2005 Accreditation - Security ManagementSAS 70 Type I and II Attestations - Audit standard for our internal controls system

Containers40 ft containers with 1800-2500 servers 10 x density traditional datacentres Optimizes efficiency, reduces wastes & carbon footprint Delivers an average PUE of 1.22

Page 21: Understanding the Windows Azure Platform - Dec 2010

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

5.4 MegaWatts today, 22.2 MW for future use ISO 27001:2005 Accreditation SAS 70 Type I and II Attestations

Page 22: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Platform ApplianceAzure Service in Your Datacenter

Identical to the hardware in Azure datacentersDelivered by a choice of hardware partners

BenefitsPhysical ControlGeographic ProximityRegulatory ComplianceData Sovereignty

Currently in development with several partners

Fujitsu, Dell, HP, and eBay

CustomerService Provider

Microsoft

Page 23: Understanding the Windows Azure Platform - Dec 2010

The Windows Azure Platform

Page 24: Understanding the Windows Azure Platform - Dec 2010

The Windows Azure Platform

Page 25: Understanding the Windows Azure Platform - Dec 2010

Windows Azure

Applications

Windows Azure AppFabric

SQL Azure

Applications

OthersMobileDesktopServer

Window Azure Platform – The Big Picture

Page 26: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Development

Page 27: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Tools for Visual Studio

Windows Azure Tooling

Windows Azure SDK• Visual Studio 2008• Visual Studio 2010• Project Templates• Model & Config Tooling• Package & 1 Click Deploy• Debugging Support• Storage Explorer• Server Explorer• IntelliTrace Support

• Windows Server 2008 or Windows 7

• SQL Express 2005+• .NET 3.5 SP1+ • Development Fabric• Development Storage• .NET APIs

Page 28: Understanding the Windows Azure Platform - Dec 2010

Visual Studio 2010

Page 29: Understanding the Windows Azure Platform - Dec 2010

Visual Studio 2010

Page 30: Understanding the Windows Azure Platform - Dec 2010

Visual Studio 2010

Page 31: Understanding the Windows Azure Platform - Dec 2010

Development Fabric and Storage

Local Machine

Windows Azure Simulation Environment

Development Fabric Development Storage

Page 32: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Platform Management PortalFaster and more user friendly

portal for Windows Azure Platform services

Enables more visibility and control

Supports multiple users and roles

Enable Remote Desktop and easily connect to Windows Azure instances

Built on the Windows Azure Service Management APIs

Page 33: Understanding the Windows Azure Platform - Dec 2010

Remote Desktop

Portal-integrated Remote Desktop access to instances within your deploymentUse standard Remote Desktop clientDynamic configuration of Remote Desktop settings

CredentialsEnable/DisableExpiration of credentials

Ability to take instances on/off the load balancer for debugging

Page 34: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Building Blocks

Page 35: Understanding the Windows Azure Platform - Dec 2010

Fabric

Storage

Config

Compute

Application

AppFabric

Windows Azure

Applications

Applications

SQL Azure

OthersMobileDesktopServer

Page 36: Understanding the Windows Azure Platform - Dec 2010

Azure Compute Building Blocks

Hosted IIS 7HTTP/HTTPSASP.NETFast CGI + PHP

Managed Code StartInbound on

Any TCP PortHTTP/HTTPS

Web RoleWorker Role

Windows Server 2008 x64 Virtual Machine.NET Framework – 3.5 SP1 and 4.0Supports Full Trust but no Admin rightsNative Code in User ModeFabric manages role lifecycle

Page 37: Understanding the Windows Azure Platform - Dec 2010

VM Size in Windows AzureWindows Azure

Supports Various VM SizesSize set on Role in Service DefinitionService can have multiple rolesBalance of Performance per node vs. High Availability from multiple nodesSet in Service Model definitionAll instances of role will be of equal size

Size CPU Cores RAM Local Storage Cost

Extra Small Shared 0.7GB 20GB 0.4 x

Small 1 1.7GB 250GB 1 x

Medium 2 3.5GB 500GB 2 x

Large 4 7GB 1000GB 4 x

Extra large 8 15GB 2000GB 8 x

Page 38: Understanding the Windows Azure Platform - Dec 2010

Role Programming ModelInherits RoleEntryPointOnStart() Method

Called by Fabric on startup, allows you to perform initialization tasks.Reports Busy status to load balancer until you return true.

Run() MethodMain logic is here – can do anything, typically infinite loop. Should never exit.

OnStop() MethodCalled when role is to be shutdown, graceful exit.30 Seconds to tidy up

You call into RoleEnvironment to enumerate roles, endpoints, etc

Page 39: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Storage Building Blocks

Storage

Account

Queue

Blobs &Drives

Tables

Each storage account can hold up to 100 TB

Page 40: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Blobs

Containers

Pictures

Photo1.png

Blobs

Photo3.png

Photo2.png

Provide simple interface for storing named files along with metadata for the file

Page 41: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Blob features

REST based APImyaccount.blob.core.windows.net/mycontainer/myblob.jpg Blob Service API

PutBlob, GetBlob, DeleteBlob, CopyBlob, SnapshotBlob, LeaseBlob, etc

Block Blob for streamingMaximum size 200Gb

Page Blob for random read/write operations

Maximum size 1Tb

Page 42: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Drives

Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)

NTFS APIs providing durable file storage on Page BlobsDrives can be up to 1TB, up to 16 can be mountedCan upload VHD via Page Blob then mount

Ease migration of existing Windows applications to AzureDurability and survival of data on application failover or hardware failure

Page 43: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Tables

Tables

MoviesGenre = …Title = …

Entities

Actors

Genre = …Title = …

Name = …DOB = …

Structured storage via entities, containing sets of properties

Page 44: Understanding the Windows Azure Platform - Dec 2010

Windows Azure TablesProvides Massively Scalable Structured Storage

Billions of entities (rows) and TBs of dataCan utilise thousands of servers as it scales upTriple replicated for durability

Familiar and easy to use REST based APIEach entity can have up to 255 properties

PartitionKey & RowKey as key and indexTimestamp for optimistic concurrencyNo fixed schema for all other propertiesProperty is stored as a <name, typed value> pair

Entity: Sports Car

MyTable1

Entity: Customer

Entity: Car

Page 45: Understanding the Windows Azure Platform - Dec 2010

Table Partitions and RowsPartitionKey(Category)

RowKey(Title)

Timestamp ReleaseDate ………..

Action Clash of the Titans … 2010

Action The Bourne Ultimatum … 2007

… … … …

Animation Avatar … 2009

Animation How to Train Your Dragon

… 2010

… … … …

Comedy What Happens in Vegas … 2008

… … … …

SciFi Alien 1979

… … … …

Horror Halloween … 1978

Page 46: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Queues

Queues

ThumbnailJobs

“Body1”

Messages

“Body3”

“Body2”

Provide reliable storage and delivery of messages

Page 47: Understanding the Windows Azure Platform - Dec 2010

Windows Azure QueuesProvide reliable storage and delivery of messages

Max size of message 8 KbStore URI to blog / table for larger data

Messages must explicitly be deletedSet message expiration timeoutMessage de-queue count for poison messages

Worker Role

Queue

Input Queue (Work Items)

Web Role

Web Role

Web Role

Worker Role

Worker Role

Worker Role

Page 48: Understanding the Windows Azure Platform - Dec 2010

Notes on QueuesSleep when queue is emptyEnsure message processing is idempotent

If Worker role crashes, message becomes visible for another Worker to processf(x) = f(f(x))

Ensure message processing is commutativeMessages will get handled out of order

Judicious use of Try/CatchCheck for poison messagesFor extreme throughput (>500 tps)

Use multiple queues Read messages in batches or multiple work items per message

Page 49: Understanding the Windows Azure Platform - Dec 2010

A Common Windows Azure Pattern

Web Role Worker Role

BlobStorage

QueueStorage

Page 50: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Features

Page 51: Understanding the Windows Azure Platform - Dec 2010

Service Management APIProvide Lights-Out Service Management Manage services programmatically via REST-based API

X509 client certificates for authentication Viewing, creating, deleting, swapping, modifying configuration settings, etc on deployments

Page 52: Understanding the Windows Azure Platform - Dec 2010

Windows Azure DiagnosticsSDK component providing distributed monitoring & data collection for cloud appsSupport Standard Diagnostics APIs

Trace, Debug normallyManage multiple role instances centrallyChoose what to collect & when to collect it

Event Logs, Trace/Debug, Performance Counters, IIS Logs, Crash Dumps, Arbitrary log files

Everything is remotely configurable

Role

Role InstanceDiagnos

tic Monitor

Local directory storage

Page 53: Understanding the Windows Azure Platform - Dec 2010

Service Management CmdLets

PowerShell cmdlets wrapping Azure Service Management and Diagnostics API Simple to script out deployments, upgrades, scaling

Deploy new servicesUpgrade servicesManage storage accountsTransfer diagnostics information

Page 54: Understanding the Windows Azure Platform - Dec 2010

Service Upgrade Models

Rolling upgrade (aka “In-place”)

Roles are updated across update domains one at a timeService remains available during upgrade

Real-time hot swap (aka “VIP Swap”)

Virtual IP swap between staging & productionSwap service endpoints of old/new versionEnables complex architectural changes

Planned downtimeStop and replace service with new version

Page 55: Understanding the Windows Azure Platform - Dec 2010

Content Delivery Network

Better performance and user experience by caching Azure blobs at strategically placed locations

25 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 56: Understanding the Windows Azure Platform - Dec 2010

Multiple IIS Sites and Virtual Applications

SDK 1.3 uses full IIS and not Hosted Web CoreAdd multiple IIS sites and Virtual applications per Web Role in the service definition file

Page 57: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Connect• Secure network connectivity

between on-premises and cloud• Supports standard IP protocols

• Example use cases:• Enterprise app migrated to

Windows Azure that requires access to on-premise SQL Server

• Windows Azure app domain-joined to corporate Active Directory

• Roadmap• CTP requires on-premises agent

for non-Windows Azure resources• Connectivity using existing on-

premises VPN devices

Windows Azure

Enterprise

Coming

Soon!

Page 58: Understanding the Windows Azure Platform - Dec 2010

Virtual Machine Role

VM Role provides additional control and flexibility on the Windows Azure environment, and makes it easy to run existing Windows applications on Windows Azure.

Developers have full control over the OS imageAbility to upload your own customized WS08R2 Enterprise imagesOperators can reboot, reimage and Remote DesktopContinue to benefit from automated service management, including service model enhancements described on subsequent slides

Coming

Soon!

Page 59: Understanding the Windows Azure Platform - Dec 2010

SQL Azure

Page 60: Understanding the Windows Azure Platform - Dec 2010

SQL AzureExtending SQL Server to the Cloud

SQL Azure DatabaseFamiliar SQL Server relational database modelSupport for existing APIs & toolsBuilt for the cloud with high availability & fault toleranceEasily provision and manage databases across multiple datacenters

Data Sync ServiceProvides two-way sync of SQL Azure Databases across datacentersExample service available in the SQL Azure Labs environment

Database …Sync Service

Page 61: Understanding the Windows Azure Platform - Dec 2010

SQL Azure Database Service

SQL Azure provides logical SQL ServerGateway server that understands TDS protocolLooks like SQL Server to TDS ClientActual data stored on multiple backend data nodes

Logical optimisations supportedIndexes, Query plans etc..

Physical optimisations not supportedFile Groups, Partitions etc…

Transparently manages physical storage

Page 62: Understanding the Windows Azure Platform - Dec 2010

Working with SQL Azure Databases

SQL AzureTDSYour App

Change Connection String

Page 63: Understanding the Windows Azure Platform - Dec 2010

Behind the Scenes of SQL AzureApplicatio

n

Internet

LBTDS (tcp)

TDS (tcp)

TDS (tcp)

Apps use standard SQL client libraries: ODBC, ADO.Net, PHP, …

Load balancer forwards ‘sticky’ sessions to TDS protocol tier

Security Boundary

Gateway

Gateway

Gateway

Gateway

Gateway

Gateway

Scalability and Availability: Fabric, Failover, Replication, and Load balancing

SQL SQL SQL SQL SQLSQL

Gateway: TDS protocol gateway, enforces AUTHN/AUTHZ policy; proxy to backend SQL

Page 64: Understanding the Windows Azure Platform - Dec 2010

Application Topologies

From Windows Azure

From Outside Microsoft Datacenter

From Windows Azure & Outside Microsoft Datacenter

Application / Browser

Windows Azure

SQL Azure

Code Near

App Code / Tools

SQL Azure

MicrosoftDatacenter

Code Far Hybrid

Microsoft Datacente

r

SQL Azure

SQL Server

Microsoft Datacenter Windows

Azure

SQL Azure Data Sync

App Code / Tools

Page 65: Understanding the Windows Azure Platform - Dec 2010

Connection Model

SQL Azure exposes native SQL Server TDS protocolUse existing client libraries

ADO.NET, ODBC, PHPClient libraries pre-installed in Windows Azure rolesSupport for ASP.NET controlsClients connect directly to a database

Cannot hop across DBs (no USE)

Page 66: Understanding the Windows Azure Platform - Dec 2010

Connecting to SQL AzureSQL Azure connection strings follow normal SQL syntaxApplications connect directly to a database

“Initial Catalog = <db>” in connection stringNo support for context switching (no USE <db>)

Encryption securitySet Encrypt = True, only SSL connections are supportedTrustServerCertificate = False, avoid Man-In-The-Middle-Attack!

Format of username for authentication:ADO.Net:Data Source=server.database.windows.net;User ID=user@server;Password=password;...

Setup your firewall rules first!

Page 67: Understanding the Windows Azure Platform - Dec 2010

SQL Azure CompatibilityCurrently Supported

Tables, indexes and viewsStored ProceduresTriggersConstraintsTable variables, session temp tables (#t)Spatial types

Not Currently Supported

Data TypesXML, HierarchyId, Sparse Columns, Filestream

PartitionsFull-text indexesSQL-CLR

Tables require clustered indexes

Page 68: Understanding the Windows Azure Platform - Dec 2010

Database EditionsYou specify Web or Business Edition

Web: EDITION = webBusiness: EDITION = business

You specify MAXSIZEWeb: MAXSIZE = 1GB | 5GBBusiness: MAXSIZE = 10GB | 20GB | 30GB | 40GB | 50GB

This is the maximum size we will not let you grow beyondYou will only be charged for the actual peak size in any one day rounded upFor example, a 3.4 GB Web Edition will be charged 5GB rate.

CREATE DATABASE foo1 (EDITION='business', MAXSIZE=50GB);CREATE DATABASE foo2 (EDITION='business', MAXSIZE=30GB);ALTER DATABASE foo2 MODIFY (EDITION='web', MAXSIZE=5GB);

Up to 50 GB10 GB increments

Business Edition

1 GB or 5 GBWeb Edition

Page 69: Understanding the Windows Azure Platform - Dec 2010

Database Editions

Two SQL Azure Database SKUs: Web & BusinessWeb Edition:

1 GB @ £6.055/month 5 GB @ £30.275/month

Business Edition: 10 GB @ £60.604 20 GB @ £121.208 30 GB @ £131.812 40 GB @ £242.41650 GB @ £303.20

Up to 50 GB10 GB increments

Business Edition

1 GB or 5 GBWeb Edition

Page 70: Understanding the Windows Azure Platform - Dec 2010

SQL Azure Data Sync

Powers movement of dataCloud cloudOn-premises cloud

Getting data where you need it

Sync SQL Azure instancesSync SQL Server to SQL AzureSync offline apps to SQL AzureEnable geo-replication of data

Sync

SQL Azur

e

Page 71: Understanding the Windows Azure Platform - Dec 2010

SQL Azure Data Sync – Roadmap

On-Premises (Headquarters)Syn

c

Sync

Remote OfficesData Sync Service For SQL Azure

Retail Stores

Sync Sync

Sync

SQL Azure Database

Sync Sync Now

Com

ing

Soon

Page 72: Understanding the Windows Azure Platform - Dec 2010

SQL Azure Reporting

CTP – you can register Based on SQL Server Reporting Services 2008 R2

Exactly same report formats (no custom extensions yet)Use BI Development Studio

Reports run on Windows Azure PlatformReport Viewer control using remote processing mode

Only reports against SQL Azure Database

Page 73: Understanding the Windows Azure Platform - Dec 2010

SQL Azure Summary

SQL Azure DatabaseHassle free fault tolerance with little to learn

SQL Azure Data SyncHelping build geographically disperse or hybrid applications

SQL Azure ReportingReporting Services in the Cloud

Page 74: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Marketplace DataMarket (formerly Codename “Dallas”)

Page 75: Understanding the Windows Azure Platform - Dec 2010

Easily Discover And Explore Datasets

Page 76: Understanding the Windows Azure Platform - Dec 2010

DataMarket Data PartnersLeading Commercial and Public Domain Data; Free and Paid Content

Data residing in our cloud, 3rd party clouds, or private data centers

All data – web services, media, relational databases, higher level services

Public DomainPremium

Page 77: Understanding the Windows Azure Platform - Dec 2010

Find

Discovery, Exploration and Acquisition of Information

Try Use

• Browse / Search the Marketplace directly and from partner apps

• Discovery from Excel and PowerPivot views; Word, SharePoint

• ALL data: Web services, media, relational data

• Both Public and Premium

• Any platform and any application

• Explore sample data visually through apps and previews; content visualizations

• Proxy classes for developers; native Visual Studio integration; REST APIs

• Trial subscriptions

• Use in Office, VS, and in ecosystem enabled solutions!

• Unified API, billing, and security model

• Free public domain data from around the world

• Trusted commercial data and services

• Subscriptions and Transactions to support broad usage scenarios

Page 78: Understanding the Windows Azure Platform - Dec 2010

DataMarket Architecture at a glance…

Page 79: Understanding the Windows Azure Platform - Dec 2010

DataMarket ISV Momentum

Page 80: Understanding the Windows Azure Platform - Dec 2010

Crime from two perspectives

http://apps.facebook.com/crimestats http://silverlight.onterrasys.com/CrimeDemo/

Page 81: Understanding the Windows Azure Platform - Dec 2010

Windows Azure AppFabric

Page 82: Understanding the Windows Azure Platform - Dec 2010

Windows Azure AppFabricExtending .NET to the cloud with Internet Scale Utility Services

Service Bus Access Control …

Collection of building block services Composed to provide foundational pieces for your appsExposed through open protocols Accessible from anywhere

Service Bus General purpose application bus & connectivity service

Access Control Rules-driven, claims-based access control service

Page 83: Understanding the Windows Azure Platform - Dec 2010

Enterprise Service Bus Pattern

Page 84: Understanding the Windows Azure Platform - Dec 2010

AppFabric Service Bus

Application #1 Application #2Direct Connection facilitated by Service

Bus if that is best connection mechanism.

TextXMLGraphicsBinary DataStreaming

Firewall

Send

Receive

Exchange messages between loosely coupled, composite applications.

Send

Receive

Page 85: Understanding the Windows Azure Platform - Dec 2010

AppFabric Access Control Service

Applications or Users

Simplify and automate complex

authorization schema requests.

Provide abstraction for federated

claims-based authentication.

Easily establish secure trust relationship.

Data and Applications

Page 86: Understanding the Windows Azure Platform - Dec 2010

Windows Azure AppFabric Caching

A distributed, in-memory cache for applications running in Windows Azure

In-memory cache located near your Windows Azure applicationsSimple administrationBased off the proven Windows Server AppFabric Caching capabilities

BenefitsHighly scalable caching solution with low latency and high throughputCan dynamically increase and decrease as neededEnd-user doesn’t have to bother with configuration, deployment, or management of their cache

Commercial launch in the first half of 2011

Page 87: Understanding the Windows Azure Platform - Dec 2010

Commercials

Page 88: Understanding the Windows Azure Platform - Dec 2010

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 Edition

Per database/month

$9.99/month(scale up to 5 GB)

Business Edition

$99.99/month(scale up to 50 GB)

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

$1.99/100k Message Operations

Per Message Operation $3.99/connection

Per Connection

Service Bus

International prices are available

Page 89: Understanding the Windows Azure Platform - Dec 2010

Windows Azure Virtual Machine Instances

Unit of Compute Defined

Small (S)

$0.12

Per service hour

Medium (M)

$0.24

Per service hour

Large (L)

$0.48

Per service hour

X-Large (XL)

$0.96

Per service hour

Small

1 x 1.6GHz (moderate I/O)

Medium

2 x 1.6GHz (high I/O)

Large

4 x 1.6GHz (high I/O)

X-Large

8 x 1.6GHz(high I/O)

[ Equivalent compute capacity of a 1.6GHz 64-bit processor ]

1.75 GB memory 3.5 GB memory 7.0 GB memory 14.0 GB memory

225 GB storage(transient storage)

500 GB storage(transient storage)

1000 GB storage(transient storage)

2000 GB (transient storage)

X-Small (XS)

$0.05

Per service hour

Extra Small

1 x 1.0GHz (low I/O)

768 MB memory

20 GB storage(transient storage)

Page 90: Understanding the Windows Azure Platform - Dec 2010

Extra-Small VM Instance

Born from many requests for a low-cost VM instanceXS lowers the barrier of entry to Windows Azure XS VM offers a hosting environment that is appropriate for:

Web roles that have very low traffic or short bursts of processing capabilityWorker roles that require little CPU processing power with low memory consumptionPrototyping of a Windows Azure serviceDemoing how Windows Azure worksRoles that wake up and check status periodically

XS VM shares resources with other XS VM on the same node

Page 91: Understanding the Windows Azure Platform - Dec 2010

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 31/10/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 92: Understanding the Windows Azure Platform - Dec 2010

Monthly Service Level Agreement

All running roles will be continuously monitoredIf role is not running, we will detect and initiate corrective state

>99.9%

Instance monitoring

& restart

Database is connected to the internet gateway All databases will be continuously monitored

>99.9%

Database availability

>99.9%

Service bus and access control endpoints will have external connectivityMessage operation requests processed successfully

Service bus & access

control availability

Your service is connected and reachable via web. Internet facing roles will have external connectivity

>99.95%

Compute

connectivity

>99.9%

Storage service will be available/reachable (connectivity)Your storage requests will be processed successfully

Storage

availability

Page 93: Understanding the Windows Azure Platform - Dec 2010
Page 94: Understanding the Windows Azure Platform - Dec 2010

UK Azure Pricing – Standard Rates

Windows AzureCompute

Small instance (default): £0.0728 per hour Medium instance: £0.1455 per hour Large instance: £0.291 per hour Extra large instance: £0.5819 per hour

Storage £0.091 per GB stored per month £0.0061 per 10,000 storage transactions

Content Delivery Network (CDN) £0.09 GB CDN Egress£0.06/100K CDN Storage X-actions

SQL AzureWeb Edition – Up to 1 GB relational database

£6.055 per database per month Business Edition – Up to 10 GB relational database

£60.604 per database per month

AppFabricAccess Control

£1.2062 per 100,000 transactions* Service Bus

£2.4184 per connection on a “pay-as-you-go” basis* Pack of 5 connections £6.0307* Pack of 25 connections £30.1535* Pack of 100 connections £120.6139* Pack of 500 connections £603.0695*

Data TransfersNorth America and Europe regions

£0.0607 per GB in £0.091 per GB out

Asia Pacific Region £0.1819 per GB in £0.2728 per GB out

Inbound data transfers during off-peak times through June 30, 2010 are at no charge.  Prices revert to our normal inbound data transfer rates after June 30, 2010

£100 per month* - Highly Available 2 x Instance Web Application + 0.5TB data

£6 per month* - Highly Available 1Gb SQL Server database * Lots of assumptions and caveats

Page 95: Understanding the Windows Azure Platform - Dec 2010

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