Top Banner
© 2014
22

Four Levels of High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

Jun 27, 2015

Download

Technology

Pivotal

Cloud Foundry Summit 2014 Lightning Talk delivered by Cornelia Davis Platform Engineer, Cloud Foundry.

Platform as a Service is not just for the developer. It must provide equal or greater value to the application operator as well. The Cloud Foundry PaaS has four levels of HA built in! We explain each of them and show you how, collectively, they do an extraordinary job keeping application instances up and running in the face of failures. Your operators will spend less time on recovery and more time on innovation as a result.
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: Four Levels of High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

© 2014

Page 2: Four Levels of High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

FOUR LEVELS OF HA IN CLOUD FOUNDRY

Cornelia Davis @cdavisafc [email protected]

Page 3: Four Levels of High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

Message Bus

VMs are Monitored

IaaS

Health Monitor Health Manager

Cloud Controller

A

DEA

A

A

Responders:

pager

email

monitoring

resurrector

BOSH Director

Actual StateDesired State

PaaS Ops

Cloud Foundry BOSH

Page 19: Four Levels of High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

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 High Availability in Cloud Foundry (Cloud Foundry Summit 2014)

© 2014