an approach to support automated deployment of ... · chron jobs calling the other components...

18
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 825480. An Approach to Support Automated Deployment of Applications on Heterogeneous Cloud-HPC Infrastructures Elisabetta Di Nitto, Jesus Gorronogoitia, Indika Kumara, Georgios Meditskos, Dragan Radolovic, Karthee Sivalingamk, and Roman Sosa Gonzlez

Upload: others

Post on 01-Jan-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 825480.

An Approach to Support Automated Deployment of Applications on

Heterogeneous Cloud-HPC InfrastructuresElisabetta Di Nitto, Jesus Gorronogoitia,

Indika Kumara, Georgios Meditskos, Dragan Radolovic, Karthee Sivalingamk,

and Roman Sosa Gonzlez

Page 2: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

The goal is to exploit publicly available images to obtain a wateravailability indicator.

An example of complex application

2

Page 3: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

A closer look - multiple configurations

ML

training

Chron jobs calling the other components through a pipe & filter approach

Stores images

Page 4: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

A closer look - multiple configurations

ML

trainingSkyline

Extractor

360

panorama

generator

Panorama

Alignment

Snow Mask

computation

Snow Index

computation

Data

pro

ce

ssin

g Best on HPC

Best on Cloud, on multiple VMs

Page 5: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

How expensive is for a non-IT intensive company ● to handle the deployment of such application and ● to make the process replicable?

The problem

Page 6: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

The realm of DevOps tools

Page 7: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

Towards standard Infrastructure-as-Code

Infrastructure

Middleware

Application

Host Host Network

Apache Tomcat MySQL

Mod_proxy WAR Schema

➔ An Application Deployment Topology, i.e., “a graph of physical artefacts that need support for several lifecycle phases (e.g., procurement, installation, configuration, deployment, undeployment, teardown, etc.)”

Page 8: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

Towards standard Infrastructure-as-Code

Infrastructure

Middleware

Application

Host Host Network

Apache Tomcat MySQL

Mod_proxy WAR Schema

➔ Infrastructure-as-code, i.e., “a blueprint detailing physical artefacts, all scripts for all lifecycle phases and all artefacts needed for deployment”

IaCBlueprint

IaC MiddlewareScripts (e.g., Chef,Puppet, etc.)

Deploy artefacts (e.g., JARs, etc.)

Referenced in

Included in

Page 9: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

Where Does TOSCA fit into?

Infrastructure

Middleware

Application

Host Host Network

Apache Tomcat MySQL

Mod_proxy WAR Schema

o An application topology

o 3 layerso Infrastructure (Cloud or DC objects)

o Platform or Middleware (App containers)

o Application modules, schemas and configurations

o Relationships between components:o What’s hosted on what or installed on what

o What’s connected to what

Topology and Orchestration Specification for Cloud

Applications (TOSCA) - an OASIS standard

Page 10: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

• Complexity of the specification• If special-purpose resources are used, they need to be specified

as well (this may be difficult for application experts)• Different types of resources often offer different APIs and access

control mechanisms• Sometimes even a different programming style

Issues

Page 11: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

• Smart creation of deployment models through a textual and graphical DSL

• Editing is supported by an ontology-based reasoning mechanism that• Checks the semantic validity of a model

• E.g., it signals a problem if a requirement of a source node is not satisfied by a capability of the target node

• Enables the development of decision making tools, e.g.: • context-aware assistance of user at design-time • model enrichment taking into account domain knowledge

What SODALITE offers

Page 12: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

• Automatic discovery and modeling of new infrastructural resources

What SODALITE offers

Platform Discovery

OpenStack TORQUE

sodalite.nodes.OpenStack.VM:

derived_from: tosca.nodes.Compute

properties:

name:

attributes:

id:

type: string

description: OpenStack id of the VM

private_address:

type: string

description: Private ipv4

….

Page 13: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

Support to design time application optimization for HPC

What SODALITE offers

Page 14: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

• Supports the identification of bug smells in deployment models• Identify potentially advantageous reconfigurations in running

applications

What SODALITE offers

Page 15: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

SODALITE Interim Review 3.9.2020

The SODALITE Deployment

Infrastructure

Infrastructure Manager/

Resource ExpertOperation Manager/

Application Ops ExpertComplex

App

Abstract

Application

Model

Abstract

Resource

Model

TOSCA

blueprint

Blueprint

Optimisation

Application

Optimisation

Optimised

blueprint

Optimised

application

IDESemantic

SuggestionsSemantic

knowledge base

IaC Builder

Deploy

Page 16: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

• Three case studies from three different domains:• A computationally-intensive scientific workflow aiming at simulating

the behavior of a screw-rod fixation bone implant system on virtual patients – Clinical Trial Simulation

• An adaptive system for acquiring and elaborating information from moving vehicles, able to reconfigure based on privacy preferences and rules holding in specific countries – Vehicle IoT

• A system able to collect images concerning mountains and to compute the quantity of snow and, therefore, of water available in the area –Snow

Evaluation

Page 17: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

• SODALITE provides tools to enable simpler and faster development, deployment and execution of heterogeneous apps in HPC, Cloud, Edge, & SW defined computing environments.

• Future works:• Incorporation of edge resources

• Dynamic self-adaptation of application deployments

• Enhancement of the reasoning capabilities to reduce even further the modeling effort by end users

Conclusion

Page 18: An Approach to Support Automated Deployment of ... · Chron jobs calling the other components through a pipe & filter approach Stores images. A closer look - multiple configurations

Questions?