TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

Preview:

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".

Citation preview

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

2

TOSCA Introduction

© 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

© 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

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

CloudCycle

TOSCA Overview

andSpecification for Cloud

Applications

Topology Orchestration

© 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

© 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

© 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)

© 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

© 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

© 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

© 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

© 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)

© 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

© 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

© 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

© 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

© 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)

© 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

20

TOSCA Portability

© 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

© 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

23

OpenTOSCA Ecosystem Overview

Open Source TOSCA Ecosystemwww.opentosca.org

© IAAS, University of Stuttgart

© 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

© 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

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

CloudCycle

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

Self-ServiceModeling Tool Container

© 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

© 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

© 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

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

CloudCycle

Demo Videos

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

31

Thank you!

For more information:www.opentosca.org

© IAAS, University of Stuttgart

Recommended