40
PLATFORM, ADVANCED Hammad Rajjoub Architect Evangelist, Microsoft Singapore SINGAPORE Windows Azure AppFabric The Middleware for the Cloud

MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

  • Upload
    spiffy

  • View
    1.009

  • Download
    0

Embed Size (px)

Citation preview

Page 1: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

PLATFORM, ADVANCED

Hammad Rajjoub Architect Evangelist, Microsoft Singapore

SINGAPORE

Windows Azure

AppFabric – The

Middleware for the

Cloud

Page 2: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

The Cloud.

Page 3: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

All Apps Move To The Cloud.

Page 4: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

I would also like ….

Page 5: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Cure for Cancer…

Page 6: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

World Peace..

Page 7: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Get rid of Famine…

Page 8: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Finish the book I am writing “on time”…

Page 9: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

All Apps Move To The Cloud.

Page 10: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

No They Don’t.

Page 11: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Analogy: Rural vs. Urban living ..

Page 12: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric
Page 13: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

• IMAGE COMES HERE..

Page 14: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

We need to connect the dots…

Page 15: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric
Page 16: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Agenda

• Windows Azure AppFabric –The Middleware for the Cloud

• Building Blocks

• Service Bus

Page 17: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Speaker Intro

• Architect Evangelist at Microsoft • Published Author • Microsoft Business Platform Technology Advisor • Microsoft Cloud Advisory Council • IASA Speaker and Member • 7 times MVP • @hammadrajjoub • http://www.hammadrajjoub.net

Page 18: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Likewise for software, we need middleware…

Page 19: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

… all sorts of middleware, in fact

Page 20: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric
Page 21: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric
Page 22: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Windows Azure AppFabric

Page 23: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Windows Azure AppFabric Cache

• A distributed, in-memory cache for apps running in Azure:

– In-memory cache located near your Azure applications

– Based on Windows Server AppFabric Caching

• Benefits:

– Highly scalable with low latency and high throughput

– Can dynamically increase and decrease as needed, without redeploying or modifying your application

– User doesn’t have to bother with configuration, deployment, or management of their cache infrastructure

Page 24: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Key Capabilities & Benefits

• Easily integrates into existing apps – Cache-Aside Model

– One API for Server and Cloud

– ASP.NET Session State Provider

– ASP.NET Page Output Caching Provider

• Very low latency with Local Cache

• Caches any serializable CLR object – No serialization costs for local caching

• Secured w/ Access Control Service

Web Role

DB

Sessions

Reference Data

Activity Data

Resource Data

Output

Local Cache

Page 25: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

DEMO

A quick look at Cloud Cache...

Page 26: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Windows Azure AppFabric Access Control

• Federated Identity and AuthZ for any Application

– Web, Desktop, Mobile

– Identity Providers: • Facebook, Google, Yahoo, Live ID

• Active Directory Federation Services 2.0

• OAuth 2, OAuth WRAP

• WS-Trust 1.3

– Tokens Formats • OAuth WRAP SWT

• SAML 1.1, SAML 2.0

• Authorization Rules

Access Control

WS-*

Google, Yahoo

OAuth 2.0

Facebook

Websites and web services Live ID

OAuth WRAP

Access Control Service

Open ID Rules

Free till Jan 2012

Page 27: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Windows Azure AppFabric Application Manager

• Application Server Infrastructure – Deployment and Placement – Execution Lifecycle – Scale Out – High Availability – Isolation – Resource Management – Routing – Usage Monitoring

Workflow Web Services

Page 28: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Windows Azure AppFabric Service Bus

• Interconnect services across networks

– Naming and Discovery

– Connectivity w/ NAT and Firewall Traversal

– Access Control Integrated Authorization

• Cloud-Based Message-Oriented Middleware

– Next Generation Message Queue Technology

– Rich Publish/Subscribe with Filtering

– Transaction Integration

Service Bus

Page 29: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Integration Routing

Coordination Transformation

Content-based routing, document

transformation, and process coordination.

Service Management

Naming, Discovery Monitoring

?

Consistent management

surface and service observation capabilities

Messaging Queuing Pub/Sub

Reliable Transfer

Reliable, transaction-aware cloud messaging infrastructure for business apps.

Connectivity Service Relay

Protocol Tunnel Eventing, Push

Rich options for interconnecting

apps across network

boundaries

Windows Azure AppFabric Service Bus

Page 30: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Queue P C

Queues!

• Reliable, durable storage – up to 1GB per Queue*

• Queues stay in the system once created, no TTL limit

• Max message size 256KB, Sessions allow grouping

• Messaging API, WCF, and HTTP/REST Interfaces

Page 31: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

DEMO

My Queue runs in the cloud. How about yours?

Page 32: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Topics!

Topic P S

S

S

C

C

C

• All the Features of Queues + Publish/Subscribe

• Up to 2000 Subscriptions on a Topic

• Each Subscription is a virtual queue getting message copies

• Subscriptions can have filters and actions

Page 33: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

DEMO

We have “Topics” in the cloud. Do you?

Page 34: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Bridging on premise messaging with the Cloud

• Messages are pushed to MSMQ

• Broker reads off MSMQ and publishes to SB Queue

• Service Bus Queue Client can reads it off the queue

SB Queue C

P MSMQ Broker

Cloud

On Premise

Page 35: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

DEMO

Look ma! I can bridge MSMQ with AppFabric Service Bus Queues

Page 36: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Runtime API Choices

WCF Bindings

Service Bus Relay Protocol

Implementation

(private)

Apps

Messaging API

WCF Service Model

.NET Framework 4.0

Service Bus

HTTP

REST

SOAP

WS-* (Relay Clients)

Any Platform

Page 37: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

The Messaging API

WCF Bindings

Service Bus Relay Protocol

Implementation

(private) Messaging API

WCF Service Model

.NET Framework 4.0

HTTP

REST

SOAP

WS-* (Relay Clients)

Any Platform

Messaging-Specific API That Provides Access To All Features

Page 38: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Summary

- The Cloud Middleware - Service Bus enables connectivity between

On-Premise and Cloud Apps - AppFabric applications are inherently cloud

ready - Integration Services will bring BizTalk to the

Cloud

Page 40: MS TechDays 2011 - How to Run Middleware in the Cloud Story of Windows Azure AppFabric

Thank You Thank You

Microsoft Virtual Academy Developer Downloads IT Pro Trials

[email protected] / @hammadrajjoub / http://wwww.hammadrajjoub.net