56
© Copyright 2015 Pivotal. All rights reserved. 1 The Cloud Native Journey Simon Elisha (@simon_elisha) CTO & Director of Field Engineering, A/NZ

The Cloud Native Journey with Simon Elisha

Embed Size (px)

Citation preview

© Copyright 2015 Pivotal. All rights reserved. 1

The Cloud Native JourneySimon Elisha (@simon_elisha)

CTO & Director of Field Engineering, A/NZ

© Copyright 2015 Pivotal. All rights reserved.

My Cloud Native Journey

2

Over 25 years doing this crazy stuff

CLOUD NATIVE LAND

© Copyright 2015 Pivotal. All rights reserved. 3

You can get a cool book about all this…Available to you compliments of Pivotal!

Get the FREE e-book at http://bit.ly/cloud-native-book!

© Copyright 2015 Pivotal. All rights reserved. 4

“Software is Eating the World”

© Copyright 2015 Pivotal. All rights reserved. 5

Gartner predicts that by 2020, 75 percent of application purchases supporting digital business will be "build," not "buy."

http://www.gartner.com/newsroom/id/3119717

© Copyright 2015 Pivotal. All rights reserved. 6

The ability to deliver software is no longer a differentiator.

© Copyright 2015 Pivotal. All rights reserved. 7

It is a basic requirement for survival.

© Copyright 2015 Pivotal. All rights reserved. 8

So what do the Cloud Natives do?

$6B $50B $41B

$25B $33.5B

© Copyright 2015 Pivotal. All rights reserved. 9

SPEED

UBIQUITY*

SCALE

SAFETY

(MOBILE)

© Copyright 2015 Pivotal. All rights reserved. 10

Continuous Delivery

© Copyright 2015 Pivotal. All rights reserved. 11

Delivery Continuous

© Copyright 2015 Pivotal. All rights reserved. 12

Day One Day Two and BeyondDeliver Continuously

© Copyright 2015 Pivotal. All rights reserved. 13

Operations is the Secret Sauce

© Copyright 2015 Pivotal. All rights reserved.

Continuously Delivered Microservices

14

Loosely coupled service oriented architecture with bounded contexts

If every service has to be updated in concert, it’s not loosely coupled!

If you have to know about surrounding services you don’t have a bounded context.

© Copyright 2015 Pivotal. All rights reserved. 15

Without taking steps to ensure fault tolerance, 30 dependencies each with 99.99% uptime would result

in 2+ hours downtime/month (99.99%30 = 99.7% uptime = 2+ hours downtime in a month).

http://techblog.netflix.com/2012/02/fault-tolerance-in-high-volume.html

© Copyright 2015 Pivotal. All rights reserved. 16

Build Reliable Systemsfrom

Unreliable Components

© Copyright 2015 Pivotal. All rights reserved. 17

© Copyright 2015 Pivotal. All rights reserved. 18

© Copyright 2015 Pivotal. All rights reserved.

Microservices The Old Way

19

© Copyright 2015 Pivotal. All rights reserved. 20

Cloud Native is NOT:

Configuring Infrastructure

Orchestrating Containers

Composing Distributed Systems

Supporting Ad-Hoc General Purpose Automation

© Copyright 2015 Pivotal. All rights reserved. 21

https://twitter.com/littleidea/status/626767188653797376

© Copyright 2015 Pivotal. All rights reserved. 22

GREAT JOB PROVISIONING SERVERS THIS YEAR!

…said no CIO ever.

© Copyright 2015 Pivotal. All rights reserved. 23

And they’re not going tosay that about

containers either…

© Copyright 2015 Pivotal. All rights reserved. 24

© Copyright 2015 Pivotal. All rights reserved. 25

© Copyright 2015 Pivotal. All rights reserved. 26

You will try to build your own platform…

It will take ages

It will not be what you want

It will never be done

© Copyright 2015 Pivotal. All rights reserved. 27

I regret to inform you, but…

You’re not that smart.

You’re not different.

You’re not special.

© Copyright 2015 Pivotal. All rights reserved. 28

10:1the ratio of app developers to platform developers

at “web scale” companies

© Copyright 2015 Pivotal. All rights reserved. 29

UNDIFFERENTIATEDHEAVYLIFTING

© Copyright 2015 Pivotal. All rights reserved.

How Does Nature Manage Complexity?

How Does Nature Manage Complexity?

© Copyright 2015 Pivotal. All rights reserved. 31

SIMPLE RULES

COMPLEX BEHAVIOR

EXPLICIT CONTRACTS

COMMODITY COMPONENTS

© Copyright 2015 Pivotal. All rights reserved. 32

© Copyright 2015 Pivotal. All rights reserved. 33

SIMPLE RULES

COMPLEX BEHAVIOR

EXPLICIT CONTRACTS

COMMODITY COMPONENTS

Grab Dirt w/ PheromoneBuild Bridge

Attach to Ant on Edge

1000’s of Ants

Hardwired into Brain

Colonies, Bridges, Rafts

© Copyright 2015 Pivotal. All rights reserved. 34

What if our platformworked this way?

© Copyright 2015 Pivotal. All rights reserved. 35

3-5 Different Server Builds

If your software doesn’t fit into one of these,your software is broken.

Zero Deviation or Customization

© Copyright 2015 Pivotal. All rights reserved. 36

PLATFORMIS

OMAKASE

© Copyright 2015 Pivotal. All rights reserved.

SPRING BOOT

37

OMAKASE TWELVE FACTOR APPS

http://start.spring.io

© Copyright 2015 Pivotal. All rights reserved.

SPRING CLOUD

38

http://cloud.spring.io

https://network.pivotal.io/products/p-spring-cloud-servicesOMAKASE DISTRIBUTED SYSTEMS

© Copyright 2015 Pivotal. All rights reserved.

SPRING CLOUD DATA FLOW

39

OMAKASE BATCH AND STREAM DATA PROCESSING

http://cloud.spring.io/spring-cloud-dataflow

© Copyright 2015 Pivotal. All rights reserved. 40http://spring.io/platform

© Copyright 2015 Pivotal. All rights reserved. 41

PIVOTAL CLOUD FOUNDRY - OMAKASE RUNTIME PLATFORM

© Copyright 2015 Pivotal. All rights reserved.

OMAKASE APPLICATION METRICS

© Copyright 2015 Pivotal. All rights reserved.

OMAKASE CI/CD PIPELINES

© Copyright 2015 Pivotal. All rights reserved. 44

If your software doesn’t fit into this platform, then your software is

probably broken.

© Copyright 2015 Pivotal. All rights reserved. 45

PolyglotProgramming?

© Copyright 2015 Pivotal. All rights reserved. 46

SIMPLE RULES

COMPLEX BEHAVIOR

EXPLICIT CONTRACTS

COMMODITY COMPONENTS

© Copyright 2015 Pivotal. All rights reserved. 47

CONTRACTS

© Copyright 2015 Pivotal. All rights reserved.

Commodity Components?

48

THOUSANDSOF

MICROSERVICES!

© Copyright 2015 Pivotal. All rights reserved. 49

So what does a platform like this allow you to do?

© Copyright 2015 Pivotal. All rights reserved.

#1: Get your head around Conway’s Law.

50

Any organization that designs a system (defined broadly) will produce a design whose structure is a copy of the

organization's communication structure.

Melvyn Conway, 1967

© Copyright 2015 Pivotal. All rights reserved. 51

#2: Invoke the Inverse Conway Maneuver

© Copyright 2015 Pivotal. All rights reserved.

#3: Start Delivering Business Capabilities

52

ProductMgr UX Dev QA DBA Sys

AdminNet

AdminStorageAdmin

BUSINESS CAPABILITY TEAMSBUILDING MICROSERVICES

PLATFORM OPERATIONS TEAM

Adapted from: http://www.slideshare.net/adriancockcroft/goto-berlin

SelfService

API

© Copyright 2015 Pivotal. All rights reserved. 53

But what if I don’t have a platform like this?

Probably going to make some things too complicated/hard…

Probably going to need specialization at multiple levels of your architecture…

Probably going to stay stuck in or rebuild your silos…

© Copyright 2015 Pivotal. All rights reserved. 54

We need the platform to remind us:

We’re not that smart.

We’re not different.

We’re not special.

© Copyright 2015 Pivotal. All rights reserved.

So we can get back to why we’re here…

55

© Copyright 2015 Pivotal. All rights reserved. 56

Game On

http://pivotal.io/cloud-native