The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009...

40
The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell

Transcript of The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009...

Page 1: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

The Windows Azure Platform: A Perspective

David ChappellChappell & Associates

Copyright © 2009 David Chappell

Page 2: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Goals

Describe the Windows Azure platform

Look at some typical scenarios for using the Windows Azure platform

Compare the Windows Azure platform with other cloud platforms

Page 3: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

An Overview of the Windows Azure Platform

Page 4: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

The Windows Azure PlatformFormerly known as the Azure Services Platform

SQL Azure

Windows Azure

CloudApplications

.NET Services

On-PremisesApplications

OthersWindows

Page 5: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Windows AzureAn illustration

Fabric

Compute Storage

Config

Application

SQL Azure

Windows Azure

Applications

Applications

.NET Services

OthersWindows

Page 6: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Fabric

Storage

VMs VMs

Windows Azure Compute Service A closer look

Load Balancer

HTTP/ HTTPS

IIS

WebRole

Instance

WorkerRole

Instance

Compute

Application

AgentAgent

Page 7: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Fabric

Compute

Windows Azure Storage ServiceA closer look

Blobs Tables

Storage

HTTP/ HTTPS

Queues

Page 8: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

SQL AzureFormerly known as SQL Services

Windows Azure

Applications

Applications

.NET Services

OthersWindows

SQL Azure Database

SQL Azure

Others (Future)

SQL Azure

Page 9: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

SQL Azure Database

Others (Future)

SQL Azure DatabaseAn Illustration

Database

Database

Database

SQL Azure Database

TDS

Application

Page 10: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Database

Database

Database

Application

ApplicationDatabase

SQL Azure Database

SQL Azure DatabaseUsing one or multiple databases

Max database size is 10 GB

Page 11: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

.NET ServicesInfrastructure in the cloud

.NET Services

SQL Azure

Windows Azure

Applications

Applications

OthersWindows

.NET Services

?

Service Bus

Access Control

.NET Services

Page 12: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Service Bus

The problem: Exposing internal applications on the Internet isn’t easy– Network address translation (NAT) and firewalls get

in the way The solution:

– Service Bus provides a cloud-based intermediary between clients and internal applications

– It also provides a service registry that clients can use to find the services they need

Page 13: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Access Control

Service Bus

Service Bus

Registry

Endpoints

Organization YOrganization X

Application Application

Illustrating Service Bus

2) Discover endpoints

1) Register endpoints3) Access

application

Page 14: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Windows Azure Platform Pricing (1)

Windows Azure– Compute: $0.12/hour for each VM instance

– Storage:

• Data: $0.15/GB per month (tables, blobs) • Access: $0.01/10,000 operations (tables, blobs, queues)

– Bandwidth: $0.10/GB in, $0.15/GB out .NET Services

– Messages: $0.15/100,000 message operations• Includes Service Bus messages and Access Control

tokens

– Bandwidth: $0.10/GB in, $0.15/GB out

Page 15: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Windows Azure Platform Pricing (2)

SQL Azure Database– Web Edition

• Data: $9.99/month for a database up to 1 GB • Bandwidth: $0.10/GB in, $0.15/GB out

– Business Edition• Data: $99.99/month for a database up to 10 GB • Bandwidth: $0.10/GB in, $0.15/GB out

Page 16: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Using the Windows Azure Platform: Scenarios

Page 17: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Applying Azure Some characteristics of Azure-appropriate applications

Apps that need massive scale Apps that need high reliability Apps with variable load Apps with an unpredictable lifetime Apps that don’t fit well in an organization’s data

center– A firm with no data center– Joint ventures– A business unit that wishes to avoid its IT department

Apps that can benefit from external storage

Page 18: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Blobs Tables

Building on AzureA non-Azure app using Windows Azure storage

SQL Azure

On-Premises or Hosted

Application

Page 19: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Web RoleInstance

Tables

Building on Azure A massively scalable web app exposed on the public Internet

Users

Page 20: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

BlobsQueuesTables

Users

Worker RoleInstance

Web RoleInstance

Building on Azure A massively scalable web app with background processing

Page 21: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Web RoleInstance

SQL Azure

Users

Building on Azure A web app with relational storage

Page 22: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Web RoleInstance

SQL Azure

Users

Building on Azure A web app using cloud and on-premises data

Service Bus

On-premises Database

Page 23: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

User

Blobs

Web RoleInstance

Queues

Worker RoleInstance

Building on Azure A parallel processing application

Page 24: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Building on AzureISV perspectives (1)

“This isn’t about deciding your future based on version 1 of Azure. It’s about deciding your future around cloud platforms. We think it’s very important that we get our hands dirty now.” - CEO, Business software vendor

“We’re based on .NET, and we think that Microsoft will continue to have the most optimized .NET platform.” - CEO, Web 2.0 startup

Page 25: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Building on AzureISV perspectives (2)

“Imagine your solution five years from now. If you think you can deliver something that doesn’t include part of Azure, good luck to you. It’s like people who wouldn’t move from DOS to Windows.” - CEO, Enterprise software vendor

“The only thing I’m sure of is that ISVs need to start working on this.”

- CEO, Financial software vendor

Page 26: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Usage Scenarios ISV (1)

ISV uses Windows Azure platform storage– Example: Blobs for serving up videos

ISV builds a shared multi-tenant app running on Windows Azure, with usage-based pricing– This is commonly called Software as a Service (SaaS)– The customer pays the ISV, and the ISV pays Microsoft

for Azure usage

Page 27: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Usage ScenariosISV (2)

ISV builds a single-tenant app for Windows Azure, then licenses copies to its customers– The customer runs the app on Azure and pays

Microsoft directly for the costs of running the app

A start-up builds a Web 2.0 application– It can fail fast or scale fast

Page 28: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Usage ScenariosCustom software development firm

Firm builds a custom Windows Azure app for a client, and the client manages the app– The client pays Microsoft directly for Windows

Azure services

Firm builds a custom Windows Azure app for a client, then manages the app for the client– The client pays the firm, and the firm pays

Microsoft for the costs of Azure usage

Page 29: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Usage ScenariosEnterprise

Enterprise uses Windows Azure platform storage– Example: Blobs for archiving data– Example: SQL Azure Database for sharing data

Enterprise creates a customer-facing web app– Perhaps connecting to on-premises data or apps

via Service Bus Enterprise builds a new enterprise application

on Windows Azure and SQL Azure

Page 30: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

The Windows Azure Platform and Its Competitors

Page 31: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Hosting vs. the Windows Azure PlatformA comparison Advantages of dedicated hosting

– Allows full control– Resource costs might be lower

Advantages of Windows Azure– No lead time and no commitment– Admin costs might be lower– Can grow and shrink resources more quickly– Provides services designed for high reliability, e.g.,

the Fabric, built-in data replication– Provides services designed for high scale, e.g.,

Windows Azure Storage tables

Page 32: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

EC2 VM

Amazon Web Services

Linux or Windows

Amazon Web Services (AWS)

AWS Elastic Compute Cloud (EC2) provides virtual machines running Linux or Windows

Windows Azure Fabric

VM

Windows Server 2008

Windows Azure Platform

Your DBMS

Windows Azure Storage

SQL Azure DatabaseYour

Application

AWS Storage

Your Application

Page 33: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Amazon Web Services Windows Azure Platform

Blob storageSimple Storage Service

(S3)Windows Azure Storage

Blobs

Scale-out storage SimpleDB Windows Azure Storage Tables

Amazon Web Services Comparing storage options

Queues Simple Queue Service (SQS)

Windows Azure Storage Queues

Relational storage RDBMS running in a VM SQL Azure

Page 34: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Datastore, Task Lists

Google AppEngine

AppEngine runs Python and Java applications

Google AppEngine

Python/Java Runtime

Windows Azure Fabric

Windows Azure Platform

Windows Azure Storage

SQL Azure Database

Windows Server 2008

Worker Role

Web Role

Task

App

Page 35: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Google AppEngine Windows Azure Platform

Blob storage Datastore (Blob type)Windows Azure Storage

Blobs

Scale-out storage Datastore Windows Azure Storage Tables

Google AppEngineComparing storage options

Queues Task Queues Windows Azure Storage Queues

Relational storage None SQL Azure

Page 36: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Force.com Database

Force.com and Windows Azure

Salesforce.com’s Force.com focuses on data-driven enterprise applications

Force.com

Force.com Runtime

Enterprise Application

Windows Azure Fabric

Windows Azure Platform

Windows Azure Storage

SQL Azure Database

Windows Server 2008

Worker Role

Web Role

Page 37: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Conclusions

Cloud platforms are here– Microsoft is placing a big bet with the Windows

Azure platform

A new world is unfolding– Prepare to be part of it

Page 38: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

For Further Reading

Introducing the Windows Azure Platform: An Early Look at Windows Azure, SQL Azure, and .NET Services

http://go.microsoft.com/fwlink/?LinkId=158011

Introducing Windows Azurehttp://go.microsoft.com/fwlink/?LinkId=158011

Windows Azure and ISVs: A Guide for Decision Makershttp://go.microsoft.com/fwlink/?LinkID=157857

Page 39: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

About the Speaker

David Chappell is Principal of Chappell & Associates (www.davidchappell.com) in San Francisco, California. Through his speaking, writing, and consulting, he helps people around the world understand, use, and make better decisions about new technology. David has been the keynote speaker for many events and conferences on five continents, and his seminars have been attended by tens of thousands of IT decision makers, architects, and developers in forty countries. His books have been published in a dozen languages and used regularly in courses at MIT, ETH Zurich, and other universities. In his consulting practice, he has helped clients such as Hewlett-Packard, IBM, Microsoft, Stanford University, and Target Corporation adopt new technologies, market new products, train their sales staffs, and create business plans. Earlier in his career, David wrote networking software, chaired a U.S. national standards working group, and played keyboards with the Peabody-award-winning Children’s Radio Theater. He holds a B.S. in Economics and an M.S. in Computer Science, both from the University of Wisconsin-Madison.

Page 40: The Windows Azure Platform: A Perspective David Chappell Chappell & Associates Copyright © 2009 David Chappell.

Copyright © 2009 David ChappellChappell & Associates

www.davidchappell.comSOAP/WS-*