clouds, containers, and combos193.62.125.70/ciuk-2016/brightcomputing.pdf• docker not suitable for...
TRANSCRIPT
John Corne Pre-Sales Engineer Bright Computing
Clouds, Containers, and Combos: Emerging Delivery Models for HPC
Computing Insight UK, Manchester, 2016
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved.
Agenda
2
• Cluster Workloads
• Containers
• Clouds
• Questions
© 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
© 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
© 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
© 2016 Bright Computing. All rights reserved. 6
Bright Architecture
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 7
Bright Cluster Manager Architecture
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 8
Bright Cluster Manager Architecture
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 9
Bright Cluster Manager Architecture
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 10
Bright Cluster Manager Architecture
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 11
Bright Cluster Manager Architecture
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 12
Bright Cluster Manager Architecture
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 13
Bright Cluster Manager Architecture
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 14
Bright Cluster Manager Architecture
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 15
Bright Cluster Manager Architecture
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 16
Bright Cluster Manager Architecture
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 17
Bright Cluster Manager Architecture
© 2016 Bright Computing. All rights reserved. 18
Cloud Bursting
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 19
Cluster on Demand
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 20
Cluster Extension
© 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
© 2016 Bright Computing. All rights reserved. 22
Containerization
© 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
© 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
© 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
© 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
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved. 27
• John Corne, Pre-sales engineer
• 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
© 2016 Bright Computing. All rights reserved. © 2016 Bright Computing. All rights reserved.