67
CLOUDIFY YOUR BUSINESS Wayne walls cloud evangelist Wednesday, August 21, 13

Cloudify Your Business

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Cloudify Your Business

CLOUDIFY YOUR BUSINESS

Wayne wallscloud evangelist

Wednesday, August 21, 13

Page 2: Cloudify Your Business

Wednesday, August 21, 13

Page 3: Cloudify Your Business

3

Self-Service

Wednesday, August 21, 13

Page 4: Cloudify Your Business

4

On-Demand

Wednesday, August 21, 13

Page 5: Cloudify Your Business

5

Metered

Wednesday, August 21, 13

Page 6: Cloudify Your Business

6

Resource Pooling

Wednesday, August 21, 13

Page 7: Cloudify Your Business

7

Broad Network Access

Wednesday, August 21, 13

Page 8: Cloudify Your Business

NIST SAys...

8

Wednesday, August 21, 13

Page 9: Cloudify Your Business

NIST says...

9

Wednesday, August 21, 13

Page 10: Cloudify Your Business

NIST says...

10

Wednesday, August 21, 13

Page 11: Cloudify Your Business

11

Wednesday, August 21, 13

Page 12: Cloudify Your Business

12

Financial Services Data Analysis & ForecastingMapReduce Data AnalyticsDistributed, Web 2.0 Apps

REVOLUTIONARY

Wednesday, August 21, 13

Page 13: Cloudify Your Business

13

SAPPeopleSoftSharePointSQLHome GrownClient-Server Based

EVOLUTIONARY

Wednesday, August 21, 13

Page 14: Cloudify Your Business

14

Big Promise of Cloud

Wednesday, August 21, 13

Page 15: Cloudify Your Business

15

Scale!

Wednesday, August 21, 13

Page 16: Cloudify Your Business

16

High-Availability vs Service Resiliency

Wednesday, August 21, 13

Page 17: Cloudify Your Business

17

What is HA?

Active/PassiveActive/Active

Wednesday, August 21, 13

Page 18: Cloudify Your Business

18

:Problem:Single Point of Failure

Wednesday, August 21, 13

Page 19: Cloudify Your Business

19

:Solution:MAKE TWO OF ‘EM!

Wednesday, August 21, 13

Page 20: Cloudify Your Business

20

Hammer & Nail Solution

Wednesday, August 21, 13

Page 21: Cloudify Your Business

21

High-Availability has Problems

Wednesday, August 21, 13

Page 22: Cloudify Your Business

22

Fails In Terrible Ways &Doesn’t Really Scale

Wednesday, August 21, 13

Page 23: Cloudify Your Business

23

Two Options to “HA”

Wednesday, August 21, 13

Page 24: Cloudify Your Business

24

Take a non-distributed system and drop HA on top of it

Option #1

Wednesday, August 21, 13

Page 25: Cloudify Your Business

25

NFS

Wednesday, August 21, 13

Page 26: Cloudify Your Business

26

Mean Time Between Failures (MTBF)

Wednesday, August 21, 13

Page 27: Cloudify Your Business

27

Wednesday, August 21, 13

Page 28: Cloudify Your Business

28

Mean Time To Recovery (MTTR)

Wednesday, August 21, 13

Page 29: Cloudify Your Business

29

Expected failures of a traditional HA system are catastrophic

Wednesday, August 21, 13

Page 30: Cloudify Your Business

29

Expected failures of a traditional HA system are catastrophic

Wednesday, August 21, 13

Page 31: Cloudify Your Business

29

Expected failures of a traditional HA system are catastrophic

System not designed to be distributed

Wednesday, August 21, 13

Page 32: Cloudify Your Business

29

Expected failures of a traditional HA system are catastrophic

System not designed to be distributed

Wednesday, August 21, 13

Page 33: Cloudify Your Business

29

Expected failures of a traditional HA system are catastrophic

System not designed to be distributed

Failure forces it to be distributed

Wednesday, August 21, 13

Page 34: Cloudify Your Business

29

Expected failures of a traditional HA system are catastrophic

System not designed to be distributed

Failure forces it to be distributed

Wednesday, August 21, 13

Page 35: Cloudify Your Business

29

Expected failures of a traditional HA system are catastrophic

System not designed to be distributed

Failure forces it to be distributed

Cannot take distributed failure conditions into account

Wednesday, August 21, 13

Page 36: Cloudify Your Business

29

Expected failures of a traditional HA system are catastrophic

System not designed to be distributed

Failure forces it to be distributed

Cannot take distributed failure conditions into account

Wednesday, August 21, 13

Page 37: Cloudify Your Business

29

Expected failures of a traditional HA system are catastrophic

System not designed to be distributed

Failure forces it to be distributed

Cannot take distributed failure conditions into account

Best case scenario: complete failure

Wednesday, August 21, 13

Page 38: Cloudify Your Business

30

Take a distributed system and make the right tradeoffs

Option #2

Wednesday, August 21, 13

Page 39: Cloudify Your Business

31

Service Resiliency

Wednesday, August 21, 13

Page 40: Cloudify Your Business

32

Examples

Wednesday, August 21, 13

Page 41: Cloudify Your Business

33

Percona XtraDBCassandra

Riak

Wednesday, August 21, 13

Page 42: Cloudify Your Business

34

CephGlusterFS

Wednesday, August 21, 13

Page 43: Cloudify Your Business

35

Constant Health Checks

Wednesday, August 21, 13

Page 44: Cloudify Your Business

36

What is in a Running Application?

Wednesday, August 21, 13

Page 45: Cloudify Your Business

37

Availability vs Reliability

Wednesday, August 21, 13

Page 46: Cloudify Your Business

38

Wednesday, August 21, 13

Page 47: Cloudify Your Business

38

Reliability is the likelihood that a given component or system will be functioning when needed as measured over a given period of time.

Wednesday, August 21, 13

Page 48: Cloudify Your Business

38

Reliability is the likelihood that a given component or system will be functioning when needed as measured over a given period of time.

Availability is the percentage of times that a given system will be functioning as required.

Wednesday, August 21, 13

Page 49: Cloudify Your Business

39

Server Service

Wednesday, August 21, 13

Page 50: Cloudify Your Business

40

Hardware does not get a pass...

Wednesday, August 21, 13

Page 51: Cloudify Your Business

41

Think availability from the service layer(s) perspective

Wednesday, August 21, 13

Page 52: Cloudify Your Business

42

Wednesday, August 21, 13

Page 53: Cloudify Your Business

43

Apps in a Cloudy World

Wednesday, August 21, 13

Page 54: Cloudify Your Business

44

Greenfield vs Legacy

Wednesday, August 21, 13

Page 55: Cloudify Your Business

45

Greenfield

Wednesday, August 21, 13

Page 56: Cloudify Your Business

45

Greenfield

1. Focus on the service, not the server

Wednesday, August 21, 13

Page 57: Cloudify Your Business

45

Greenfield

1. Focus on the service, not the server2. Identify & tear apart stateless and stateful parts of your application

Wednesday, August 21, 13

Page 58: Cloudify Your Business

45

Greenfield

1. Focus on the service, not the server2. Identify & tear apart stateless and stateful parts of your application3. Make stateful parts redundant using distributed data stores

Wednesday, August 21, 13

Page 59: Cloudify Your Business

45

Greenfield

1. Focus on the service, not the server2. Identify & tear apart stateless and stateful parts of your application3. Make stateful parts redundant using distributed data stores4. Know the dependencies of your system and the impact of failure

Wednesday, August 21, 13

Page 60: Cloudify Your Business

45

Greenfield

1. Focus on the service, not the server2. Identify & tear apart stateless and stateful parts of your application3. Make stateful parts redundant using distributed data stores4. Know the dependencies of your system and the impact of failure5. Use micro-services to make dependencies explicit

Wednesday, August 21, 13

Page 61: Cloudify Your Business

46

Legacy

Wednesday, August 21, 13

Page 62: Cloudify Your Business

46

Legacy

1. Cloud Instances != server

Wednesday, August 21, 13

Page 63: Cloudify Your Business

46

Legacy

1. Cloud Instances != server2. Plan to reduce mean time to recovery (MTTR)

Wednesday, August 21, 13

Page 64: Cloudify Your Business

46

Legacy

1. Cloud Instances != server2. Plan to reduce mean time to recovery (MTTR)3. "We're HA, we're all good." -> Wrong.

Wednesday, August 21, 13

Page 65: Cloudify Your Business

46

Legacy

1. Cloud Instances != server2. Plan to reduce mean time to recovery (MTTR)3. "We're HA, we're all good." -> Wrong.4. Think about stateful vs stateless parts of your application and work piece by piece

Wednesday, August 21, 13

Page 66: Cloudify Your Business

46

Legacy

1. Cloud Instances != server2. Plan to reduce mean time to recovery (MTTR)3. "We're HA, we're all good." -> Wrong.4. Think about stateful vs stateless parts of your application and work piece by piece5. Be creative about trade-offs:  many apps that run on more than one server have some type of common backend (NFS)

Wednesday, August 21, 13

Page 67: Cloudify Your Business

Thank You!

Wednesday, August 21, 13