four levels of ha in cloud foundry

22
© 2014

Upload: cornelia-davis

Post on 10-May-2015

635 views

Category:

Software


3 download

DESCRIPTION

Slides from my ignite talk at CF Summit 2014 on the four levels of HA in Cloud Foundry.

TRANSCRIPT

Page 1: Four levels of HA in Cloud Foundry

© 2014

Page 2: Four levels of HA in Cloud Foundry

FOUR LEVELS OF HA IN CLOUD FOUNDRY

Cornelia Davis @cdavisafc [email protected]

Page 3: Four levels of HA in Cloud Foundry

I work on a PaaS…

“For us, PaaS is a set of services aimed at developers that helps them develop and test apps without having to worry about the underlying infrastructure. Developers don't want to have to worry about provisioning the servers, storage and backup associated with developing and launching an app.”

[1] http://www.javaworld.com/article/2078801/java-app-dev/forrester--paas-makes-developers-happy.html[2] http://www.infoworld.com/d/cloud-computing/paas-primer-what-platform-service-and-why-does-it-matter-212696

And I believed ‘em…

Page 4: Four levels of HA in Cloud Foundry

I work on a PaaS…

“For us, PaaS is a set of services aimed at developers that helps them develop and test apps without having to worry about the underlying infrastructure. Developers don't want to have to worry about provisioning the servers, storage and backup associated with developing and launching an app.”

[1] http://www.javaworld.com/article/2078801/java-app-dev/forrester--paas-makes-developers-happy.html[2] http://www.infoworld.com/d/cloud-computing/paas-primer-what-platform-service-and-why-does-it-matter-212696

And I believed ‘em…

… but then I learned otherwise

Page 5: Four levels of HA in Cloud Foundry

Application Instances and Availability Zones

Rout

erDEA

DEA

DEA

Cloud Foundry Elastic Runtime

DEA

DEA

DEA

Zone 1 Zone 2

App Ops

Page 6: Four levels of HA in Cloud Foundry

Application Instances and Availability Zones

Rout

erDEA

DEA

DEA

Cloud Foundry Elastic Runtime

DEA

DEA

DEA

Zone 1 Zone 2 Application instances are evenly distributed over two availability zones.

App Ops

Page 7: Four levels of HA in Cloud Foundry

Application Instances and Availability Zones

Rout

erDEA

DEA

DEA

Cloud Foundry Elastic Runtime

DEA

DEA

DEA

Zone 1 Zone 2 Application instances are evenly distributed over two availability zones.

Loosing an AZ keeps instances running and available.

App Ops

Page 8: Four levels of HA in Cloud Foundry

Rout

er

Failed Application Instances Replaced

BlobstoreCloud Controller

Health Manager

Messaging(NATS)

DEA DEA DEA

App Ops

Cloud Foundry Elastic Runtime

Page 9: Four levels of HA in Cloud Foundry

Rout

er

Failed Application Instances Replaced

BlobstoreCloud Controller

Health Manager

Actual State

Messaging(NATS)

DEA DEA DEA

App Ops

Cloud Foundry Elastic Runtime

Page 10: Four levels of HA in Cloud Foundry

Rout

er

Failed Application Instances Replaced

BlobstoreCloud Controller

Health Manager

Actual StateDesired State

Messaging(NATS)

DEA DEA DEA

App Ops

Cloud Foundry Elastic Runtime

Page 11: Four levels of HA in Cloud Foundry

Rout

er

Failed Application Instances Replaced

BlobstoreCloud Controller

Health Manager

Actual StateDesired State

Messaging(NATS)

DEA DEA DEA

App Ops

Cloud Foundry Elastic Runtime

Page 12: Four levels of HA in Cloud Foundry

Rout

er

Failed Application Instances Replaced

BlobstoreCloud Controller

Health Manager

Actual StateDesired State

Messaging(NATS)

DEA DEA DEA

App Ops

Cloud Foundry Elastic Runtime

Page 13: Four levels of HA in Cloud Foundry

Message Bus

ERS Processes are Monitored

IaaSCloud Foundry BOSH

Health Monitor Health Manager

DEA

Cloud Controller

A

A

A

Responders:

pager

email

monitoring

PaaS Ops

Page 14: Four levels of HA in Cloud Foundry

Message Bus

ERS Processes are Monitored

IaaSCloud Foundry BOSH

Health Monitor Health Manager

DEA

Cloud Controller

A

A

A

Responders:

pager

email

monitoring

PaaS Ops

Page 15: Four levels of HA in Cloud Foundry

Message Bus

ERS Processes are Monitored

IaaSCloud Foundry BOSH

Health Monitor Health Manager

DEA

Cloud Controller

A

A

A

Responders:

pager

email

monitoring

PaaS Ops

Page 16: Four levels of HA in Cloud Foundry

Message Bus

VMs are Monitored

IaaS

Health Monitor Health Manager

Cloud Controller

A

DEA

A

A

Responders:

pager

email

monitoring

resurrector

BOSH Director

Actual State

DEA

A

PaaS Ops

Cloud Foundry BOSH

Page 17: Four levels of HA in Cloud Foundry

Message Bus

VMs are Monitored

IaaS

Health Monitor Health Manager

Cloud Controller

A

DEA

A

A

Responders:

pager

email

monitoring

resurrector

BOSH Director

Actual State

DEA

A

PaaS Ops

Cloud Foundry BOSH

Desired State

Page 18: Four levels of HA in Cloud Foundry

Message Bus

VMs are Monitored

IaaS

Health Monitor Health Manager

Cloud Controller

A

A

Responders:

pager

email

monitoring

resurrector

BOSH Director

Actual StateDesired State

PaaS Ops

Cloud Foundry BOSH

Page 19: Four levels of HA in Cloud Foundry

Message Bus

VMs are Monitored

IaaS

Health Monitor Health Manager

Cloud Controller

A

A

Responders:

pager

email

monitoring

resurrector

BOSH Director (CP

I)Actual StateDesired State

DEA

A

PaaS Ops

Cloud Foundry BOSH

Page 20: Four levels of HA in Cloud Foundry

Four levels of HA in PCF

Elastic Runtime (ERS):

Distribution across availability zones

Application health management and recovery

BOSH (cluster management):

Process monitoring, recovery and alerting

Virtual machine health monitoring, recovery and alerting

Page 21: Four levels of HA in Cloud Foundry

Too slow for you?

How about <28 seconds?

http://blog.gopivotal.com/cloud-foundry-pivotal/products/the-four-levels-of-ha-in-pivotal-cf

Thank You!

@cdavisafc

Page 22: Four levels of HA in Cloud Foundry

© 2014