clouds, containers, and combos193.62.125.70/ciuk-2016/brightcomputing.pdf• docker not suitable for...

28
John Corne Pre-Sales Engineer Bright Computing Clouds, Containers, and Combos: Emerging Delivery Models for HPC Computing Insight UK, Manchester, 2016

Upload: others

Post on 20-May-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

John Corne Pre-Sales Engineer Bright Computing

Clouds, Containers, and Combos: Emerging Delivery Models for HPC

Computing Insight UK, Manchester, 2016

Page 2: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved.

Agenda

2

• Cluster Workloads

• Containers

• Clouds

• Questions

Page 3: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 3

• Manage some compute & storage nodes

• Use batch scheduler to schedule MPI jobs

Life of HPC administrator up until recently

Page 4: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 4

• New types of workload and use-cases for clusters

• Various new ways of hosting workload

Life of HPC administrator today

Page 5: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 5

• Workload types:

• Traditional compute jobs (e.g. MPI, Fortran just won’t go away!)

• Hadoop / Spark / Cassandra (i.e. long running services)

• Deep neural networks (e.g. using DIGITS front end)

• Long running services that need to scale up/down

• Continuous delivery (build/test/deployment automation)

• Hosting dimensions:

• Physical versus virtual machines

• Containerized versus non-containerized

• On-premise versus off-premise (i.e. in public cloud)

Cluster Workloads

Page 6: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. 6

Bright Architecture

Page 7: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 7

Bright Cluster Manager Architecture

Page 8: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 8

Bright Cluster Manager Architecture

Page 9: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 9

Bright Cluster Manager Architecture

Page 10: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 10

Bright Cluster Manager Architecture

Page 11: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 11

Bright Cluster Manager Architecture

Page 12: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 12

Bright Cluster Manager Architecture

Page 13: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 13

Bright Cluster Manager Architecture

Page 14: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 14

Bright Cluster Manager Architecture

Page 15: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 15

Bright Cluster Manager Architecture

Page 16: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 16

Bright Cluster Manager Architecture

Page 17: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 17

Bright Cluster Manager Architecture

Page 18: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. 18

Cloud Bursting

Page 19: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 19

Cluster on Demand

Page 20: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 20

Cluster Extension

Page 21: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 21

Bright Cluster Manager provides:

• Uniformity between cloud and on-premise

• Single workload management system setup

• Auto-scaling of nodes based on workload

• Transparent moving of input/output data

Moving Workload to Cloud

Page 22: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. 22

Containerization

Page 23: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 23

• Containerization: method of running applications in a portable isolated environment

• Relies on Linux kernel features:

• Namespaces (PID, network, IPC, …) for isolation

• cgroups for restricting resource usage

• UnionFS for filesystem overlay

• Container image: root filesystem snapshot which serves as template

• Container: instance of an image (normally active)

• Docker: container engine to manage containers on single host

• Kubernetes: cluster-wide container orchestration tool

Container 101

Page 24: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 24

• Container support since Bright 7.2:

• Docker v1.9

• Kubernetes v1.1.2

• New in Bright 7.3:

• Docker v1.11 (containerd and runC)

• Kubernetes v1.3.0

• Flannel networking integration

• Docker Registry

• Singularity

Containers in Bright

Page 25: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 25

• Dangerous to allow ordinary users to start Docker containers:

• Image poisoning (possibly deliberately by user)

• Root inside of container is root on the network

• Easy to become root on host by mapping host filesystem into container

• Docker not suitable for HPC jobs on multi-user system

• Singularity: allow containers to be used for HPC applications (MPI, Lustre, IB, WLM, …)

• Primary goal: application portability

• Packages up application, dependencies and optionally input data

• Provides some form of isolation but no resource restriction

• Possibilities for cloud bursting

Singularity

Page 26: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 26

Bright Cluster Manager allows HPC workload to be run:

• On-premise, off-premise or hybrid

• Inside containers, or outside containers

• On physical or virtual machines

Conclusion

Page 27: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 27

• John Corne, Pre-sales engineer

[email protected]

• We tweet at @BrigthDevTeam @BrightEMEA and @BrightComputing

• Visit us at brightcomputing.com/products and

brightcomputing.com/product-demo

Q&A and a big Thank You

Page 28: Clouds, Containers, and Combos193.62.125.70/CIUK-2016/BrightComputing.pdf• Docker not suitable for HPC jobs on multi-user system • Singularity: allow containers to be used for

© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved.