the hybrid windows azure application

42
The Hybrid Windows Azure Application

Upload: michael-collier

Post on 18-Jan-2015

5.469 views

Category:

Technology


0 download

DESCRIPTION

The Windows Azure platform is a fairly feature rich environment. You can run your web applications there. You can run your data processing applications (services) there. But you don’t have to run your entire application there. You can run part of your application in “the cloud”, and part of your application on premise – giving you the best of both worlds. But why would you not put everything in the cloud? Perhaps you don’t need the massive computing power Windows Azure provides, but you would like a cheap an easily accessible data store. Maybe your application just isn’t ready, yet, to be run in the cloud. Whatever the reason, in this session you will learn the basics for creating a hybrid application which leverages various features of Windows Azure. You will see how to leverage Windows Azure’s rich features and APIs to extend your application to new heights.

TRANSCRIPT

Page 1: The Hybrid Windows Azure Application

The Hybrid Windows Azure Application

Page 2: The Hybrid Windows Azure Application

About Me

Michael S. Collier

National Architect,

Windows Azure

[email protected]

@MichaelCollier

www.MichaelSCollier.com

Page 3: The Hybrid Windows Azure Application

A Look Ahead

• Windows Azure Components (quick)• The Case for Hybrid• Scenarios and Concerns• Windows Azure Service Bus• Additional Connectivity Options

Page 4: The Hybrid Windows Azure Application

Windows Azure Core Components

WORKERROLE

WEBROLE

VM

VMROLE

QUEUESERVICE

BLOBSERVICE

TABLESERVICE

DATABASESERVICE

DATA SYNCSERVICE

IMPORT EXPORTSERVICE

REPORTINGSERVICE

Compute

Storage Database

DataMarket Service

Windows Azure Connect

Service Bus

Access Control Service

Cache Service

Windows Azure Traffic ManagerWindows Azure graphics courtesy of David Pallmann (http://azuredesignpatterns.com)

Page 5: The Hybrid Windows Azure Application

HYBRID APPLICATIONS

Page 6: The Hybrid Windows Azure Application

Application Trends

1970s• Mainframe

• COBOL

1980s• Client-Server

• COM+, Two tier architectures, C/C++

1990s• Web

• ASP, PHP, Tight Coupling, Web Servers

2000s• SOA

• .NET & Java, N-Tier Architectures, ESB, Data Warehousing

2010+• Hybrid /

Cloud

Page 7: The Hybrid Windows Azure Application

Disruptors and Trends

CHEAP PROCESSING AND STORAGE

TECHNOLOGY DISRUPTORS APPLICATION TRENDS

Service-Orientated

Composite Applications

Model Driven

Scale-Out

Elastic

Failure Resilient

Always Available

VIRTUALIZATION

ADVANCES IN NETWORKING

ADVANCES IN WEB TECHNOLOGIES

EMERGENCE OF SERVICES

PLATFORMS

Multi-Tenant

Staged Production

Page 8: The Hybrid Windows Azure Application

Hybrid Clouds – The New Reality?

• Destined to be the most common “type” of cloud.

• Determine what to keep private vs. what is OK for public exposure.

• Architectures become complex.

• Balance of cost, control, flexibility, and risk.

* Cloud Computing Use Cases White Paper 2009

Page 9: The Hybrid Windows Azure Application

Composite Systems

“By 2015, 80% of transformational systems implemented by midsize and large enterprise will be compositions.”

- Gartner

Page 10: The Hybrid Windows Azure Application

Why Consider a Hybrid Approach?

• Expose key functional areas as services enable agility

• Improvements in on-premises and cloud

• Shift from single product, big iron approach -> best in class, capability driven model

• SOA – service composition of on-premises and in the cloud.

• Reduce the big spend.

Page 11: The Hybrid Windows Azure Application

COMMON SCENARIOS AND CONCERNS

Looking at a few

Page 12: The Hybrid Windows Azure Application

How can the Cloud Help?

Page 13: The Hybrid Windows Azure Application

Not Everything Has To or Can Live in the Cloud

Page 14: The Hybrid Windows Azure Application

Security Concerns

Page 15: The Hybrid Windows Azure Application

Regulatory & Certification

Page 16: The Hybrid Windows Azure Application

Only Move to the Cloud That Which Can Benefit

Page 17: The Hybrid Windows Azure Application

Data in MotionC

loud

On-p

rem

ises

1011011101110111

DOH! 1011011101110111Msg 1Msg 2Msg 3

Image courtesy Windows Azure Boot Camp

SQL AZUREDATABASE

QUEUE

DATABASESERVER

System

Page 18: The Hybrid Windows Azure Application

BLOB CONTAINER

Mass StorageC

loud

On-p

rem

ises

ApplicationHTML

Bandwidth

Doc/Img/JSBandwidth

DATABASESERVER

Image courtesy Windows Azure Boot Camp

Page 19: The Hybrid Windows Azure Application

BLOB CONTAINER

Data Archival

Network Storage

Clo

ud

On-p

rem

ises 2

DATABASESERVER

Image courtesy Windows Azure Boot Camp

Page 20: The Hybrid Windows Azure Application

Web ApplicationsC

loud

On-p

rem

ises

M

WEB ROLE

M

2+

SQL Database

SQL Server

The Application

SQL Data Sync(Sync to Hub)

Page 21: The Hybrid Windows Azure Application

Additional Scenarios

Big Data• Embrace Apache Hadoop on Windows Server and Windows

Azure (see https://www.hadooponazure.com/)

HPC• Financial risk, engineering, weather modeling, etc.• Windows Azure HPC Scheduler• http://www.windowsazure.com/en-us/home/scenarios/parallel/

Cloud Bursting (extending data center to cover peak load)• Kelly Blue Book uses Windows Azure as a secondary data

center to handle bursts in traffic and new features. Saved $100,000/year.

Page 22: The Hybrid Windows Azure Application

Windows Azure Service Bus

• Robust messaging and routing services

• Hybrid apps that span on-premises and the cloud

• Specifically designed to traverse NAT and firewall devices.

• Security via ACS

Service Bus

Page 23: The Hybrid Windows Azure Application

Client Applicatio

nService

Service Bus

sb://namespace.servicebus.windows.net/service

Upgrade connection – NAT traversal connection

Software Firewall

NAT

Hardware Firewall

Software Firewall

NAT

Hardware Firewall

TCP: 818/828HTTP:80

Message Relay

Page 24: The Hybrid Windows Azure Application

Service Bus Message Queues(Brokered Messaging)

• Reliable and durable – backed by SQL Database• Store up to 1GB per queue• No maximum TTL – unlike Windows Azure queues• 256KB maximum message size• Messaging API, WCF, and REST interfaces

Publisher ReceiverQueueReceiver

ReceiverReceiver

Page 25: The Hybrid Windows Azure Application

Service Bus Topics (pub/sub)(Brokered Messaging)

• Takes SB Queues to the next level• 2,000 subscriptions on a single Topic• Subscription is a virtual queue – gets a copy of each message• Filters

– SQL92 syntax to receive only messages with matching properties

• Actions– Modify message properties as they’re selected

PublisherSubscription

Topic

Receiver

Audit ReceiverSubscription

ReceiverFulfillment Receiver

Rules

Rules

Page 26: The Hybrid Windows Azure Application

Which to Chose?

Relay Messaging

• Built for WCF• Push model• Service connection

routing

Brokered Messaging

• WCF, .NET, REST APIs• Pull model• Eventually consistent

Page 27: The Hybrid Windows Azure Application

https://twitter.com/#!/clemensv/status/182176529369939968/photo/1

Page 28: The Hybrid Windows Azure Application

ADDITIONAL CONNECTIVITY OPTIONS

A Few

Page 29: The Hybrid Windows Azure Application

Access Control Services (ACS)

• No need to build your own identity management solution.• Authenticate (WIF – OAuth and WS-Federation)• Claims-based authorization• Multiple Identity Providers (ADFSv2, Google, Live ID,

etc.)• Ability to bring your own via membership• Write to ACS and let Microsoft worry about the rest

Page 30: The Hybrid Windows Azure Application

Windows Azure Virtual Machines

• Persistent VM• Full control and management of virtual machines• Windows or Linux• Support for Active Directory, SharePoint, BizTalk & SQL

Server

Image courtesy of http://blogs.msdn.com/b/windowsazure/archive/2012/06/25/infrastructure-as-a-service-series-virtual-machines-and-windows.aspx

Page 31: The Hybrid Windows Azure Application

Windows Azure Virtual Network

Corp Network

IIS Servers

AD / DNS

SQL Servers

S2S VPN Device

Image courtesy of the Windows Azure Training Kit

Windows Azure

IIS ServersSQL Servers

Site-to-Site VPN Tunnel

Page 32: The Hybrid Windows Azure Application

Windows Azure Connect

• Secure network connectivity between on-premises and cloud.

• Hybrid apps access to on-premises servers– App access to SQL

Server– Role domain-joined to

AD

• Setup & management Enterprise

Windows Azure

Image courtesy Windows Azure Platform Training Kit

Page 33: The Hybrid Windows Azure Application

Windows Azure Connect A Closer Look

• Windows Azure roles enabled via service model.

• Install Connect agent for local machines.

• Network policy managed via portal.

• Auto-setup of secure IP-level network between role instances and local machines. Enterprise

Windows Azure

Databases

Dev machines

Relay

Role BRole A

Role C(multiple VM’s)

Image courtesy Windows Azure Platform Training Kit

Page 34: The Hybrid Windows Azure Application

Tale of the Tape

Windows Azure Virtual Network

• IP connection between on-premises and Windows Azure role instances

• Direct IP connection; Active Directory domain-join

• Windows Azure Connect Agent

• Network connectivity• Local database• Remote PowerShell• Network file share• Active Directory

Windows Azure Service Bus

• Services running on-premises or in Windows Azure

• Protocol connection (HTTP, HTTPS, NetTCP)

• Nothing new (WCF and REST)• Expose a (Intranet) service to

the Internet• Take advantage of other

services• ACS (Facebook, Windows Live ID,

etc.)• Windows Azure Cache

Page 35: The Hybrid Windows Azure Application

Windows Azure Integration Services

Enhancements to the existing Windows Azure Service Bus

EAI Bridges• Content-based routing rules• Stages enable message validation, enrichment, and transform• Send XML output via HTTP, Service Bus Topics/Queues, or other

bridges• Receive XML via HTTP

Transforms• Change XML structure between applications• XSLT mapping tool . . . . A lot like BizTalk

Page 36: The Hybrid Windows Azure Application

Windows Azure Integration Services

Connect• Enables cloud apps to securely communicate with LOB systems

(SAP, Siebel, SQL Server, Oracle, etc.)

EDI• Trading Partner Management solution for EDI (B2B)• Configure partners and create a B2B pipeline – deployed to

Windows Azure Service Bus• Send EDI via HTTP, FTP, and AS2• X12 and AS2 only (current CTP release)

Try it now at http://portal.appfabriclabs.com

Page 37: The Hybrid Windows Azure Application

Enabling the Hybrid Enterprise

Windows Azure Service BusSB

SBCOMPUTE SERVICE

S

STORAGESERVICE

DATABASESERVICE

Windows Azure

Page 38: The Hybrid Windows Azure Application

New Platform Services

Services

Caching Service Bus/ Messaging Access Control Integration Composite App

[Workflow, Web Services]

Platform Services.NET +

Composition Model & Tools

Container

SQL Azure SQL Server

Windows Azure

Windows Server

Management

Page 39: The Hybrid Windows Azure Application

WindowsAzure.com – 90 days free!

http://bit.ly/MikeAzureTrial

Activate MSDN benefits

Install SDK via Web PI

Windows Azure Training Kit

How to Get Started

Windows Azure Developer Center

Page 40: The Hybrid Windows Azure Application

Resources

• Windows Azure Platform Training Kit– http://bit.ly/hb7om9

• Windows Azure Boot Camp– http://www.WindowsAzureBootCamp.com

• Windows Azure Service Bus– http://www.windowsazure.com/en-us/home/features/service-bus/

• Rick Garibay’s Blog– http://rickgaribay.net/

• Windows Azure Service Bus Samples– http://servicebus.codeplex.com

• Windows Azure Queues and Windows Azure Service Bus Queues - Compared and Contrasted– http://msdn.microsoft.com/en-us/library/windowsazure/hh767287(d=default,v=vs.103).aspx

• Neudesic Cloud– http://cloud.neudesic.com/

• Neudesic Connected Systems– http://www.neudesic.com/What/Expertise/Pages/ConnectedSystems.aspx

Page 41: The Hybrid Windows Azure Application

Q &

A

Ask your questions

Page 42: The Hybrid Windows Azure Application

What’s New in Windows Azure

Wednesday. 10:15am – 11:30am

Conv. Ctr. – 12 (Orasi)

The Hybrid Windows Azure Application

Thursday. 9:30am – 10:45am

Conv. Ctr. – G (Pearson)

Using Windows Azure for Solving Identity Management Challenges

Friday. 9:30am – 10:45am

Conv. Ctr. – G (Pearson)

My Sessions at DevLink