Building Cloud-Native Applications in MiCADO - MiCADO webinar No.2/4 - 09/2019

Project COLA
Project COLAProject COLA
Building
Applications
in MiCADO
Jay DesLauriers
University of Westminster
Webinar on MiCADO [26/09/2019]
Agenda
• Introduction
1. Jozsef Kovacs (SZTAKI): What is MiCADO (good for)? [15 mins]
2. James Deslauriers (WMIN): How to develop an application in MiCADO? [15 mins]
• Questions [5 mins]
• Use cases
3. Matt Kendon (Outlandish): Wordpress [10 mins]
4. Amjad Ullah (WMIN): JQueuer [10 mins]
• Questions [5 mins]
9/29/2019 www.project-cola.eu 2
Develop your application...
9/29/2019 www.project-cola.eu 3
Cloud Native
CNCF Cloud Native Definition v1.0
github.com/cncf/toc/blob/master/DEFINITION.md
Cloud native technologies empower
organizations to build and run scalable
applications in modern, dynamic environments
such as public, private, and hybrid clouds.
Containers, service meshes, microservices,
immutable infrastructure, and declarative APIs
exemplify this approach.
9/29/2019 www.project-cola.eu 4
Cloud Native
• Cloud
• Public, private, hybrid
• Microservices
• Service-oriented architecture
• Containers
• “it runs on my machine”
• Scalable
• Elastic response to load
9/29/2019 www.project-cola.eu 5
Cloud
• Directly provision
• with Occopus
• Indirectly
• CloudBroker via Occopus
• Future extension
• with Terraform
• & with Occopus
9/29/2019 www.project-cola.eu 6
Microservices
• Resilient
• Independent of other services
• Declarative APIs
• Inter-container communication
• Stateless
• Less persistent data
9/29/2019 www.project-cola.eu 7
Containers
• Docker containers & Docker images
• In DockerHub & private/custom registries
• Orchestrates with Kubernetes
• Future support for CRI-O
• OCI compliant runtimes (Kata) & OCI images
9/29/2019 www.project-cola.eu 8
Scalable
• Scales based on load
• Default metrics
• CPU / Memory / Network
• Scales to meet performance
• Custom metrics via exporters
• Requests per minute, latency
• Jobs in queue, experiment deadline
9/29/2019 www.project-cola.eu 9
Describe your application...
9/29/2019 www.project-cola.eu 10
MiCADO ADTs
• Application Description Templates
• Written in Oasis Standard TOSCA
• A cloud language in YAML
• www.oasis-open.org/committees/tosca/
• Authored by developers
• Understand application, metrics and scalable components
• Finalised by MiCADO operators
• Provide Compute details for a Cloud Service Provider
9/29/2019 www.project-cola.eu 11
Application Description
• Three sections
• Container Infrastructure
• Containers, volumes, configurations
• Cloud Infrastructure
• Instance size, SSH keys, opened ports, VM image
• Monitoring & Scaling Policy
• Metric collection
• Queries, alerts, thresholds, scaling logic
9/29/2019 www.project-cola.eu 12
Sample App: stressng
• Deliberate load testing of system resources
• launchpad.net/stress-ng
• In container at DockerHub
• lorel/docker-stress-ng
• 2GHz/2GB instance from CloudSigma
• www.cloudsigma.com
• Default metric collectors report CPU usage
• Google cAdvisor (container) / Prometheus Node Exporter (instance)
• Load-based scaling
• Scale up above an upper threshold / scale down below a low threshold
9/29/2019 www.project-cola.eu 13
Container Infrastructure
Describe the container
• Name
• Type (Kubernetes Deployment)
• Properties
• Image (in DockerHub)
• Arguments (options / params)
• Resources (containers per VM)
9/29/2019 www.project-cola.eu 14
Cloud Infrastructure
Describe the cloud instance
• Name
• Type (CloudSigma, Occopus, Small)
• Properties
• Drive Image (VM base image)
• Public SSH Key
• Firewall Policy (open ports)
9/29/2019 www.project-cola.eu 15
Policies
Describe the monitoring policy
• Type
• Properties
Describe the scaling policy
• Type
• Targets (in the ADT)
• Properties
• Constants
• Limits
9/29/2019 www.project-cola.eu 16
Policy Type Definitions
• Referenced in the ADT
• Authored by
policy developers
• Defines
• Alerts (AlertManager)
• Queries (Prometheus)
• Rules (Python)
9/29/2019 www.project-cola.eu 17
Project Director: Dr. Tamas Kiss, University of Westminster, UK
The COLA Project – Cloud Orchestration at the Level of Application (COLA) - receives funding from
the European Union´s Horizon 2020 research and innovation programme under grant agreement No 731574
Questions after the second talk!
https://micado-scale.eu/
Jay DesLauriers
Developer of MiCADO
University of Westminster
9/29/2019 www.project-cola.eu 18
1 of 18

Recommended

Cloud Computing by
Cloud ComputingCloud Computing
Cloud ComputingYong Heui Cho
405 views27 slides
[D2 CAMPUS] tech meet up(Back-end) - Latency Reduction between mobile users a... by
[D2 CAMPUS] tech meet up(Back-end) - Latency Reduction between mobile users a...[D2 CAMPUS] tech meet up(Back-end) - Latency Reduction between mobile users a...
[D2 CAMPUS] tech meet up(Back-end) - Latency Reduction between mobile users a...NAVER D2
505 views44 slides
Cloud Computing Fundamentals by
Cloud Computing FundamentalsCloud Computing Fundamentals
Cloud Computing FundamentalsYong Heui Cho
2.7K views17 slides
OpenNebulaconf2017US: Hybrid clouds dancing with virtual machines by Jordi Gu... by
OpenNebulaconf2017US: Hybrid clouds dancing with virtual machines by Jordi Gu...OpenNebulaconf2017US: Hybrid clouds dancing with virtual machines by Jordi Gu...
OpenNebulaconf2017US: Hybrid clouds dancing with virtual machines by Jordi Gu...OpenNebula Project
222 views36 slides
Citrix Cumulus Case Study Oct. 2014 by
Citrix Cumulus Case Study Oct. 2014Citrix Cumulus Case Study Oct. 2014
Citrix Cumulus Case Study Oct. 2014Citrix
668 views2 slides
K8s At ETHZ, HPC team by
K8s At ETHZ, HPC teamK8s At ETHZ, HPC team
K8s At ETHZ, HPC teamNicolas Kowenski
10 views6 slides

More Related Content

Similar to Building Cloud-Native Applications in MiCADO - MiCADO webinar No.2/4 - 09/2019

What is it (good for)? - MiCADO webinar No.1/4 - 09/2019 by
What is it (good for)? - MiCADO webinar No.1/4 - 09/2019What is it (good for)? - MiCADO webinar No.1/4 - 09/2019
What is it (good for)? - MiCADO webinar No.1/4 - 09/2019Project COLA
109 views13 slides
Microservices Docker Kubernetes Istio Kanban DevOps SRE by
Microservices Docker Kubernetes Istio Kanban DevOps SREMicroservices Docker Kubernetes Istio Kanban DevOps SRE
Microservices Docker Kubernetes Istio Kanban DevOps SREAraf Karsh Hamid
4.2K views173 slides
MiCADOscale presented at EGI conference 2019 by
MiCADOscale presented at EGI conference 2019MiCADOscale presented at EGI conference 2019
MiCADOscale presented at EGI conference 2019Project COLA
89 views18 slides
Survey on cloud simulator by
Survey on cloud simulatorSurvey on cloud simulator
Survey on cloud simulatorHabibur Rahman
31.1K views30 slides
ICC1_Module 1_Fundamentals of Cloud Computing.pptx by
ICC1_Module 1_Fundamentals of Cloud Computing.pptxICC1_Module 1_Fundamentals of Cloud Computing.pptx
ICC1_Module 1_Fundamentals of Cloud Computing.pptxDeepakGour17
86 views106 slides
MiCADO framework by Project COLA by
MiCADO framework by Project COLAMiCADO framework by Project COLA
MiCADO framework by Project COLAProject COLA
132 views2 slides

Similar to Building Cloud-Native Applications in MiCADO - MiCADO webinar No.2/4 - 09/2019(20)

What is it (good for)? - MiCADO webinar No.1/4 - 09/2019 by Project COLA
What is it (good for)? - MiCADO webinar No.1/4 - 09/2019What is it (good for)? - MiCADO webinar No.1/4 - 09/2019
What is it (good for)? - MiCADO webinar No.1/4 - 09/2019
Project COLA109 views
Microservices Docker Kubernetes Istio Kanban DevOps SRE by Araf Karsh Hamid
Microservices Docker Kubernetes Istio Kanban DevOps SREMicroservices Docker Kubernetes Istio Kanban DevOps SRE
Microservices Docker Kubernetes Istio Kanban DevOps SRE
Araf Karsh Hamid4.2K views
MiCADOscale presented at EGI conference 2019 by Project COLA
MiCADOscale presented at EGI conference 2019MiCADOscale presented at EGI conference 2019
MiCADOscale presented at EGI conference 2019
Project COLA89 views
Survey on cloud simulator by Habibur Rahman
Survey on cloud simulatorSurvey on cloud simulator
Survey on cloud simulator
Habibur Rahman31.1K views
ICC1_Module 1_Fundamentals of Cloud Computing.pptx by DeepakGour17
ICC1_Module 1_Fundamentals of Cloud Computing.pptxICC1_Module 1_Fundamentals of Cloud Computing.pptx
ICC1_Module 1_Fundamentals of Cloud Computing.pptx
DeepakGour1786 views
MiCADO framework by Project COLA by Project COLA
MiCADO framework by Project COLAMiCADO framework by Project COLA
MiCADO framework by Project COLA
Project COLA132 views
MiCADO - Auto-scaling Framework for Docker Containers, orchestrated by Kubern... by Project COLA
MiCADO - Auto-scaling Framework for Docker Containers, orchestrated by Kubern...MiCADO - Auto-scaling Framework for Docker Containers, orchestrated by Kubern...
MiCADO - Auto-scaling Framework for Docker Containers, orchestrated by Kubern...
Project COLA344 views
Towards a Cloud Native Big Data Platform using MiCADO by Abdelkhalik Mosa
Towards a Cloud Native Big Data Platform using MiCADOTowards a Cloud Native Big Data Platform using MiCADO
Towards a Cloud Native Big Data Platform using MiCADO
Abdelkhalik Mosa211 views
From chroot to Docker to Kubernetes by Alex Glikson
From chroot to Docker to KubernetesFrom chroot to Docker to Kubernetes
From chroot to Docker to Kubernetes
Alex Glikson488 views
Micro Front-End & Microservices - Plansoft by Miki Lombardi
Micro Front-End & Microservices - PlansoftMicro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - Plansoft
Miki Lombardi1.3K views
Stay productive while slicing up the monolith by Markus Eisele
Stay productive while slicing up the monolithStay productive while slicing up the monolith
Stay productive while slicing up the monolith
Markus Eisele426 views
Lightening the burden of cloud resources administration: from VMs to Functions by EUBrasilCloudFORUM .
Lightening the burden of cloud resources administration: from VMs to FunctionsLightening the burden of cloud resources administration: from VMs to Functions
Lightening the burden of cloud resources administration: from VMs to Functions
Docker - Build, Ship and Run Any App, Anywhere Hollywood edition by Brian Christner
Docker - Build, Ship and Run Any App, Anywhere Hollywood editionDocker - Build, Ship and Run Any App, Anywhere Hollywood edition
Docker - Build, Ship and Run Any App, Anywhere Hollywood edition
Brian Christner3.6K views
Certified Cloud Computing Associate (CCCA) by GICTTraining
Certified Cloud Computing Associate (CCCA)Certified Cloud Computing Associate (CCCA)
Certified Cloud Computing Associate (CCCA)
GICTTraining22 views
Stay productive while slicing up the monolith by Markus Eisele
Stay productive while slicing up the monolithStay productive while slicing up the monolith
Stay productive while slicing up the monolith
Markus Eisele520 views
MOdel-Driven Approach for design and execution of applications on multiple Cl... by Marcos Almeida
MOdel-Driven Approach for design and execution of applications on multiple Cl...MOdel-Driven Approach for design and execution of applications on multiple Cl...
MOdel-Driven Approach for design and execution of applications on multiple Cl...
Marcos Almeida448 views
Enterprise Trends for MongoDB as a Service by MongoDB
Enterprise Trends for MongoDB as a ServiceEnterprise Trends for MongoDB as a Service
Enterprise Trends for MongoDB as a Service
MongoDB1.9K views

More from Project COLA

Rollup MiCADO by Project COLA by
Rollup MiCADO by Project COLARollup MiCADO by Project COLA
Rollup MiCADO by Project COLAProject COLA
41 views1 slide
Scalable WordPress use case - MiCADO webinar No.3/4 - 09/2019 by
Scalable WordPress use case - MiCADO webinar No.3/4 - 09/2019Scalable WordPress use case - MiCADO webinar No.3/4 - 09/2019
Scalable WordPress use case - MiCADO webinar No.3/4 - 09/2019Project COLA
73 views12 slides
Auto-scaling deadline constrained workloads in containers in the cloud by
Auto-scaling deadline constrained workloads in containers in the cloudAuto-scaling deadline constrained workloads in containers in the cloud
Auto-scaling deadline constrained workloads in containers in the cloudProject COLA
63 views17 slides
Project COLA Flyer V2 EN Web by
Project COLA Flyer V2 EN WebProject COLA Flyer V2 EN Web
Project COLA Flyer V2 EN WebProject COLA
930 views2 slides
Project COLA - Project Flyer EN Web by
Project COLA - Project Flyer EN WebProject COLA - Project Flyer EN Web
Project COLA - Project Flyer EN WebProject COLA
251 views2 slides
Project COLA: Use Case to create a scalable application in the cloud based on... by
Project COLA: Use Case to create a scalable application in the cloud based on...Project COLA: Use Case to create a scalable application in the cloud based on...
Project COLA: Use Case to create a scalable application in the cloud based on...Project COLA
572 views26 slides

More from Project COLA(8)

Rollup MiCADO by Project COLA by Project COLA
Rollup MiCADO by Project COLARollup MiCADO by Project COLA
Rollup MiCADO by Project COLA
Project COLA41 views
Scalable WordPress use case - MiCADO webinar No.3/4 - 09/2019 by Project COLA
Scalable WordPress use case - MiCADO webinar No.3/4 - 09/2019Scalable WordPress use case - MiCADO webinar No.3/4 - 09/2019
Scalable WordPress use case - MiCADO webinar No.3/4 - 09/2019
Project COLA73 views
Auto-scaling deadline constrained workloads in containers in the cloud by Project COLA
Auto-scaling deadline constrained workloads in containers in the cloudAuto-scaling deadline constrained workloads in containers in the cloud
Auto-scaling deadline constrained workloads in containers in the cloud
Project COLA63 views
Project COLA Flyer V2 EN Web by Project COLA
Project COLA Flyer V2 EN WebProject COLA Flyer V2 EN Web
Project COLA Flyer V2 EN Web
Project COLA930 views
Project COLA - Project Flyer EN Web by Project COLA
Project COLA - Project Flyer EN WebProject COLA - Project Flyer EN Web
Project COLA - Project Flyer EN Web
Project COLA251 views
Project COLA: Use Case to create a scalable application in the cloud based on... by Project COLA
Project COLA: Use Case to create a scalable application in the cloud based on...Project COLA: Use Case to create a scalable application in the cloud based on...
Project COLA: Use Case to create a scalable application in the cloud based on...
Project COLA572 views
Project COLA - Cloud Orchestration at the Level of Application - Introductio... by Project COLA
Project COLA - Cloud Orchestration at the Level of Application -  Introductio...Project COLA - Cloud Orchestration at the Level of Application -  Introductio...
Project COLA - Cloud Orchestration at the Level of Application - Introductio...
Project COLA222 views
Project COLA - MiCADO Overview by Project COLA
Project COLA - MiCADO OverviewProject COLA - MiCADO Overview
Project COLA - MiCADO Overview
Project COLA117 views

Recently uploaded

Unleash The Monkeys by
Unleash The MonkeysUnleash The Monkeys
Unleash The MonkeysJacob Duijzer
7 views28 slides
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs by
DSD-INT 2023 The Danube Hazardous Substances Model - KovacsDSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
DSD-INT 2023 The Danube Hazardous Substances Model - KovacsDeltares
8 views17 slides
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft... by
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft...DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft...
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft...Deltares
7 views18 slides
Myths and Facts About Hospice Care: Busting Common Misconceptions by
Myths and Facts About Hospice Care: Busting Common MisconceptionsMyths and Facts About Hospice Care: Busting Common Misconceptions
Myths and Facts About Hospice Care: Busting Common MisconceptionsCare Coordinations
5 views1 slide
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... by
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...TomHalpin9
6 views29 slides
MS PowerPoint.pptx by
MS PowerPoint.pptxMS PowerPoint.pptx
MS PowerPoint.pptxLitty Sylus
5 views14 slides

Recently uploaded(20)

DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs by Deltares
DSD-INT 2023 The Danube Hazardous Substances Model - KovacsDSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
Deltares8 views
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft... by Deltares
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft...DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft...
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft...
Deltares7 views
Myths and Facts About Hospice Care: Busting Common Misconceptions by Care Coordinations
Myths and Facts About Hospice Care: Busting Common MisconceptionsMyths and Facts About Hospice Care: Busting Common Misconceptions
Myths and Facts About Hospice Care: Busting Common Misconceptions
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... by TomHalpin9
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
TomHalpin96 views
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI... by Marc Müller
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
Marc Müller37 views
Navigating container technology for enhanced security by Niklas Saari by Metosin Oy
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy14 views
Ports-and-Adapters Architecture for Embedded HMI by Burkhard Stubert
Ports-and-Adapters Architecture for Embedded HMIPorts-and-Adapters Architecture for Embedded HMI
Ports-and-Adapters Architecture for Embedded HMI
Software evolution understanding: Automatic extraction of software identifier... by Ra'Fat Al-Msie'deen
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...
tecnologia18.docx by nosi6702
tecnologia18.docxtecnologia18.docx
tecnologia18.docx
nosi67025 views
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... by Donato Onofri
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Donato Onofri825 views
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J... by Deltares
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
Deltares9 views
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action by Márton Kodok
Gen Apps on Google Cloud PaLM2 and Codey APIs in ActionGen Apps on Google Cloud PaLM2 and Codey APIs in Action
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action
Márton Kodok5 views
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with... by sparkfabrik
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
sparkfabrik5 views
Headless JS UG Presentation.pptx by Jack Spektor
Headless JS UG Presentation.pptxHeadless JS UG Presentation.pptx
Headless JS UG Presentation.pptx
Jack Spektor7 views
Airline Booking Software by SharmiMehta
Airline Booking SoftwareAirline Booking Software
Airline Booking Software
SharmiMehta6 views

Building Cloud-Native Applications in MiCADO - MiCADO webinar No.2/4 - 09/2019

  • 2. Webinar on MiCADO [26/09/2019] Agenda • Introduction 1. Jozsef Kovacs (SZTAKI): What is MiCADO (good for)? [15 mins] 2. James Deslauriers (WMIN): How to develop an application in MiCADO? [15 mins] • Questions [5 mins] • Use cases 3. Matt Kendon (Outlandish): Wordpress [10 mins] 4. Amjad Ullah (WMIN): JQueuer [10 mins] • Questions [5 mins] 9/29/2019 www.project-cola.eu 2
  • 4. Cloud Native CNCF Cloud Native Definition v1.0 github.com/cncf/toc/blob/master/DEFINITION.md Cloud native technologies empower organizations to build and run scalable applications in modern, dynamic environments such as public, private, and hybrid clouds. Containers, service meshes, microservices, immutable infrastructure, and declarative APIs exemplify this approach. 9/29/2019 www.project-cola.eu 4
  • 5. Cloud Native • Cloud • Public, private, hybrid • Microservices • Service-oriented architecture • Containers • “it runs on my machine” • Scalable • Elastic response to load 9/29/2019 www.project-cola.eu 5
  • 6. Cloud • Directly provision • with Occopus • Indirectly • CloudBroker via Occopus • Future extension • with Terraform • & with Occopus 9/29/2019 www.project-cola.eu 6
  • 7. Microservices • Resilient • Independent of other services • Declarative APIs • Inter-container communication • Stateless • Less persistent data 9/29/2019 www.project-cola.eu 7
  • 8. Containers • Docker containers & Docker images • In DockerHub & private/custom registries • Orchestrates with Kubernetes • Future support for CRI-O • OCI compliant runtimes (Kata) & OCI images 9/29/2019 www.project-cola.eu 8
  • 9. Scalable • Scales based on load • Default metrics • CPU / Memory / Network • Scales to meet performance • Custom metrics via exporters • Requests per minute, latency • Jobs in queue, experiment deadline 9/29/2019 www.project-cola.eu 9
  • 10. Describe your application... 9/29/2019 www.project-cola.eu 10
  • 11. MiCADO ADTs • Application Description Templates • Written in Oasis Standard TOSCA • A cloud language in YAML • www.oasis-open.org/committees/tosca/ • Authored by developers • Understand application, metrics and scalable components • Finalised by MiCADO operators • Provide Compute details for a Cloud Service Provider 9/29/2019 www.project-cola.eu 11
  • 12. Application Description • Three sections • Container Infrastructure • Containers, volumes, configurations • Cloud Infrastructure • Instance size, SSH keys, opened ports, VM image • Monitoring & Scaling Policy • Metric collection • Queries, alerts, thresholds, scaling logic 9/29/2019 www.project-cola.eu 12
  • 13. Sample App: stressng • Deliberate load testing of system resources • launchpad.net/stress-ng • In container at DockerHub • lorel/docker-stress-ng • 2GHz/2GB instance from CloudSigma • www.cloudsigma.com • Default metric collectors report CPU usage • Google cAdvisor (container) / Prometheus Node Exporter (instance) • Load-based scaling • Scale up above an upper threshold / scale down below a low threshold 9/29/2019 www.project-cola.eu 13
  • 14. Container Infrastructure Describe the container • Name • Type (Kubernetes Deployment) • Properties • Image (in DockerHub) • Arguments (options / params) • Resources (containers per VM) 9/29/2019 www.project-cola.eu 14
  • 15. Cloud Infrastructure Describe the cloud instance • Name • Type (CloudSigma, Occopus, Small) • Properties • Drive Image (VM base image) • Public SSH Key • Firewall Policy (open ports) 9/29/2019 www.project-cola.eu 15
  • 16. Policies Describe the monitoring policy • Type • Properties Describe the scaling policy • Type • Targets (in the ADT) • Properties • Constants • Limits 9/29/2019 www.project-cola.eu 16
  • 17. Policy Type Definitions • Referenced in the ADT • Authored by policy developers • Defines • Alerts (AlertManager) • Queries (Prometheus) • Rules (Python) 9/29/2019 www.project-cola.eu 17
  • 18. Project Director: Dr. Tamas Kiss, University of Westminster, UK The COLA Project – Cloud Orchestration at the Level of Application (COLA) - receives funding from the European Union´s Horizon 2020 research and innovation programme under grant agreement No 731574 Questions after the second talk! https://micado-scale.eu/ Jay DesLauriers Developer of MiCADO University of Westminster 9/29/2019 www.project-cola.eu 18