presentation on cloud mashups

68

Upload: michael-heydt

Post on 27-Jan-2017

79 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Presentation on Cloud Mashups
Page 2: Presentation on Cloud Mashups

Cloud Mashups

Michael Heydt – Senior Technology Manager, SCS [email protected], [email protected], @mikeheydt

Building cloud-cloud and cloud-premises mashups

Defining a new application paradigm

Via lessons learned with cloud systems

Page 3: Presentation on Cloud Mashups

AgendaHistory

Future

Idea

Demo

How-To

Closing

Page 4: Presentation on Cloud Mashups

HISTORY

Mashups up to now

Page 5: Presentation on Cloud Mashups

Legacy Mashups

ConsumerPlatformEnterprise

Page 6: Presentation on Cloud Mashups

Consumer Mashups

Mashup software is public via a web site,All services are “external”, Likely not to use custom services,And consumed through service portal or Iframe / portlets

Yahoo Pipes

Page 7: Presentation on Cloud Mashups

Platform Mashups

Provide a single provider face to multiple cloud services

Facebook + EC2 storage / Salesforce

Page 8: Presentation on Cloud Mashups

Enterprise Mashups

Mashing of services within an enterprise,Likely with some web data and custom services,A single identity system,Exposure of data through corporate portals

JackBe Presto

Page 9: Presentation on Cloud Mashups

Guess What?

These are so 2009They are not “cloud mashups”, and…

I’m not talking about any of these!

Page 10: Presentation on Cloud Mashups

FUTURE

C2C and C2P Mashups,A Brave New World

Page 11: Presentation on Cloud Mashups

New Architectures

Cloud-2-CloudCloud-2-Premises

Mash across cloud providers and your private systemsEnabled with new technologies

Page 12: Presentation on Cloud Mashups

A New Paradigm

Quickly building applications byIntegrating services from multiple cloudsAnd data from on-premises systemsInto a new serviceHosted in the cloud and Used in your applicationAnd scalable beyond anything before

Requires new skills and technologiesThis is what I’ll be talking about!

Page 13: Presentation on Cloud Mashups

ETROCLOUD-2-CLOUD MASHUPS ARE SERVICES AND DATA ORCHESTRATED ACROSS MULTIPLE CLOUDSServices and data orchestrated between multiple cloudsOrchestration services in the cloudMultiple identitiesData and transforms in the cloud

The reality: There will be multiple cloud platforms

Page 14: Presentation on Cloud Mashups

ETROCLOUD-2-PREMISES MASHUPS EXTEND CLOUD MASHUPS INTO YOUR PRIVATE SERVICES AND DATA

Communications from the cloud to on-premises systemsBe they private cloud systems or non-cloud systems

Your stuff is safe at home but still can be used by the cloud

Page 15: Presentation on Cloud Mashups

ETROTOGETHERTHEY REPRESENT THE NEXT EVOLUTION OF SOA, PLATFORM AND APPLICATIONS

Business and consumer collaboration exemplified

Page 16: Presentation on Cloud Mashups

IDEA

What can I do with this?

Page 17: Presentation on Cloud Mashups

CONSUMER / PROVIDER ENERGY COLLABORATION SYSTEMSCollect price data from grid operators,Expose uniform data feed via cloud standards (oData, …),Providers visualize prices with graphs and charts in real-time,Collect meter data from smart grids and dynamically analyze,Process contracts from on-premises systems,Consumers can view usage, pricing and billing info, and Homes integrate with the smart grid

An ecosystem mashed from multiple subsystems in different clouds and private systems

Page 18: Presentation on Cloud Mashups

Concepts

Small independent services wired together on a busMultiple cloud providersConsume public data into cloud dataScheduled execution of tasks in the cloudOn-premises data access from the cloudFederated access controlLarge scale event processingScalable cloud servicesIntegration of cloud and on-premises dataData as a Service

This is the stuff you have to know

Page 19: Presentation on Cloud Mashups

Subsystems

Price collectionPrice visualizationMeter event processingConsumer PortalHome and smart grid integrationContracts processing

These are the primary parts of the system

Page 20: Presentation on Cloud Mashups

Price Collection

Scrape data from energy regulatorsStore in cloud storageProvide access via oData, REST, SOAP

Get the data from elsewhere and make it DaaS

Page 21: Presentation on Cloud Mashups

Price Visualization

Access price data from rich clients of various formsStandard data formats allow any clients to consumeStandard “mashlets” allow the same view across platforms

Consume DaaS with mashups and RIA components

Page 22: Presentation on Cloud Mashups

Meter Data Event Processing

Thousands if not millions of meters sending data,Every 15 minutes,Across the smart grid,Massive flows of real-time events,How to know what’s going on?How to handle the volume?How to store it?

Flex the ISB and CEP

Page 23: Presentation on Cloud Mashups

Consumer Portal

Scalable web application in the cloud,Supporting an ever growing user base,Mashing on-premises customer data and cloud pricing dataAccess control from on-premises custom STS

Scalable cloud web app with data tunnels and federated ID

Page 24: Presentation on Cloud Mashups

Home / Smart Grid CollaborationConsumers use portal to establish rules for their homeHome collaborates with the grid via cloud agentsGrid delivers commands based upon events

Having the grid charge your car when prices are lowestControl your home remotely

Page 25: Presentation on Cloud Mashups

Contracts Processing

Daily and monthly analytics for tradingUsually requiring big iron on siteMany hours or days to completeData needs to stay out of the cloud

Save money on the big iron and feel safe about the data

Page 26: Presentation on Cloud Mashups

DEMO

Show some stuff already will you!

Page 27: Presentation on Cloud Mashups

Architecture

Page 28: Presentation on Cloud Mashups

HOW-TO

The Building Blocks

Page 29: Presentation on Cloud Mashups

Toolbox

AppFabric Service BusMicrosoft AzureAmazon EC2Access Control ServicePort Bridge / On-premises AFSB services

Page 30: Presentation on Cloud Mashups

Microsoft Azure

.NET Platform as a Service (PaaS)Scalable Web and Worker RolesRuns .NET applications in the cloudBut also provides capabilities for PHP, Java, and more

Provides Internet Service Bus and Access Control ServiceThese are unique to Azure and Critical for C2C/P

Page 31: Presentation on Cloud Mashups

Amazon EC2

Infrastructure as a Service (IaaS)Essentially virtual machine hosting in the cloudMany pre-built virtual machines to pick from (AMIs), orRoll your ownScalable, Durable, Totally Customizable

You are likely using it but don’t even know it

Page 32: Presentation on Cloud Mashups

AppFabric Service Bus

Internet scale messaging busEnables inter/intra cloud, cloud-premisesNamed endpoints for services to rendezvousNegotiates end-to-end network traversalsOptimizes network traversalTightly integrated with the Access Control ServiceSynchronous, fire and forget, and pub/sub multicastAccess via WCF or REST

This is the backbone of C2C/P systems

Page 33: Presentation on Cloud Mashups

AFSB: NetEventRelay

Page 34: Presentation on Cloud Mashups

AFSB: NetTcpRelay

Page 35: Presentation on Cloud Mashups

Access Control Service

Abstracts orchestration of auth[*]Claims based modelControls access to the ISBPerforms claims mapping between providersYour apps and services can integrateCan integrate with your auth servicesYou can integrated custom auth services via WIF

Ensures all services on the ISB are only used by who you allow

Page 36: Presentation on Cloud Mashups

Access Control Service

Page 37: Presentation on Cloud Mashups

Premises #1 AFSB Service

A WCF service that connects to the AFSBAPI exposed to cloud applicationsRequests securely routed to on-premises serviceService can interoperate with on-premises system directly

Makes premises systems accessible to your cloud app

Page 38: Presentation on Cloud Mashups

Premises #2 Port BridgeTunneling of level 3 traffic To/from cloud to non-cloud / non-service systemsPort Agent in cloud, Port Bridge on premisesAgent and Bridge use AFSB for connectivity and tunnelingBecause it uses ISB, it also uses ACSCloud enables apps that don’t talk cloud

Makes premises systems accessible to your cloud app

Page 39: Presentation on Cloud Mashups

Deep-dive

If we have time

Page 40: Presentation on Cloud Mashups

Closing

Wrap up and where is this going?

Page 41: Presentation on Cloud Mashups

Some Comments

Plumbing is in place for c2c/p mashupsBuild small servicesGlue them together with AFSBLet ACS handle the securityFocus on dynamic code allocationExpose data through oData services

Better tools are still needed

Page 42: Presentation on Cloud Mashups

Future Tools

Declarative and graphical designers for applications Dynamic code storage and allocation to cloud servicesAutomatic deployment of services and wiringEvolutionary upgrade of servicesSemantics data repositoriesAdaptive systems that auto-wire based on usage patternsIntentional systems that auto build based upon needs

This is going to be great!

Page 43: Presentation on Cloud Mashups

REFERENCES

WWW.MICROSOFT.COM/WINDOWSAZUREAWS.AMAZON.COMODATA.ORG42SPIKES.COM (my blog)

Page 44: Presentation on Cloud Mashups

PRINCIPLES

Architecture for C2C/P mashups

Page 45: Presentation on Cloud Mashups

The Principles

ReuseFunctional ServicesData As A ServiceIdentitySecurityInterconnection

DiscoverabilityWiringMashupMashletTransformationSemantics

Page 46: Presentation on Cloud Mashups

Reuse

Fundamentally all mashups are reused Either in user interfaces,Other services, orIn other mashups

Nothing lives alone

Page 47: Presentation on Cloud Mashups

Functional Services

Provide an operation,An interaction with another application,A retrieval of data from another system, or A change of state

SOA Classic

Page 48: Presentation on Cloud Mashups

Data as a Service (DaaS)

Mashups need dataUI’s need dataServices can expose data

Data itself is a service

No need to code!

Page 49: Presentation on Cloud Mashups

Identity

Multiple entities each requiring different credentialsNeed Identify FederationProviding Identity Management and mappingUsed to implement security

You or your system will have many

Page 50: Presentation on Cloud Mashups

Security

Use of IdentityTo authenticate a user or serviceAgainst another serviceTo control access to services, andWhat can be done with the service

Information wants to be free, but you may not want it to

Page 51: Presentation on Cloud Mashups

Interconnection

Services need to talk to each otherProtocols need to be bridgedTunnels need to be createdBuilding the nervous system of the mashup

This is the Internet Service Bus

Page 52: Presentation on Cloud Mashups

Wiring

The definition of the flow of the data through the mashupFrom one service to anotherUtilizing an interconnection

These are the rules of how the data flows, not how it is moved

Page 53: Presentation on Cloud Mashups

Transformation

Services often disagree on the structure of dataThis is a service that changes the format of dataUsing specific rules

The physical transformation of data according to semantics

Page 54: Presentation on Cloud Mashups

Semantics

A description of the meaning of dataNot the content of dataOften used to understand data in a Mashlet, orChange data for another service

The rules of the vocabularies of data between the services

Page 55: Presentation on Cloud Mashups

PATTERNS

Things you will do all the time

Page 56: Presentation on Cloud Mashups

The Patterns

Classic MashupInternet Service BusDynamic ServiceDeploy ServiceIdentity FederationPremises Tunnel

WiringMashupMashletData as a ServiceHubPlug Into Hub

Page 57: Presentation on Cloud Mashups

Classic Mashup

Ingest data from multiple feedsMerge dataTransform dataFilter dataExpose results

Assumes all web services

Page 58: Presentation on Cloud Mashups

Internet Service Bus

Backbone for cloud-cloud and cloud-premises composition,Providing discovery through standard naming techniques, andInteroperation through dynamic routing / binding of services,Provides protocol bridging across heterogeneous clouds, andAbility for two services to attach without knowing their actual locations or protocols

The nervous system

Page 59: Presentation on Cloud Mashups

Dynamic Service

A service that is provisionedOn a schedule, orOn demand, andIs discoverable and connected automatically to mashups,To provide scalability and availability, whichMay be autonomous, orAccessed through it’s own web service, orVia an endpoint on the ISB

Your mercenaries

Page 60: Presentation on Cloud Mashups

Deploy Service

Dynamic spin up of a service in a cloud provider,Connecting the service to and endpoint on the ISB, and Configuration of the ACS and IF

Run it only when you need it

Page 61: Presentation on Cloud Mashups

Identity Federation

A service that provides unified mapping of credentials from multiple services and clouds,To provide seamless access controls across all services

Presenting yourself in the light of another

Page 62: Presentation on Cloud Mashups

Premises Tunnel

Establishes protocol level tunnel for native protocols,From a cloud service, To an on-premises service,Via the Internet Service Bus,Forming a secure means on integration cloud and premisesCommonly using the port bridge

Safely expose private data, systems and services to the cloud

Page 63: Presentation on Cloud Mashups

Mashup

An ordered sequence of wiresThat pass data into servicesUsing the interconnectsRetrieving results from the servicesTransforms data according to semanticsFlows the results into other servicesAnd exposing the result as a new service

Secretly (or no so) a business process

Page 64: Presentation on Cloud Mashups

Mashlet

Reads the results of a mashup via its addressApplying a visualizationMay be exposed itself as a web construct, orA platform specific user controlAnd knows how to display one or more types of data

Somewhere, sometimes, you need to see the results

Page 65: Presentation on Cloud Mashups

Data As A Service

Data being directly exposed as a serviceWithout the ceremony (code) of normal services

Information wants to be free (within your permission)

Page 66: Presentation on Cloud Mashups

Hub

Service integration through Internet Service Bus, withAutomatic data transformation, Automatic wiring and interconnection,Dynamic deployment of services,Abstraction of cloud and premises systems,Automated orchestration of services,Identify federation, andAccess control

No one or thing lives alone anymore

Page 67: Presentation on Cloud Mashups

Plug Into Hub

Configuration of a deployed service, To communicated with a Hub,Attaching the service to the hub’s orchestration, Providing data transforms and Access control and identify mapping to the hub

I want to play with others like me

Page 68: Presentation on Cloud Mashups

Transform!

Change data from one form to another Using a specific transform, orSemantic information

The Optimus Prime