Top Banner
Windows Azure ‘Training’ Tokens • You should already have received an email with the login information • Good for 1 month Expires May 8 th • No credit card; no commitments! • Meant for ‘trying out’ Windows Azure • After 1 month, transition strategy handled by regional Microsoft representative
110

Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Mar 31, 2015

Download

Documents

Penelope Patman
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Windows Azure ‘Training’ Tokens

• You should already have received an email with the login information

• Good for 1 month Expires May 8th • No credit card; no commitments!• Meant for ‘trying out’ Windows Azure• After 1 month, transition strategy

handled by regional Microsoft representative

Page 2: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Azure Access Requirements• Compute Hours• Data Storage

– Blob– SQL Azure– ‘Dallas’ data

• As I talked to faculty last night– Don’t know – Want accounts for 4 students to probe further [Research]– Accounts for my class of 20 students [teaching]

• Solution offering –a) Highest denominator?b) Mean?c) Least common denominator?

• So think of ’30-day’ account [ends may 8th] as a way to learn the Azure features and what aspects your work needs.

• Let your Microsoft contact know what your needs are in1. Research2. Teaching

Page 3: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Architecting for the

Krishna [email protected]

http://azurepilot.comTwitter: KrishnaOnAzure

Windows Azure Platform

Page 4: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

http://AzurePilot.com

Page 5: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

State of Cloud Computing

• Perceptions– “The end of software”– On-demand infrastructure– Cheaper and better

• Reality– Hybrid world; not “all-or-

nothing”– Leverage existing IT skills and

investments– Seamless user experiences– Evolutionary; not revolutionary

• Drivers– Ease-of-use, convenience– Product effectiveness– Simplify IT, reduce costs

> Types• Public

• Private

• Internal

• External

• Hybrid

> Categories• SaaS

• PaaS

• IaaS

Page 6: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Private(On-Premise)

IT as a Service

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

age

Managed by vendor

Managed by vendor

You

man

age

You

man

age

Page 7: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Microsoft in the Cloud

(15 years)450M+

active users

(13 years)550M

users/mth

(12 years)Largest non-ICP/IP cloud

service x100M users

(11 years)320M+ activeusers

(11 years)2B

queries/mth

(15 years)450M+

active users

(7 years)5B confmin/yr

(6 years)4B emails/day

Page 8: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Platform Services

Software Services

Application Services

Infrastructure Services

The Microsoft CloudCategories of Services

Page 9: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Workload Patterns Optimal For Cloud

Usage

Com

pute

Time

Average

Inactivity

Period

“On and Off “

On & off workloads (e.g. batch job)Over provisioned capacity is wasted Time to market can be cumbersome

Com

pute

Time

“Unpredictable Bursting“

Average Usage

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

Average UsageCom

pute

Time

“Growing Fast“

Successful services needs to grow/scale Keeping up w/ growth is big IT challenge Complex lead time for deployment

Com

pute

Time

Average Usage

“Predictable Bursting“

Services with micro seasonality trends Peaks due to periodic increased demandIT complexity and wasted capacity

Page 10: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

But what about these new scenarios?

Page 11: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Consider these statistics:

• EIGHTEEN months ago, Li & Fung 100GB of information flow through its network each day. Now the amount has increased tenfold

• During 2009, American drone aircraft flying over Iraq and Afghanistan sent back around 24 years’ worth of video footage

• When the Sloan Digital Sky Survey started work in 2000, its telescope in New Mexico collected more data in its first few weeks than had been amassed in the entire history of astronomy. Now, a decade later, its archive contains 140TB of information.

• A successor, the Large Synoptic Survey Telescope, due to come on stream in Chile in 2016, will acquire that quantity of data every five days.

• Wal-Mart, a retail giant, handles more than 1m customer transactions every hour, feeding databases estimated at more than 2.5PB — the equivalent of 167 times the books in America’s Library of Congress

• Mankind created 150 exabytes (billion gigabytes) of data in 2005. This year, it will create 1,200 exabytes.

Page 12: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.
Page 13: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

But, How does it work?

Page 14: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

A 2-D Perspective

Infrastructure App Dev• Hardware

– Servers– Storage– Networks

• Management

• Concurrency• Coordination• Fault Tolerance• Open API formats• Open Data Formats• Data Intensive

Computing

Page 15: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

.NET Services

Windows Azure

Applications

Applications

SQL Azure

OthersWindowsMobile

WindowsVista/XP

WindowsServer

Fabric

Storage

Config

Compute

Application

Windows AzureAn illustration

Page 16: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Windows Azure isa place to run your applications.

Page 17: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Windows Azure isa cloud computing platform,

so it’s designed to scale.

Page 18: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Windows Azure isa utility computing platform,so you pay for what you use.

Page 19: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Inside are many servers.

Page 20: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

with VMs running Windows.

Page 21: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

We call this the Fabric,

Page 22: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

and it’s where your app runs.

Your Application

Page 23: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Windows Azure does scale out.

Page 24: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Stateless compute+ Durable storage

-----------------------------= Scalable application

Page 25: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Storage is just another app.

Storage Service

Page 26: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Durable Storage

• Three replicas of everything• REST API

Blobs Tables

Queues

Page 27: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

• Simple, essential storage abstractions:– Large items of data: Blobs, file streams, …– Service state: Simple tables, caches, …– Service communication: Queues, locks, …

• With an emphasis on:– Massive scale, availability and durability– Geo-location and geo-replication

• This is not a relational database in the cloud

StorageScalable & Available

Page 28: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Management tasks are automated by the

Fabric Controller.

Page 29: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

You tell the Fabric Controller what to do, and it figures out how to do it.

Page 30: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

For this to work, you need to tell us about your application.

Page 31: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Defining Your Service

• What are the components (roles)?• How do they interact?• At what scale?

Web roleWeb role Worker roleWorker roleWeb role Worker role

LB

Page 32: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Web roleWeb role Worker roleWorker roleWeb role

Storage

Worker role

LB

Putting It All Together

Page 33: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Developer Experience is Key

• Development– Offline cloud simulation– Visual Studio integration

• Maintenance– Local debugging– APIs for logging

• Management– APIs for configuration management–Web portal

Page 34: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Geo-location

• Windows Azure is in multiple “locales”• You can:– Choose a locale for any of your applications– Create an “affinity group” to co-locate a set

of applications from your cloud project

• Available through the developer portal

Page 35: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Windows Azure

FabricController

Web Portal(API)

LB

LB

DNS

YourService

Page 36: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

LB

LB

DNS

Service Deployment

YourService

FabricController

Web Portal(API)

Service ModelServiceService

DNSconfig

Page 37: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

LB

LB

DNS

Service Scaling

YourService

FabricController

Web Portal(API)

Service

Service

Service

Model

Service

Service

ServiceService

Service

Page 38: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

LB

LB

DNS

Service Monitoring & Recovery

YourService

FabricController

Web Portal(API)

Service

Service

Service

Model !

Service

Page 39: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Putting It All TogetherArchitectures for scalable, reliable services

Example:

Cloud Storage

Web RoleLB

n

Worker Role

m

Page 40: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

SQL Azure

.NET Services

Windows Azure

Applications

Applications

OthersWindowsMobile

WindowsVista/XP

WindowsServer

SQL Azure Database

Others (Future)

SQL AzureFormerly known as SQL Services

Page 41: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

SQL Azure

• Today:– SQL Azure Database

• Formerly known as SQL Data Services (SDS)– And before that as SQL Server Data Services (SSDS)

– “Huron” Data Hub• Built on the Microsoft Sync Framework

• In the future: – Reporting– Analysis– Extract/Transform/Load (ETL) services–More

Page 42: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

SQL Azure Database

TDS Database

Database

Database

“Huron” Data Hub

Others (Future)

SQL Azure DatabaseAn illustration

Page 43: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Database

Database

Database

Application

ApplicationDatabase

SQL Azure Database

SQL Azure DatabaseUsing one or multiple databases

Page 44: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

WindowsMobile

WindowsVista/XP

WindowsServer

.NET Services

Windows Azure

Applications

Applications

SQL Azure

Others

Service Bus

Access Control ?

.NET ServicesInfrastructure in the cloud

Page 45: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

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• Direct or queued

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

Page 46: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

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 47: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Application Models

Web Hosting Massive scale infrastructure

Burst & overflow capacity

Temporary, ad-hoc sites

Application Hosting Hybrid applications

Composite applications

Automated agents / jobs

Media Hosting & Processing CGI rendering

Content transcoding

Media streaming

Distributed Storage External backup and storage

High Performance Computing

Parallel & distributed processing

Massive modeling & simulation

Advanced analytics

Information Sharing Reference data

Common data repositories

Knowledge discovery & mgmt

Collaborative Processes Multi-enterprise integration

B2B & e-commerce

Supply chain management

Health & life sciences

Domain-specific services

Page 48: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Case Study

Background Web-based ERP and

accounting software to help mid-sized businesses automate customized business processes

Business needs:• Launch a SaaS offering which

includes on demand infrastructure and billing

• Maintain a 24/7 production environment

• Minimize development efforts for both on-premise and SaaS offerings

Technical implementation• Web – IIS 7, ASP.NET 3.5

• Server – SQL Server 2005/2008, Windows Server 2003/2008

• Tools – Visual Studio 2008, .NET Framework 3.5

Solution

Cloud-based SaaS deployment

Windows Azure

SQL Azure

Benefits Application migration

completed in 3 weeks with 2 developers

Customers can implement solution without investing in on-premise infrastructure; can save ~$8,000 for startup costs

Lowered capital expenditures

Improved time-to-market and agility in meeting customer needs

More strategic use of IT resources

Page 49: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Case Study

Background Online service providing

productivity tools to help students conduct research, write better papers, and get help on-demand

Technical implementation• Client – Windows Mobile 6

• Web – IIS 6, ASP.NET 3.5

• Server – Windows Server 2003, SQL Server 2005

• Services – Bing Search, Windows Live Messenger Web Toolkit

• Tools – Visual Studio 2008, .NET Framework 3.5, .NET Compact Framework 3.5

Solution Hybrid cloud application

Cloud-based extensions and services mash-ups with on-premise implementation

Windows Azure application

.NET Services service bus, access control, & workflows

Benefits $500,000 savings in dev.

costs

40% faster time-to-market

More effective development

Cost-effective scalability and enhanced availability

Page 50: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Case Study

IE 6/7/8* and Firefox

• Rich Web 2.0 Technologies:

JavascriptJavaAjaxCSSXHTML

Internet Clipping ToolbarInternet Clipping Toolbar

Full Featured Javascript

Editor

Full Featured Javascript

Editor

JSON / AJAX/ HTTP

Eduify WorkflowsEduify Workflows

Common Services Notification Logging Security

Common Services Notification Logging Security

Eduify Business Objects

Eduify Business Objects

Facebook Connect

Integration

FW—LB—Cache

FW—LB—Cache

Local / Network

File Folder

Local / Network

File Folder

ASP.NET / CLR IIS

ASPX PagesASPX Pages

Third PartyMashups

Bing Search Integration for Citation Check

SQL Server

SQL Server

Local Storage

Local Storage

Browser

Page 51: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Case Study

Connected w/ ServicesLive Presence

IM Integration Search Citation / Plagiarism

Mash-up with Microsoft Services

Cloud-Based Extensions On-Premise Implementation

Common Services

Business Objects

Certain ASPX | Workflows | Service Bus | Access Controls ASP.NET

Workflows

SQL ServerSQL Server

Local StorageLocal Storage

Service Bus

Page 52: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Case Study

About kbb.com, established 1995;

vehicle data aggregation and publication service provider

14M UU/month

Multiple physical data centers

Solution Cloud-based overflow

capacity

Windows Azure Web Role

SQL Azure database

Benefits ~$100,000 savings / year in

hosting costs alone

Retire failover data center (27 Web servers & 9 SQL Servers)

<1% code changes needed for application compatibility

6 weeks down to 6 minutes to add server capacity

Page 53: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Case Study

About Legacy call-center application

for order processing and fulfillment

On-premise systems integration with ERP and master data management

Solution Cloud-based Web-enablement

of on-premise assets

Windows Azure Web Role

Web services integration via on-premise ESB endpoints

Benefits “In a matter of weeks, we

were able to see the fruits of our efforts very rapidly.“ – Kevin Flowers, Dir. Enabling Technologies

“The resilience and reliability of this platform is some of the benefits that we are seeing.” – Esat Sezer, SVP & CIO

Page 54: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Case Study

About Complex Monte Carlo

simulations to calculate financial risks

Daily risk analysis load equivalent to processing 4 trillion US Stocks

Existing on-premise HPC implementation

Solution Massively scalable compute

leveraging cloud capacity Deployed on 2K Windows

Azure instances; 10K+ in 2010

Windows Azure Worker Role Windows Azure Blob and

Queue AppFabric Service Bus

Benefits Elastic scaling to effectively

meet customer demands Turning elements of its peak

load infrastructure from a fixed cost to a variable cost

Page 55: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Storage• Relational & transactional data• Federated databases• Unstructured, de-normalized data• Logical partitioning• Persistent file & blob storage• Encrypted storage

Connectivity• Message queues• Service orchestrations• Identity federation• Claims-based access control• External services connectivity

Presentation• ASP.NET C#, PHP, Java• Distributed in-memory cache

Services• .NET C#, Java, native code• Distributed in-memory cache• Asynchronous processes• Distributed parallel processes• Transient file storage

Internet-Scale Application Architecture

SERVICE BUS

ACCESS CONTRO

L

WORKFLOWS

Page 56: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

User

Private Cloud

Public Cloud Services

Application Patterns

Table StorageService

Blob StorageService

QueueService

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

Web Svc(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

Jobs(Worker

Role)

SilverlightApplication

Web Browser

MobileBrowser

WPFApplication

Service Bus

Access Control Service

WorkflowService

UserData

ApplicationData

Reference Data

Cloud Web Application

Enterprise Data

Enterprise Web Svc

Enterprise Application

DataService

StorageService

IdentityService

ApplicationService

Enterprise Identity

Page 57: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

User

Private Cloud

Public Services

Application Patterns

Table StorageService

Blob StorageService

QueueService

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

Web Svc(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

Jobs(Worker

Role)

SilverlightApplication

Web Browser

MobileBrowser

WPFApplication

Service Bus

Access Control Service

WorkflowService

UserData

Application Data

Reference Data

Composite Services Application

Enterprise Data

Enterprise Web Svc

Enterprise Application

DataService

StorageService

IdentityService

ApplicationService

Enterprise Identity

Page 58: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

User

Private Cloud

Public Services

Application Patterns

Table StorageService

Blob StorageService

QueueService

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

Web Svc(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

Jobs(Worker

Role)

SilverlightApplication

Web Browser

MobileBrowser

WPFApplication

Service Bus

Access Control Service

WorkflowService

UserData

Application Data

Reference Data

Cloud Agent Application

Enterprise Data

Enterprise Web Svc

Enterprise Application

DataService

StorageService

IdentityService

ApplicationService

Enterprise Identity

Page 59: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

User

Private Cloud

Public Services

Application Patterns

Table StorageService

Blob StorageService

QueueService

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

Web Svc(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

Jobs(Worker

Role)

SilverlightApplication

Web Browser

MobileBrowser

WPFApplication

Service Bus

Access Control Service

WorkflowService

UserData

Application Data

Reference Data

B2B Integration Application

Enterprise Data

Enterprise Web Svc

Enterprise Application

DataService

StorageService

IdentityService

ApplicationService

Enterprise Identity

Page 60: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

User

Private Cloud

Public Services

Application Patterns

Table StorageService

Blob StorageService

QueueService

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

Web Svc(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

Jobs(Worker

Role)

SilverlightApplication

Web Browser

MobileBrowser

WPFApplication

Service Bus

Access Control Service

WorkflowService

UserData

Application Data

Reference Data

Grid / Parallel Computing Application

Enterprise Data

Enterprise Web Svc

Enterprise Application

DataService

StorageService

IdentityService

ApplicationService

Enterprise Identity

Page 61: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

User

Private Cloud

Public Services

Application Patterns

Table StorageService

Blob StorageService

QueueService

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

Web Svc(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

ASP.NET(Web Role)

Jobs(Worker

Role)

SilverlightApplication

Web Browser

MobileBrowser

WPFApplication

Service Bus

Access Control Service

WorkflowService

UserData

Application Data

Reference Data

Hybrid Enterprise Application

Enterprise Data

Enterprise Web Svc

Enterprise Application

DataService

StorageService

IdentityService

ApplicationService

Enterprise Identity

Page 62: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Internet-Scale Application

• 2007 stats:– +20 petabytes of data processed / day by +100K MapReduce jobs – 1 petabyte sort took ~6 hours on ~4K servers replicated onto

~48K disks– +200 GFS clusters, each at 1-5K nodes, handling +5 petabytes of

storage• ~40 GB/sec aggregate read/write throughput across the cluster

• +500 servers for each search query < 500ms

• Scaling the process:– MapReduce: parallel

processing framework– BigTable: structured hash

database– Google File System:

massively scalable distributed storage

Page 63: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Internet-Scale Application

• 2009 stats:– +200B pageviews/month– >3.9T feed actions/day– +300M active users– >1B chat mesgs/day– 100M search queries/day– >6B minutes spent/day

(ranked #2 on Internet)

– +20B photos, +2B/month growth

– 600,000 photos served / sec– 25TB log data / day

processed thru Scribe– 120M queries /sec on

memcache

• Scaling the “relational” data:– Keeps data normalized,

randomly distributed, accessed at high volumes

– Uses “shared nothing” architecture

Page 64: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Internet-Scale Application Architecture

Design Horizontal scaling

Service-oriented composition

Eventual consistency

Fault tolerant (expect failures)

Security Claims-based authentication

& access control

Federated identity

Data encryption & key mgmt.

Management Policy-driven automation

Aware of application lifecycles

Handle dynamic data schema and configuration changes

Data & Content

De-normalization

Logical partitioning

Distributed in-memory cache

Diverse data storage options (persistent & transient, relational & unstructured, text & binary, read & write, etc.)

Processes Loosely coupled components

Parallel & distributed processing

Asynchronous distributed communication

Idempotent (handle duplicity)

Isolation (separation of concerns)

Page 65: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Platform Services

Software Services

Application Services

Infrastructure Services

The Microsoft CloudCategories of Services

Page 66: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Windows Azure for Application Developers

Portal HostedService

Storage

SDK

Develop Deploy Run

Page 67: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Roles

Role

Code Configuration

Page 68: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Load Balanced Instances

Role

Instance 1

Instance 2

http://yourapp.cloudapp.net

Page 69: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Web vs Worker Role

Web Role

IIS Host

Your Code

Worker Role

System Host

Your Code

Page 70: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Storage

Storage

Account

Queue

Blob

Tables

Page 71: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Blobs

Containers

Pictures

Photo1.png

Blobs

Photo3.png

Photo2.png

Page 72: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Queues

Queues

ThumbnailJobs

“Body1”

Messages

“Body3”

“Body2”

Page 73: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Development Fabric and Storage

Local Machine

Windows Azure Simulation Environment

Development Fabric Development Storage

Page 74: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Portal

Page 75: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Hello Cloud

Web Role Worker Role

Blob

Queue

Page 76: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Hello Cloud – Web Role

Web Role

Page 77: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

What We’re Going To Code

Page 78: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

What We’re Going To Code

• Step 1 - Create a Cloud Service project with a Web Role

• Step 2 - Write our code and test it locally• Step 3 – Deploy to the Cloud

Page 79: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Web Role

Demo

Page 80: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Portal – Allocated

Page 81: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Portal - Run

Page 82: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Portal - Initializing

Page 83: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Portal - Busy

Page 84: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Portal - Ready

Page 85: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Hello Cloud – Blobs and Queues

Web Role

Blob

QueueEnqueue Message

Upload Blob

Page 86: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

What We’re Going To Code

• Step 1 – Configure a Storage Account• Step 2 – Upload a Blob• Step 3 – Enqueue a Message

Page 87: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Blob + Queue

demo

Page 88: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Hello Cloud – Worker Role

Worker Role

Blob

QueueDequeue Message

Update Blob

Page 89: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

What We’re Going To Code

• Step 1 – Add a Worker Role• Step 2 – Dequeue Next Message• Step 3 – Update the Blob referenced

in the message• Step 4 – Delete Message from Queue

Page 90: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Worker Role

demo

Page 91: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Hello Cloud

Web Role Worker Role

Blob

Queue

Page 92: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

New Project

Page 93: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Add a Role

Page 94: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Write Some Code

Page 95: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Run and Debug Locally (Hit F5)

Page 96: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Deploy to the Cloud

Page 97: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Create Your Accounts

Page 98: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Deploy Your Service

Page 99: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

And You’re Running

Page 100: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Summary

• Same Development Tools and Experience• Local and Cloud Based Environments• Rapid Cloud Development, Deployment

and Maintenance

Page 101: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Under the hood:Windows Azure ‘Compute’

Page 102: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Windows Azure Push-button Deployment

• Step 1: Allocate nodes– Across fault domains– Across update domains

• Step 2: Place OS and role images on nodes

• Step 3: Configure settings• Step 4: Start Roles• Step 5: Configure load-

balancers• Step 6: Maintain desired

number of roles– Failed roles

automatically restarted– Node failure results in new

nodes automatically allocated

Allocation across fault and update domains

Load-balancers

Page 103: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

High-Level Architecture

Hypervisor

Guest PartitionHost Partition Guest Partition

Hardware

VirtualizationStack(VSP)

Drivers

Host OSServer Core

ApplicationsApplications

VirtualizationStack(VSC)

Guest OSServer Enterprise

VirtualizationStack(VSC)

Guest OSServer Enterprise

NIC Disk1

VMBUS VMBUS VMBUS

Disk2 CPU

Page 104: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

HV-enabled Server Core base VHD

Image-Based Deployment

Host Partition

Host partition differencing

VHD

Guest Partition

Guest partition differencing

VHD

Guest partition differencing

VHD

Server Enterprise base VHD

Guest partition differencing

VHD

Application VHD

Application VHD

Application VHD

Server Core base VHD

Server Enterprise base

VHD

Maintenance OS

App1 Package App3 Package App2 Package

Guest Partition Guest Partition

Page 105: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Service Isolation And Security

• Your services are isolated from other services– Can access resources

declared in model only– Local node resources –

temp storage– Network end-points

• Isolation using multiple mechanisms

• Automatic application of Windows security patches– Rolling OS

image upgrades

Managed code

Restriction of privileges

Firewall

Virtual Machine

IP filtering

Page 106: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Fault Domains

• Purpose: Avoid single points of failures

• Unit of a failure– Examples: Compute

node, a rack of machines

• System considers fault domains when allocating service roles– Example: Don’t put

all roles in same rack

• Service owner assigns number required by each role– Example: 10 front-ends,

across 2 fault domains

Allocation is across fault domains

Fault domains

Page 107: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Update Domains

• Purpose: ensure service stays up while updating

• Unit of software/configuration update– Example: set of nodes to

update

• Used when rolling forward or backward

• Developer assigns number required by each role– Example: 10 front-ends,

across 5 update domains

Allocation is across update domains

Update domains

Page 108: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Platform of Choice

Page 109: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

Sign up at the Windows Azure Platform developers’ portal

Windows Azure accessDeveloper tools White papersSample applications

Plan pilot applications, proofs of concept, and architectural design sessions with Windows Azure partners

http://www.azure.com

Page 110: Windows Azure Training Tokens You should already have received an email with the login information Good for 1 month Expires May 8 th No credit card; no.

[email protected]://azurepilot.com

Thank you

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