Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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. Ja...
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 emp...
Cloud Native
• Cloud
• Public, private, hybrid
• Microservices
• Service-oriented architecture
• Containers
• “it runs on ...
Cloud
• Directly provision
• with Occopus
• Indirectly
• CloudBroker via Occopus
• Future extension
• with Terraform
• & w...
Microservices
• Resilient
• Independent of other services
• Declarative APIs
• Inter-container communication
• Stateless
•...
Containers
• Docker containers & Docker images
• In DockerHub & private/custom registries
• Orchestrates with Kubernetes
•...
Scalable
• Scales based on load
• Default metrics
• CPU / Memory / Network
• Scales to meet performance
• Custom metrics v...
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-o...
Application Description
• Three sections
• Container Infrastructure
• Containers, volumes, configurations
• Cloud Infrastr...
Sample App: stressng
• Deliberate load testing of system resources
• launchpad.net/stress-ng
• In container at DockerHub
•...
Container Infrastructure
Describe the container
• Name
• Type (Kubernetes Deployment)
• Properties
• Image (in DockerHub)
...
Cloud Infrastructure
Describe the cloud instance
• Name
• Type (CloudSigma, Occopus, Small)
• Properties
• Drive Image (VM...
Policies
Describe the monitoring policy
• Type
• Properties
Describe the scaling policy
• Type
• Targets (in the ADT)
• Pr...
Policy Type Definitions
• Referenced in the ADT
• Authored by
policy developers
• Defines
• Alerts (AlertManager)
• Querie...
Project Director: Dr. Tamas Kiss, University of Westminster, UK
The COLA Project – Cloud Orchestration at the Level of App...
You’ve finished this document.
Download and read it offline.
Upcoming SlideShare
What to Upload to SlideShare
Next
Upcoming SlideShare
What to Upload to SlideShare
Next
Download to read offline and view in fullscreen.

Share

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

Download to read offline

2/4 Webinar: How to Automate Deployment and Orchestration of Application (MiCADO introduction)

This part of the webinar provides information on how to develop cloud-native applications in MiCADO. It was presented by Jay DesLauriers (University of Westminster). The webinar took place on the 26th of September 2019. If you would like to have more information visit: https://micado-scale.eu

MiCADO is open-source and a highly customisable multi-cloud orchestration and auto-scaling framework for Docker containers, orchestrated by Kubernetes.

Developed by Project COLA funded by the European Commission (grant agreement no: 731574). https://project-cola.eu

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all
  • Be the first to like this

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

  1. 1. Building Applications in MiCADO Jay DesLauriers University of Westminster
  2. 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
  3. 3. Develop your application... 9/29/2019 www.project-cola.eu 3
  4. 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. 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. 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. 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. 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. 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. 10. Describe your application... 9/29/2019 www.project-cola.eu 10
  11. 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. 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. 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. 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. 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. 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. 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. 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

2/4 Webinar: How to Automate Deployment and Orchestration of Application (MiCADO introduction) This part of the webinar provides information on how to develop cloud-native applications in MiCADO. It was presented by Jay DesLauriers (University of Westminster). The webinar took place on the 26th of September 2019. If you would like to have more information visit: https://micado-scale.eu MiCADO is open-source and a highly customisable multi-cloud orchestration and auto-scaling framework for Docker containers, orchestrated by Kubernetes. Developed by Project COLA funded by the European Commission (grant agreement no: 731574). https://project-cola.eu

Views

Total views

95

On Slideshare

0

From embeds

0

Number of embeds

5

Actions

Downloads

1

Shares

0

Comments

0

Likes

0

×