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

Post on 08-Feb-2017

1178 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

Transcript

Run your Stateless and Stateful Apps in Containers on VMware

infrastructureJonas Rosland - Matt Cowger@jonasrosland - @mcowger

WHY IS THIS INTERESTING?

LET’S START WITH A MONOLITHIC APP

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

HOW DO WE SCALE IT?

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

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

IT’S NOT JUSTALL ABOUT SCALE

BUT ALSO ABOUT SEPARATION OF CONCERN

MICROSERVICES

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

EVERYTHING ISLOOSELY COUPLED

HOW DO WE SCALE THIS?

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

SO HOW DO WE DEPLOY IT?

ONE APPPER PHYSICAL SERVER?

ONE APPPER VIRTUAL MACHINE?

CONTAINERS!

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

ONE FUNCTIONPER CONTAINER

TRADITIONAL SERVERS

OS Kernel

Hardware

App App App App

VIRTUALIZATION

Hypervisor

Hardware

OS OS OS OS

App App App App

CONTAINERS

OS Kernel

Hardware

App App App App

ISOLATION IS KEY

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

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

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

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

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

RUN ANYTHING

RUN ANYWHERE

LET’S TALK ABOUT HOW

DEMO

Apache Mesos

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

DEMO

CLOUD FOUNDRY

DEMO

Project BONNEVILLE

laura.watkins@rackspace.com

DEMO

top related