Top Banner
devops, microservices and platforms, oh my! Andrew Clay Shafer Senior Director of Techology
98

Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Jul 25, 2015

Download

Technology

Pivotal
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: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

devops, microservices and platforms, oh my!Andrew Clay ShaferSenior Director of Techology

Page 2: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

systems thinking is the new black

Page 3: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

a stone cutter’s quest for nice things

Page 4: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Andrew Clay Shafer

Page 5: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Andrew Clay Shafer

@littleidea

Page 6: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Three Stone Cutters walk into a Pareto Inefficient Nash Equilibrium

Page 7: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!
Page 8: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

start with the conclusion

Page 9: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

devops, platforms, continuous delivery, microservices…

Page 10: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

These things are all one…

Page 11: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

In the beginning…

Page 12: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

not the beginning beginning

Page 13: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

I got a job as a developer…

Page 14: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

I was smart…

Page 15: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

I had no idea what I was doing…

Page 16: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

I was left to my own devices…

Page 17: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

• no experience • no mentors • no testing • no backups • no version control • no automation

¯\_(ツ)_/¯

Page 18: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

a boy, a server and force of will

Page 19: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

it mostly worked

Page 20: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

next stop… grad school

Page 21: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Computational Science

• model bioelectric fields• solve for measurements• visualize• rinse and repeat

Page 22: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

learned a few things

• technical debt•Conway’s Law• subversion• little to no testing

Page 23: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Venture Funded Solutionsin search of problems

Page 24: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Linux ‘server’ in your Pocket

• custom board• 400 MHz PowerPC• 64 MB SDR SDRAM• 512 MB NAND FLASH• USB Powered• biometric auth

Page 25: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Big Vision

• Identity Solution• Policy Based Provisioning• Citrix Desktop• On demand ‘deb’ package• Poison Pill• Mostly Worked

Page 26: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Learned More Things

• Formative• Learned to Computer• Introduced to Agile™• Testing• Project Management• Lord Conway Reigns• Disassociated Identity

Page 27: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

The next chapter

• eCommerce 2.0• J2EE• DIY Square Wheels• Outsourced Ops• Brittle• Expensive

Page 28: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

very clever solutions

Page 29: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Automation…

• write a script for common tasks

• share the scripts around office

• modify the scripts for new task

• hope things works

Page 30: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Typical Day at Work

Page 31: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

the mission begins

Page 32: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

to change the relationship between people and computers

Page 33: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

actually, needed to change the relationship between people and people

Page 34: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!
Page 35: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!
Page 36: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Velocity 2009

Page 37: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!
Page 38: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!
Page 39: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Amazon, a bookstore in Seattle, deploys code to production every 11 seconds…

Page 40: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

–Werner Vogels, CTO Amazon

“The traditional model is that you take your software to the wall that separates development and operations, and throw it over

and then forget about it. Not at Amazon. You build it, you run it. This brings developers into contact with the day-to-day

operation of their software. It also brings them into day-to-day contact with the customer. This customer feedback loop is

essential for improving the quality of the service.”

Page 41: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

everybody looks at Amazon and rushes to copy features

Page 42: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

but the features are superficial

the Amazon advantage is the process and culture

Page 43: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Operations is the secret sauce configuration

Page 44: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Day 2 matters

Page 45: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Principles > Practices >Tools

Page 46: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

let’s rewind that

Page 47: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Software in the beginning

• shipped on physical media

• hard to change after release

• runs on other peoples computers

• have to worry about bugs

• process doesn’t run very long

• no worries about uptime

Page 48: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Software Developer

changes ideas into code

Page 49: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

The Process

• have a good idea!

• request a server

• get a purchase order from supervisor

• wait

• wait

• server arrives

• server gets power and network

• server gets operating system

• start to configure for deploy

Traditional IT

Page 50: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

The System Admin

• keeps systems running

• don’t care about your application

• not paid to care

• other people waiting for their servers

• might have to worry about many other servers

• and email

• and printers

Page 51: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

The shift to services

• the internet changes everything

• runs on other your computers

• can change your computers

• still have to worry about bugs

• process run a long time

• uptime is everything

Page 52: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

bigger, faster, stronger

Page 53: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

But we are an enterprise, we are different, we cannot do this, we have our ways.

Page 54: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

service management? ITIL

Page 55: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

seemed like a good idea

slow everything down

Page 56: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Is moving slow an advantage?

Page 57: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

dev ops

Page 58: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

are misaligned incentives an advantage?

Page 59: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

not how the web was built

competitivedisadvantage

Page 60: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

The Stories We Tell

Page 61: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

configuration management for the masses

Page 62: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

The Process

• have a good idea!

• request a server

• get a server in minutes

• run configuration tools

• everything is up in minutes

Page 63: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Principles > Practices >Tools

Page 64: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Adrian Cockroft - ex-Netflix

What I learned from my time at Netflix.

Page 65: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Netflix Lessons

• Speed wins in the marketplace

• Remove friction from product development

• High trust, low process, no hand-offs between teams

• Freedom and responsibility culture

• Don’t do your own undifferentiated heavy lifting

• use simple patterns automated by tooling

• self service cloud makes impossible things instant

Page 66: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

But we are an enterprise, we do not have the talent to do this.

“But Netflix has a superstar development team, we don’t”

Page 67: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

“Netflix hired them from you, and got out of their way.”

Page 68: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Time

Risk

the impact of batch size

Page 69: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

both faster and safer

Page 70: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!
Page 71: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

–W Edwards Deming

“It is not necessary to change. Survival is not mandatory.”

Page 72: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Netflix built a platform to enable self service deployment

Page 73: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Netflix built a platform to deploy and operate microservices

Page 74: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Netflix built a platform to continuously deliver software

Page 75: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Netflix built a platform that could protect itself from failure

Page 76: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

What Netflix did not do is build a platform for general ad-hoc automation…

Page 77: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

A platform makes promises.

Constraints are the contract that allows the platform to keep promises.

Page 78: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!
Page 79: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Principles > Practices >Tools

Page 80: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

devops refers to the practices and tools that emerge from high performing organizations

Page 81: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

continuous delivery results as a consequence of devops practice

Page 82: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

continuous delivery is not possible with gating and handoffs

Page 83: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

continuous delivery is untenable, if the fixed cost of deployment is high

Page 84: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

microservices describes the first post-cloud, post-devops, post- continuous delivery architecture

Page 85: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

microservices leverage baseline operational capabilities and team dynamics to isolate failure and maximize velocity

Page 86: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

continuously delivered microservices are the natural evolution for services that need to run at scale and be changed frequently

Page 87: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Amazon, Google, Netflix, Flickr, Etsy, WealthFront, Lyft, Uber, Shopzilla, Pied Piper, all built one off platforms to do this

Page 88: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

continous delivery - why devops - how microservices - what

Page 89: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

the solution: a platform

Page 90: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

Do you want to build one?

Page 91: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!
Page 92: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

maybe we can build one together

Page 93: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

The Process

• have a good idea!

• push code to platform

• code is running in seconds

• self service

• self healing

• and they all lived happily ever after

Page 94: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

no one originally set out to do devops, continuous delivery, microservices, or platforms these were natural consequences

don’t fixate on the words, fixate on the outcomes

Page 95: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

This is not the end…

Page 96: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!

mobile, internet of things, big dataeverything is getting bigger and faster

Page 97: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!
Page 98: Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!