Top Banner
Run your Stateless and Stateful Apps in Containers on VMware infrastructure Jonas Rosland - Matt Cowger @jonasrosland - @mcowger
48

VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

Feb 08, 2017

Download

Technology

Jonas Rosland
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

Run your Stateless and Stateful Apps in Containers on VMware

infrastructureJonas Rosland - Matt Cowger@jonasrosland - @mcowger

Page 2: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

WHY IS THIS INTERESTING?

Page 3: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

LET’S START WITH A MONOLITHIC APP

Page 4: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

http://cantina.co/monolithic-architecture-doesnt-scale/

Page 5: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

HOW DO WE SCALE IT?

Page 6: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

http://cantina.co/monolithic-architecture-doesnt-scale/

Page 7: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

http://cantina.co/monolithic-architecture-doesnt-scale/

Page 8: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

IT’S NOT JUSTALL ABOUT SCALE

Page 9: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

BUT ALSO ABOUT SEPARATION OF CONCERN

Page 10: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

MICROSERVICES

Page 11: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

http://cantina.co/monolithic-architecture-doesnt-scale/

Page 12: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

EVERYTHING ISLOOSELY COUPLED

Page 13: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

HOW DO WE SCALE THIS?

Page 14: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

http://cantina.co/monolithic-architecture-doesnt-scale/

Page 15: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

SO HOW DO WE DEPLOY IT?

Page 16: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

ONE APPPER PHYSICAL SERVER?

Page 17: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

ONE APPPER VIRTUAL MACHINE?

Page 18: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

CONTAINERS!

Page 19: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

https://www.flickr.com/photos/gcwest/281385801/

Page 20: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

ONE FUNCTIONPER CONTAINER

Page 21: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

TRADITIONAL SERVERS

OS Kernel

Hardware

App App App App

Page 22: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

VIRTUALIZATION

Hypervisor

Hardware

OS OS OS OS

App App App App

Page 23: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

CONTAINERS

OS Kernel

Hardware

App App App App

Page 24: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

ISOLATION IS KEY

Page 25: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

Python 2.7

JRE 8

NodeJS 0.12.2

Haskell 7.8.4

Go 1.4.2

Rust 1.0.0-beta.3Ruby on Rails 4.2

Page 26: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

Python 2.7

JRE 8

NodeJS 0.12.2

Haskell 7.8.4

Go 1.4.2

Rust 1.0.0-beta.3Ruby on Rails 4.2

Page 27: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

Python 2.7

JRE 8

NodeJS 0.12.2

Haskell 7.8.4

Go 1.4.2

Rust 1.0.0-beta.3Ruby on Rails 4.2

Page 28: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

Python 2.7

JRE 8

NodeJS 0.12.2

Haskell 7.8.4

Go 1.4.2

Rust 1.0.0-beta.3Ruby on Rails 4.2

One host

Page 29: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

Python 2.7

JRE 8

NodeJS 0.12.2

Haskell 7.8.4

Go 1.4.2

Rust 1.0.0-beta.3Ruby on Rails 4.2

Host 2Host 1

Host 3

Host 4

Page 30: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

RUN ANYTHING

Page 31: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

RUN ANYWHERE

Page 32: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

LET’S TALK ABOUT HOW

Page 33: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure
Page 34: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure
Page 35: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure
Page 36: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure
Page 37: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure
Page 38: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

DEMO

Page 39: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

Apache Mesos

Page 40: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

Hadoop, Spark,

Storm etc DockerApp App

Native Long Running

AppDocker

App App

BatchRecurring

jobs(ETL,

Backup)

Mesos SDK(Java, Python, Go etc)

Services REST API(Marathon)

Batch REST API

(Chronos)

Mesos

Server

Server

Server

Server

Server

Server

Server

Server

Server

Server

Page 41: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

DEMO

Page 42: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

CLOUD FOUNDRY

Page 43: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure
Page 44: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

DEMO

Page 45: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

Project BONNEVILLE

Page 47: VMworld 2015 San Francisco - CNA5520 - Run your Stateful and Stateless Apps in Containers on VMware infrastructure

DEMO