Auto-scaling deadline- constrained workloads
in containers in the cloud
Jay Jay DesLauriers DesLauriers Research Associate, University of Westminster
Auto-scaling deadline- constrained workloads in containers in - - PowerPoint PPT Presentation
Auto-scaling deadline- constrained workloads in containers in the cloud Jay Jay DesLauriers DesLauriers Research Associate, University of Westminster Project COLA Horizon 2020 33 months Completion September 2019 14
Jay Jay DesLauriers DesLauriers Research Associate, University of Westminster
June 5th 2019 www.project-cola.eu 2
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 731574
June 5th 2019 www.project-cola.eu 3
Capital Expense High Upfront Cost High Maintenance Cost
Pay-as-you-go No Upfront Cost No Maintenance Cost
June 5th 2019 www.project-cola.eu 4
Operating-system virtualisation and application packaging for reusable, portable software
June 5th 2019 www.project-cola.eu 5
Application 1 Application 2 Application N Service 1 Service 2 Service 3 Service 4 Service 5 Baseline resource consumption Variable resource consumption Cloud services Dynamic demand Manually adjusted supply Resource requirements To be replaced by automatically adjusted supply
(auto-scaling)
June 5th 2019 www.project-cola.eu 6
June 5th 2019 www.project-cola.eu 7
cAdvisor Orchestrate VMs Monitor VMs & containers Translates ADT Enforces scaling Orchestrate containers
Occopus
Prometheus Submitter Policy Keeper Kubernetes TOSCA Application Description Template (ADT) Describes application, infrastructure, scaling policies, security policies Export VM/ container metrics Container Runtime
MiCADO MASTER NODE MiCADO WORKER NODE
ML based
Optimiser Node Exporter Docker
June 5th 2019 www.project-cola.eu 8
June 5th 2019 www.project-cola.eu 9
MICADO MASTER ADT: infrastructure and scaling rules MiCADO Submitter Policy Keeper (Scaling logic)
cqueue worker
MICADO WORKER
cqueue worker Jobs
Scale up/ down
R R jQueuer Agent
Jobs
Container and Cloud Orchestrator MICADO
June 5th 2019 www.project-cola.eu 10
MICADO MASTER ADT: infrastructure and scaling rules
End user
MiCADO Submitter Policy Keeper (Scaling logic)
cqueue worker
MICADO WORKER
cqueue worker Jobs
Scale up/ down
jQUEUER MASTER jQueuer Agent
Jobs
experiment .json Container and Cloud Orchestrator MICADO
June 5th 2019 www.project-cola.eu 11
June 5th 2019 www.project-cola.eu 12
June 5th 2019 www.project-cola.eu 13
June 5th 2019 www.project-cola.eu 14
200 jobs
VM 3
Repast 3
1-hour
to complete all jobs VM 4
Repast 4
VM 1
Repast 1
VM 2
Repast 2
VM 5
Repast 5
June 5th 2019 www.project-cola.eu 15
experiment.json
JQueuer Manager
MiCADO Worker 1
JQueuer Agent
Repast 1
MiCADO Master
200 jobs
MiCADO Worker 2
JQueuer Agent
Repast 2
MiCADO Worker n
JQueuer Agent
Repast n 1-hour
deadline
June 5th 2019 www.project-cola.eu 16
Manually Allocated Allocated by MiCADO Manually Allocated Allocated by MiCADO
Manual allocation (baseline) Dynamic allocation (MiCADO)
June 5th 2019 www.project-cola.eu 17
A cloud-agnostic queuing system to support the implementation of deadline-based application execution policies, Future Generation Computer Systems (2019), https://doi.org/10.1016/j.future.2019.05.062
This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 731574 Project Director: Dr. Tamas Kiss, University of Westminster, UK