SlideShare a Scribd company logo
TOSCA and OpenTOSCA
Contents:
1. TOSCA Introduction
2. OpenTOSCA Ecosystem Overview
Gefördert durch:

Tobias Binz, Uwe Breitenbücher, Oliver Kopp, Frank Leymann
Förderschwerpunkt:

Projektträger:

www.opentosca.org
TOSCA Introduction

2
OASIS TOSCA

CloudCycle

Topology and Orchestration
Specification for Cloud Applications
Goals:
• Automation of Deployment and Management
• Portability
• Interoperability
• Vendor-neutral Ecosystem

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

3
OASIS TOSCA

CloudCycle

Topology and Orchestration
Specification 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

4
TOSCA Overview

CloudCycle

Topology and Orchestration
Specification for Cloud
Applications

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

5
CloudCycle

TOSCA Overview

Topology
Service Structure

Orchestration
Service Orchestration for
Deployment & Management

WebServer
(Tomcat)

Start VM
OperatingSystem
(Ubuntu 12.04 LTS)

Install
Tomcat

VirtualServer
EC2 (AWS EC2 Server)

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

6
Graphical Example of an Application Topology

CloudCycle

OnlineBookstore
(WAR)

WebServer
(Tomcat)

OperatingSystem
(Ubuntu 12.04 LTS)

VirtualServer
EC2 (AWS EC2 Server)

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

7
Graphical Example of an Application Topology

OnlineBookstore
(WAR)

Node Template

CloudCycle

(hostedOn)

Node Type
WebServer
(Tomcat)

Relationship Template

(hostedOn)
OperatingSystem
(Ubuntu 12.04 LTS)
(hostedOn)

Relationship Type

VirtualServer
EC2 (AWS EC2 Server)

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

8
Properties

CloudCycle

OnlineBookstore
(WAR)

WebServer
(Tomcat)
User: Admin
PW: 7a!7q

Properties

OperatingSystem
(Ubuntu 12.04 LTS)

VirtualServer
EC2 (AWS EC2 Server)
IP: 147.187.2.1

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

9
Deployment Artifacts
OnlineBookstore
(WAR)



bookstore.war

CloudCycle


WebServer
(Tomcat)

Artifacts providing the
node’s functionality
Multiple Deployment
Artifacts possible

Tomcat.zip
Tomcat7 (apt, deb, …)
http://tomcat.apache.org

OperatingSystem
(Ubuntu 12.04 LTS)
Ubuntu.ovf
ami-d0f89fb9t

CustomizedUbuntu.img
© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart

10
Management Operations & Implementation Artifacts
appSpecific

WebServer
(Tomcat)

CloudCycle

OnlineBookstore
(WAR)

start, stop
deployWAR

OperatingSystem installPkg
(Ubuntu 12.04 LTS) execScript

EC2

createVM
VirtualServer
(AWS EC2 Server) terminate

Define management operations
of nodes (and relationships)
 Input & output parameters
and their data types
 Implemented by
Implementation Artifacts
(Web Service, REST-service,
Script, …)
instanceType : String
region : String
accessKey : String
…

Instance ID : String
© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart

11
Capabilities and Requirements I
Application
(WAR)

C

CloudCycle

(hostedOn)

I provide a Linux
Operating System

WebServer
(TomCat)

Requirement
Capability
R
I need to be
hosted on a Linux
Operating System

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

OperatingSystem
(Ubuntu)

12
Capabilities and Requirements II
Application
(WAR)

CloudCycle

(hostedOn)

WebServer
(TomCat)

Requirement

(Tomcat-installedOn-Ubuntu)

Capability
OperatingSystem
(Ubuntu)
© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart

13
CloudCycle

TOSCA Overview

Topology
Service Structure
WebServer
(Tomcat)

OperatingSystem
(Ubuntu 12.04 LTS)

Orchestration
Service Orchestration for
Deployment & Management
Start VM

Install
Tomcat

VirtualServer
EC2 (AWS EC2 Server)

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

14
Two Flavors of Processing


Declarative  What?


CloudCycle



WebServer
(Tomcat)

Example: “I want this, realize it!”
Runtime interprets topology
and does deployment

OperatingSystem
(Ubuntu 12.04 LTS)

VirtualServer
EC2 (AWS EC2 Server)



Imperative  How?



WebServer
(Tomcat)

Example: “First do this, than that.”
Management plan explicitly describes
each step
Start VM

OperatingSystem
(Ubuntu 12.04 LTS)

Install
Tomcat

VirtualServer
EC2 (AWS EC2 Server)

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

15
Declarative vs. Imperative – Discussion

CloudCycle

Imperative Style

Declarative Style

Logic completely
contained in
Application

Logic completely
implemented by
Container

Hybrid Approach

Deployment Flow
Flexibility & Customizability
Ease of Modeling
Low Entry Barrier

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

16
Management Plans Overview
Deployment Logic is implemented by portable Plans

CloudCycle

Install
Tomcat

Deploy
Application

Application
(WAR)
(hostedOn)

2
deploy

WebServer
(TomCat)

1
(hostedOn)

installPkg

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

OperatingSystem
(Ubuntu)

17
Plans


Plans are workflows (BPEL, BPMN, etc.)



CloudCycle











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

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

Types

CloudCycle

OnlineBookstore
(WAR)

Management Plans

X

Type

(hostedOn)
WebServer
(Tomcat)

Properties
Definition

Interfaces

(hostedOn)
Installables

Services

Images

OperatingSystem
(Ubuntu 12.04 LTS)

Scripts

(hostedOn)

EC2

VirtualServer
(AWS EC2 Server)

Deployment Artifacts Implementation Artifacts

Cloud Service Archive (CSAR)
© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart

19
TOSCA Portability

20
Portability Note


CloudCycle





TOSCA deals with portability of Service Templates
Portability of the ingredients of an IT Service
(especially the code artifacts) is not addressed
by 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

21
Why is this portable ?


CloudCycle





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

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

22
OpenTOSCA Ecosystem Overview
Open Source TOSCA Ecosystem
www.opentosca.org
© IAAS, University of Stuttgart

23
Container

Self-Service

CloudCycle

Modeling Tool

Creation and modeling of TOSCA applications, including
graphical modeling of topologies and management plans.
Exported as Cloud Service Archive (CSAR) for TOSCA runtime.
© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart

24
Container

Self-Service

CloudCycle

Modeling Tool

Creation and modeling of TOSCA applications, including
graphical modeling of topologies and management plans.
Exported as Cloud Service Archive (CSAR) for TOSCA runtime.
© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart

25
Container

Self-Service

CloudCycle

Modeling Tool

TOSCA runtime & middleware
Processes CSARs, runs plans, manages state, …
© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart

26
Container

Self-Service

CloudCycle

Modeling Tool

Offering the deployed CSARs to the
end user for easy instantiation
© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart

27
Container

Self-Service

CloudCycle

Modeling Tool

Offering the deployed CSARs to the
end user for easy instantiation
© Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart

28
CloudCycle

Ecosystem Structure & Relations

Admin

Admin UI
/admin

Self-Service UI
/vinothek

End User

Use container
API

Modeling Tool
/winery

CSAR

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

OpenTOSCA
Container

29
CloudCycle

Demo Videos

Demo videos are available at
http://demo.opentosca.org/

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

30
Thank you!
For more information:
www.opentosca.org
© IAAS, University of Stuttgart

31

More Related Content

TOSCA and OpenTOSCA: TOSCA Introduction and OpenTOSCA Ecosystem Overview

  • 1. TOSCA and OpenTOSCA Contents: 1. TOSCA Introduction 2. OpenTOSCA Ecosystem Overview Gefördert durch: Tobias Binz, Uwe Breitenbücher, Oliver Kopp, Frank Leymann Förderschwerpunkt: Projektträger: www.opentosca.org
  • 3. OASIS TOSCA CloudCycle Topology and Orchestration Specification for Cloud Applications Goals: • Automation of Deployment and Management • Portability • Interoperability • Vendor-neutral Ecosystem © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 3
  • 4. OASIS TOSCA CloudCycle Topology and Orchestration Specification 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 4
  • 5. TOSCA Overview CloudCycle Topology and Orchestration Specification for Cloud Applications © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 5
  • 6. CloudCycle TOSCA Overview Topology Service Structure Orchestration Service Orchestration for Deployment & Management WebServer (Tomcat) Start VM OperatingSystem (Ubuntu 12.04 LTS) Install Tomcat VirtualServer EC2 (AWS EC2 Server) © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 6
  • 7. Graphical Example of an Application Topology CloudCycle OnlineBookstore (WAR) WebServer (Tomcat) OperatingSystem (Ubuntu 12.04 LTS) VirtualServer EC2 (AWS EC2 Server) © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 7
  • 8. Graphical Example of an Application Topology OnlineBookstore (WAR) Node Template CloudCycle (hostedOn) Node Type WebServer (Tomcat) Relationship Template (hostedOn) OperatingSystem (Ubuntu 12.04 LTS) (hostedOn) Relationship Type VirtualServer EC2 (AWS EC2 Server) © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 8
  • 9. Properties CloudCycle OnlineBookstore (WAR) WebServer (Tomcat) User: Admin PW: 7a!7q Properties OperatingSystem (Ubuntu 12.04 LTS) VirtualServer EC2 (AWS EC2 Server) IP: 147.187.2.1 © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 9
  • 10. Deployment Artifacts OnlineBookstore (WAR)  bookstore.war CloudCycle  WebServer (Tomcat) Artifacts providing the node’s functionality Multiple Deployment Artifacts possible Tomcat.zip Tomcat7 (apt, deb, …) http://tomcat.apache.org OperatingSystem (Ubuntu 12.04 LTS) Ubuntu.ovf ami-d0f89fb9t CustomizedUbuntu.img © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 10
  • 11. Management Operations & Implementation Artifacts appSpecific WebServer (Tomcat) CloudCycle OnlineBookstore (WAR) start, stop deployWAR OperatingSystem installPkg (Ubuntu 12.04 LTS) execScript EC2 createVM VirtualServer (AWS EC2 Server) terminate Define management operations of nodes (and relationships)  Input & output parameters and their data types  Implemented by Implementation Artifacts (Web Service, REST-service, Script, …) instanceType : String region : String accessKey : String … Instance ID : String © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 11
  • 12. Capabilities and Requirements I Application (WAR) C CloudCycle (hostedOn) I provide a Linux Operating System WebServer (TomCat) Requirement Capability R I need to be hosted on a Linux Operating System © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart OperatingSystem (Ubuntu) 12
  • 13. Capabilities and Requirements II Application (WAR) CloudCycle (hostedOn) WebServer (TomCat) Requirement (Tomcat-installedOn-Ubuntu) Capability OperatingSystem (Ubuntu) © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 13
  • 14. CloudCycle TOSCA Overview Topology Service Structure WebServer (Tomcat) OperatingSystem (Ubuntu 12.04 LTS) Orchestration Service Orchestration for Deployment & Management Start VM Install Tomcat VirtualServer EC2 (AWS EC2 Server) © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 14
  • 15. Two Flavors of Processing  Declarative  What?  CloudCycle  WebServer (Tomcat) Example: “I want this, realize it!” Runtime interprets topology and does deployment OperatingSystem (Ubuntu 12.04 LTS) VirtualServer EC2 (AWS EC2 Server)  Imperative  How?   WebServer (Tomcat) Example: “First do this, than that.” Management plan explicitly describes each step Start VM OperatingSystem (Ubuntu 12.04 LTS) Install Tomcat VirtualServer EC2 (AWS EC2 Server) © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 15
  • 16. Declarative vs. Imperative – Discussion CloudCycle Imperative Style Declarative Style Logic completely contained in Application Logic completely implemented by Container Hybrid Approach Deployment Flow Flexibility & Customizability Ease of Modeling Low Entry Barrier © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 16
  • 17. Management Plans Overview Deployment Logic is implemented by portable Plans CloudCycle Install Tomcat Deploy Application Application (WAR) (hostedOn) 2 deploy WebServer (TomCat) 1 (hostedOn) installPkg © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart OperatingSystem (Ubuntu) 17
  • 18. Plans  Plans are workflows (BPEL, BPMN, etc.)   CloudCycle       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 18
  • 19. What’s contained in an Cloud Service Archive (CSAR)? Topology Templates Types CloudCycle OnlineBookstore (WAR) Management Plans X Type (hostedOn) WebServer (Tomcat) Properties Definition Interfaces (hostedOn) Installables Services Images OperatingSystem (Ubuntu 12.04 LTS) Scripts (hostedOn) EC2 VirtualServer (AWS EC2 Server) Deployment Artifacts Implementation Artifacts Cloud Service Archive (CSAR) © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 19
  • 21. Portability Note  CloudCycle   TOSCA deals with portability of Service Templates Portability of the ingredients of an IT Service (especially the code artifacts) is not addressed by 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 21
  • 22. Why is this portable ?  CloudCycle    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 © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 22
  • 23. OpenTOSCA Ecosystem Overview Open Source TOSCA Ecosystem www.opentosca.org © IAAS, University of Stuttgart 23
  • 24. Container Self-Service CloudCycle Modeling Tool Creation and modeling of TOSCA applications, including graphical modeling of topologies and management plans. Exported as Cloud Service Archive (CSAR) for TOSCA runtime. © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 24
  • 25. Container Self-Service CloudCycle Modeling Tool Creation and modeling of TOSCA applications, including graphical modeling of topologies and management plans. Exported as Cloud Service Archive (CSAR) for TOSCA runtime. © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 25
  • 26. Container Self-Service CloudCycle Modeling Tool TOSCA runtime & middleware Processes CSARs, runs plans, manages state, … © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 26
  • 27. Container Self-Service CloudCycle Modeling Tool Offering the deployed CSARs to the end user for easy instantiation © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 27
  • 28. Container Self-Service CloudCycle Modeling Tool Offering the deployed CSARs to the end user for easy instantiation © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 28
  • 29. CloudCycle Ecosystem Structure & Relations Admin Admin UI /admin Self-Service UI /vinothek End User Use container API Modeling Tool /winery CSAR © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart OpenTOSCA Container 29
  • 30. CloudCycle Demo Videos Demo videos are available at http://demo.opentosca.org/ © Binz, Breitenbücher, Kopp, Leymann | IAAS | University of Stuttgart 30
  • 31. Thank you! For more information: www.opentosca.org © IAAS, University of Stuttgart 31