tosca and opentosca: tosca introduction and opentosca ecosystem overview

31
Tobias Binz, Uwe Breitenbücher, Oliver Kopp, Frank Leymann Gefördert durch: Förderschwerpunkt: Projektträger: www.opentosca.org TOSCA and OpenTOSCA Contents: 1. TOSCA Introduction 2. OpenTOSCA Ecosystem Overview

Upload: opentosca

Post on 10-May-2015

19.036 views

Category:

Technology


3 download

DESCRIPTION

TOSCA is a new standard facilitating platform independent description of Cloud applications. OpenTOSCA is an open source TOSCA ecosystem including the modeling tool "Winery", the TOSCA runtime "OpenTOSCA", and the self-service portal "Vinothek".

TRANSCRIPT

Page 1: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

Tobias Binz, Uwe Breitenbücher, Oliver Kopp, Frank Leymann

Gefördert durch:

Förderschwerpunkt:

Projektträger:

www.opentosca.org

TOSCA and OpenTOSCA

Contents:

1. TOSCA Introduction

2. OpenTOSCA Ecosystem Overview

Page 2: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

2

TOSCA Introduction

Page 3: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 3

CloudCycle

OASIS TOSCA

Topology and OrchestrationSpecification for Cloud Applications

Goals:• Automation of Deployment and Management• Portability• Interoperability• Vendor-neutral Ecosystem

Page 4: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 4

CloudCycle

OASIS TOSCA

Topology and OrchestrationSpecification for Cloud Applications

100+ participants from 40+ companies:

OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC

Page 5: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 5

CloudCycle

TOSCA Overview

andSpecification for Cloud

Applications

Topology Orchestration

Page 6: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 6

CloudCycle

TOSCA Overview

Service Structure Service Orchestration for

Deployment & Management

Topology Orchestration

Start VMInstall

TomcatOperatingSystem

(Ubuntu 12.04 LTS)

VirtualServer

(AWS EC2 Server)

WebServer

(Tomcat)

EC2

Page 7: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 7

CloudCycle

Graphical Example of an Application Topology

OnlineBookstore

(WAR)

OperatingSystem

(Ubuntu 12.04 LTS)

VirtualServer

(AWS EC2 Server)

WebServer

(Tomcat)

EC2

Page 8: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 8

CloudCycle

Graphical Example of an Application Topology

OnlineBookstore

(WAR)

OperatingSystem

(Ubuntu 12.04 LTS)

VirtualServer

(AWS EC2 Server)

WebServer

(Tomcat)

EC2

Node Template

Relationship Template

Node Type

(hostedOn) Relationship Type

(hostedOn)

(hostedOn)

Page 9: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 9

CloudCycle

Properties

OnlineBookstore

(WAR)

OperatingSystem

(Ubuntu 12.04 LTS)

VirtualServer

(AWS EC2 Server)

WebServer

(Tomcat)

EC2

PropertiesUser: Admin

PW: 7a!7q

IP: 147.187.2.1

Page 10: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 10

CloudCycle

Deployment Artifacts

OnlineBookstore

(WAR)

OperatingSystem

(Ubuntu 12.04 LTS)

WebServer

(Tomcat)

bookstore.war

Artifacts providing the node’s functionality

Multiple Deployment Artifacts possible

http://tomcat.apache.org

Tomcat.zip

Tomcat7 (apt, deb, …)

CustomizedUbuntu.img

Ubuntu.ovf

ami-d0f89fb9t

Page 11: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 11

CloudCycle

Management Operations & Implementation Artifacts

Define management operations of nodes (and relationships)

Input & output parametersand their data types

Implemented by Implementation Artifacts(Web Service, REST-service, Script, …)

WebServer

(Tomcat)

OperatingSystem

(Ubuntu 12.04 LTS)

OnlineBookstore

(WAR)

VirtualServer

(AWS EC2 Server)EC2

appSpecific

deployWAR

start, stop

installPkg

terminate

createVM

execScript

instanceType : String

region : String

accessKey : String

Instance ID : String

Page 12: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 12

CloudCycle

Capabilities and Requirements I

Application

(WAR)

WebServer

(TomCat)

(hostedOn)

Requirement

I need to be

hosted on a Linux

Operating System

R OperatingSystem

(Ubuntu)

Capability

I provide a Linux

Operating System

C

Page 13: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 13

CloudCycle

Capabilities and Requirements II

Application

(WAR)

WebServer

(TomCat)

(hostedOn)

Requirement

OperatingSystem

(Ubuntu)

Capability

(Tomcat-installedOn-Ubuntu)

Page 14: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 14

CloudCycle

TOSCA Overview

Service Structure Service Orchestration for

Deployment & Management

Topology Orchestration

Start VMInstall

TomcatOperatingSystem

(Ubuntu 12.04 LTS)

VirtualServer

(AWS EC2 Server)

WebServer

(Tomcat)

EC2

Page 15: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 15

CloudCycle

Two Flavors of Processing

Declarative What?

Example: “I want this, realize it!”

Runtime interprets topologyand does deployment

Imperative How?

Example: “First do this, than that.”

Management plan explicitly describeseach step

OperatingSystem

(Ubuntu 12.04 LTS)

VirtualServer

(AWS EC2 Server)

WebServer

(Tomcat)

EC2

OperatingSystem

(Ubuntu 12.04 LTS)

VirtualServer

(AWS EC2 Server)

WebServer

(Tomcat)

EC2

Start VMInstall

Tomcat

Page 16: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 16

CloudCycle

Ease of Modeling

Low Entry Barrier

Declarative vs. Imperative – Discussion

Deployment Flow

Flexibility & Customizability

Logic completely

implemented by

Container

Logic completely

contained in

Application

Imperative Style Declarative Style

Hybrid Approach

Page 17: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 17

CloudCycle

Management Plans Overview

Application

(WAR)

OperatingSystem

(Ubuntu)

WebServer

(TomCat)

(hostedOn)

(hostedOn)

Install

Tomcat

Deploy

Application

Deployment Logic is implemented by portable Plans

deploy

installPkg

2

1

Page 18: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 18

CloudCycle

Plans

Plans are workflows (BPEL, BPMN, etc.)

Plans are portable, reusable, and automated

Parallel execution

Error handling

Traceability/auditability

Long running processes

Recoverability

Human tasks

Management logic shipped together with application

Management not hard-wired into the TOSCA container

Contained in CSAR (TOSCA packaging format)

Page 19: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 19

CloudCycle

What’s contained in an Cloud Service Archive (CSAR)?

Cloud Service Archive (CSAR)

X

Topology Templates Management Plans

Installables

Images

Services

Scripts

Types

Type

InterfacesProperties

Definition

OnlineBookstore

(WAR)

OperatingSystem

(Ubuntu 12.04 LTS)

VirtualServer

(AWS EC2 Server)

WebServer

(Tomcat)

EC2

(hostedOn)

(hostedOn)

(hostedOn)

Deployment Artifacts Implementation Artifacts

Page 20: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

20

TOSCA Portability

Page 21: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 21

CloudCycle

Portability Note

TOSCA deals with portability of Service Templates

Portability of the ingredients of an IT Service (especially the code artifacts) is not addressedby TOSCA

Similarly, mobility of data used by a corresponding service instance is not in the scope of TOSCA

Page 22: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 22

CloudCycle

Why is this portable ?

Management operations defined in TOSCA standard

Management Operations, i.e., Implementation Artifacts, are deployed by the TOSCA runtime

Plans defined using standards (e.g., BPEL, BPMN)

Plans (1) and Management Operations (2) are “bound” (i.e., connected) by the container Implementation Artifacts on the realization level

Page 23: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

23

OpenTOSCA Ecosystem Overview

Open Source TOSCA Ecosystemwww.opentosca.org

© IAAS, University of Stuttgart

Page 24: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 24

CloudCycle

Creation and modeling of TOSCA applications, including graphical modeling of topologies and management plans.

Exported as Cloud Service Archive (CSAR) for TOSCA runtime.

Self-ServiceModeling Tool Container

Page 25: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 25

CloudCycle

Creation and modeling of TOSCA applications, including graphical modeling of topologies and management plans.

Exported as Cloud Service Archive (CSAR) for TOSCA runtime.

Self-ServiceModeling Tool Container

Page 26: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 26

CloudCycle

TOSCA runtime & middlewareProcesses CSARs, runs plans, manages state, …

Self-ServiceModeling Tool Container

Page 27: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 27

CloudCycle

Offering the deployed CSARs to theend user for easy instantiation

Self-ServiceModeling Tool Container

Page 28: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 28

CloudCycle

Offering the deployed CSARs to theend user for easy instantiation

Self-ServiceModeling Tool Container

Page 29: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 29

CloudCycle

Ecosystem Structure & Relations

Modeling Tool

/winery

OpenTOSCA

Container

Self-Service UI

/vinothek

Admin UI

/admin

CSAR

Use container

API

End UserAdmin

Page 30: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 30

CloudCycle

Demo Videos

Demo videos are available athttp://demo.opentosca.org/

Page 31: TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

31

Thank you!

For more information:www.opentosca.org

© IAAS, University of Stuttgart