46
Marcus Tillett T:@drmarcustillett www.dotnetsolutions.co.uk

Choosing Your Windows Azure Platform Strategy

Embed Size (px)

Citation preview

Page 1: Choosing Your Windows Azure Platform Strategy

Marcus Tillett

T:@drmarcustillett

www.dotnetsolutions.co.uk

Page 2: Choosing Your Windows Azure Platform Strategy

What is the Windows Azure Platform Scenarios for Azure Strategies for Moving to Azure Challenges and Opportunities

Page 3: Choosing Your Windows Azure Platform Strategy
Page 4: Choosing Your Windows Azure Platform Strategy
Page 5: Choosing Your Windows Azure Platform Strategy
Page 6: Choosing Your Windows Azure Platform Strategy
Page 7: Choosing Your Windows Azure Platform Strategy
Page 8: Choosing Your Windows Azure Platform Strategy

Currently 6 data centres in 3 regions Europe, US, Asia

Purpose-built data centre to accommodate containers at large scale Cost $500 million, 100,000 square foot

facility (10 football fields) 40 foot shipping containers can

house as many as 2,500 servers Density of 10 times amount of

compute in equivalent space in traditional data centre

Page 9: Choosing Your Windows Azure Platform Strategy

First Mega Data Centre built outside the US, on-line on July 2009 Cost $500 million, 303+sq ft facility and

growing EU data centre 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 Mega Watts today, 22.2 MW for future

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

Page 10: Choosing Your Windows Azure Platform Strategy

Server in someone else’s data centre Commodity hardware

Design for failure not against

On demand compute and storage capability

Page 11: Choosing Your Windows Azure Platform Strategy
Page 12: Choosing Your Windows Azure Platform Strategy

Private (On-Premise)

Infrastructure (as a Service)

Platform (as a Service)

Storage

Server HW

Networking

Servers

Databases

Virtualization

Runtimes

Applications

Security & Integration

Storage

Server HW

Networking

Servers

Databases

Virtualization

Runtimes

Applications

Security & Integration

Storage

Server HW

Networking

Servers

Databases

Virtualization

Runtimes

Applications

Security & Integration

You

man

ag

e

Man

ag

ed

by v

en

do

r

Man

ag

ed

by v

en

do

r Yo

u m

an

ag

e

You

man

ag

e

Page 13: Choosing Your Windows Azure Platform Strategy

Compute

Storage

Data SQL Azure

Data Sync

Connectivity Project

“Sydney”

Security “Geneva”

Application Services

Frameworks “Dublin” “Velocity”

Service Bus

Access Control

Table Storage Blob Storage Queue Drive Content

Delivery

Network

Page 14: Choosing Your Windows Azure Platform Strategy

Compute

Development, service hosting, & management environment .NET, Java PHP, Python, Ruby, native code (C/C++, Win32, etc.)

ASP.NET providers, FastCGI, memcached, MySQL, Tomcat

Full-trust – supports standard languages and APIs

Secure certificate store

Management API’s, and logging and diagnostics systems

Multiple roles – Web, Worker Multiple VM sizes

1.6 GHz CPU x64, 1.75GB RAM, 100Mbps network, 250GB volatile storage

Small (1X), Medium (2X), Large (4X), X-Large (8X)

In-place rolling upgrades, organized by upgrade domains Walk each upgrade domain one at a time

No remote desktop management or access to physical resources

Page 15: Choosing Your Windows Azure Platform Strategy

Rich data abstractions – tables, blobs, queues, drives, CDN Capacity (100TB), throughput (100MB/sec), transactions (1K req/sec)

High accessibility Supports geo-location

Language & platform agnostic REST APIs

URL: http://<account>.<store>.core.windows.net

Client libraries for .NET, Java, PHP, etc.

High durability – data is replicated 3 times within a cluster High scalability – data is automatically partitioned and load

balanced across servers

Storage Storage

Page 16: Choosing Your Windows Azure Platform Strategy

Data

Highly available, scalable, and consistent distributed relational database; geo-replication and geo-location of data

Relational database, provided as a service Highly symmetrical development and tooling experience (use TDS protocol and

T-SQL)

Highly scaled out, on commodity hardware

Built on the SQL Server technology foundation

Editions: Web (1GB), Business (10GB)

Page 17: Choosing Your Windows Azure Platform Strategy

Connectivity Service Bus

Securely connect applications Over the internet

Across any network topology

Across organizational boundaries

Primary application patterns Eventing – notify applications and/or

devices

Service Remoting – securely project on-premises services out to the cloud

Tunneling – app-to-app communication with NAT/Firewall traversal

Page 18: Choosing Your Windows Azure Platform Strategy
Page 19: Choosing Your Windows Azure Platform Strategy

Manage explosive growth Limit capital expenditure

Average Usage C

om

pu

te

Time

Page 20: Choosing Your Windows Azure Platform Strategy

Load Balancer

Stateless Web Roles

State Tier

Stateless Worker Roles

Queue Table / Blob

Storage Relational

DB

Page 21: Choosing Your Windows Azure Platform Strategy

Services with micro seasonality trends Peaks due to periodic increased demand

Co

mp

ute

Time

Page 22: Choosing Your Windows Azure Platform Strategy

Normal Usage

10 Servers

Peak Usage

60 Servers

Page 23: Choosing Your Windows Azure Platform Strategy

Unexpected/unplanned peak in demand Sudden spike impacts performance Can’t over provision for extreme cases

Co

mp

ute

Time

Page 24: Choosing Your Windows Azure Platform Strategy

http://blog.maartenballiauw.be/post/2010/06/02/Running-on-Windows-Azure-e28093-ChronoRace.aspx

Page 25: Choosing Your Windows Azure Platform Strategy

On & off workloads (e.g. batch job) Short or unpredictable lifetime applications

Usage Co

mp

ute

Time

Average

Inactivity Period

Page 26: Choosing Your Windows Azure Platform Strategy
Page 27: Choosing Your Windows Azure Platform Strategy
Page 28: Choosing Your Windows Azure Platform Strategy

An application that archives data Serving data at massive scale Pure storage solution

SQL Azure – TDS

Windows Azure Storage – REST

Table Storage Blob Storage Queue Drive

Page 29: Choosing Your Windows Azure Platform Strategy

Connect on-premises apps with the cloud

Create cached-mode clients

Built on Microsoft Sync Framework and

ADO.NET Sync Services

Sync Sync / Cache

Page 30: Choosing Your Windows Azure Platform Strategy
Page 31: Choosing Your Windows Azure Platform Strategy

Service Client

Relayed Connection

Connect Open

Authenticate

Authenticate

1

3

2 4

Identity Service

Connectivity Service

Trust

Direct Connection

(optional)

5

6

Page 32: Choosing Your Windows Azure Platform Strategy
Page 33: Choosing Your Windows Azure Platform Strategy

Greenfield Start-up or application

Migration Full applications or part Service oriented architectures Distributed applications Loosely couple application architectures Few architectural compromises

Extension Provide extra capacity Split architecture

Page 34: Choosing Your Windows Azure Platform Strategy

.NET 3.5 SP1 or .NET 4.0 IIS 7.0 64 bit ASP.NET web application (not web site) Core SQL Server components Abstract logging, configuration etc Avoid using O/S features Avoid legacy code and applications

(especially any that require installs)

Page 35: Choosing Your Windows Azure Platform Strategy

Stateless Asynchronous Distributed Design for failure

Hardware

Network (e.g. blips)

Page 36: Choosing Your Windows Azure Platform Strategy

Compute Web and worker role often biggest cost 2 required for SLA Consider on/off for tasks Group tasks together under single role

Compression Reduce data storage cost Reduce bandwidth cost Improve performance and latency for data read/write

Data Consolidate database Migrate to table/blob storage from SQL Azure

Page 37: Choosing Your Windows Azure Platform Strategy
Page 38: Choosing Your Windows Azure Platform Strategy

Data Data portability issues

Migrating data

How much does data sovereignty matter

What data would you never put in the cloud Security

Does data in the cloud pose a security risk compared to on-premise

Shared hardware impacts security

Data/hardware destruction policies

Page 39: Choosing Your Windows Azure Platform Strategy

Legislative Data protection laws

Taxation treatment

Jurisdiction challenges

Compliance requirements Availability

Sending data over the Internet is slow

The Internet is not always available

Reliability in service providers’ hands

Page 40: Choosing Your Windows Azure Platform Strategy

Not a “magic bullet” for current scalability issues

No in-built SMTP/FTP support No out of the box backup or DR (yet)

Page 41: Choosing Your Windows Azure Platform Strategy

Server patching managed by platform Deployment and environment managed by

platform Monitoring managed by platform Familiar development environment Symmetrical platform Massively scalable Highly flexible model Pay per usage 3 fold durable data storage Interoperable

Page 42: Choosing Your Windows Azure Platform Strategy

Further reading http://www.azure.com/ http://blog.smarx.com/

Signup for Azure http://www.microsoft.com/windowsazure/offers/

(Credit card required) Ensure that you complete delete a deployment –

otherwise you will be charged! Join your local user group

UK (http://ukazurenet.com) Buy a book

Page 43: Choosing Your Windows Azure Platform Strategy

http://tinyurl.com/azurebook

“Thinking of... Delivering Solutions on the Windows Azure Platform?”

ISBN: 0956155634

Page 44: Choosing Your Windows Azure Platform Strategy

C Infinity Zone 16:45, Friday, 11th June

Page 45: Choosing Your Windows Azure Platform Strategy

Marcus Tillett

T:@drmarcustillett

www.dotnetsolutions.co.uk

Page 46: Choosing Your Windows Azure Platform Strategy