HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

26
Package once / Run anywhere Big Data and HPC workloads HPC Knowledge Portal 2015 Tryggvi Larusson CTO & Co-founder GreenQloud

Transcript of HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Page 1: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Package once / Run anywhereBig Data and HPC workloads

HPC Knowledge Portal 2015

Tryggvi Larusson

CTO & Co-founder GreenQloud

Page 2: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

What is GreenQloud?

Hybrid & Private IaaS Cloud

Page 3: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM
Page 4: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Problem:

How to conveniently package, distribute and deploy your

application?

Page 5: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Common pain points today

Regarding any software deployment on Cloud, HPC Clusters or local

environment

• Every environment is slightly different

• OS, Networking, Libraries, Compilers etc.

Page 6: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Solution:

Build all your application dependencies into a binary “docker”

container image

Page 7: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Docker Basics

• Container runtime on Linux

• “Standard” container image format

• Centralized repository of images:

• https://hub.docker.com/

• (like github except for runtimes)

Page 8: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

CoreOS Basics

• Very minimal Linux distribution

• Containing basically the kernel and a few unix utilities

• Main tools:

• systemd for running services

• etcd for clustering hosts together

• fleet for distribution across cluster

• docker for running applications

Page 9: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

“Everything CoreOS is building has been inspired by the way

Google runs its data center infrastructure”

- Alex Polvi, CEO CoreOS

Source: http://www.datacenterknowledge.com/archives/2014/07/16/etcd-secret-sauce-googles-kubernetes-pivotals-cloud-foundry/

Page 10: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Docker Advantages

• Simple Packaging

• Thousands of ready made images

• Low overhead (compared to VMs)

• Portability (Build once run anywhere)

• Composable

• (One step closer to the Lego block dream)

Page 11: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Docker Build:

Dockerfile

FROM ubuntu:14.04

MAINTAINER Tryggvi Larusson <[email protected]>

RUN apt-get update

RUN apt-get -y install mysql-server

EXPOSE 3306

CMD ["/usr/bin/mysqld_safe"]

docker build -t=“mysql” .

Page 12: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Docker Run:

docker run -d -p 3306:3306 mysql

daemonize port mapping container name

Page 13: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Where is this leading us?

Page 14: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

State of the Cloud today

Page 15: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Development of Computing

1960s 1970s 1980s 1990s 2000s 2010s 2020s

Mainframes Minicomputers PCs PCs PCs + ASP Cloud Distributed -Federated

Cloud

Centralized

Closed Source

Centralized

Closed Source

Decentralized

Closed Source

Decentralized

Closed Source

Hybrid

Closed + Open

Source

Centralized

Closed + Open

Source

Decentralized

Open Source

Present

Page 16: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Development of the cloud

PHASE 1

Virtualization

PHASE 2

Cloud

PHASE 3

Hybrid Cloud

PHASE 4

Cloud Federation

Local Datacenters

+ Virtualization Private Cloud

Public Cloud

Private

Cloud

Public

Cloud

Present

Hybrid

Cloud

Page 17: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Future of the cloud

is distributed

Standard application packaging + containers are

the key

Page 18: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Clouds of tomorrow

Page 19: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Key Future Enabling Technologies

for the Distributed Cloud

Page 20: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Demo

Page 21: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Container vs. VMs

Containers are isolated, but

share OS and, where

appropriate, bins/libraries

Page 22: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Source: http://www.infoq.com/news/2014/08/vm-containers-performance

STREAM benchmark 16 SocketsLinpack

STREAM benchmark 1 Socket

Page 23: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Convergence

Local Datacenters

+ Virtualization

Private

Cloud

Public

Cloud

HPC

Clusters

On-

Premise/Big-

Data Clusters

Next-Gen Distributed

Cloud

Page 24: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Run anywhere

KVM VM VMWare VM

Debian Linux

Baremetal Machine

CoreOS Linux

myapp1

myapp2

myapp1

myapp2

myapp1

myapp2

Cloud Instance

myapp1

myapp2

CentOS Linux

Page 25: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Implications for HPC developers/admins

• Freedom of choice

• Have more options in selecting where your workloads actually run - easier to

experiment

• Speed of deployment

• Standard containers make it very easy to automate

• Collaboration

• Easily share your HPC application to others and get feedback

• Build on an HPC app/container somebody already built and improve it

Page 26: HPCKP'20 – 18th to 19th June 2020€¦ · Created Date: 2/9/2015 1:32:32 PM

Thank you!

Questions?

@tryggvil

[email protected]