charity hound - serverless, noops, the tooth fairy

38
Charity Majors @mipsytipsy Serverlessness, NoOps, the Tooth Fairy (and other useful myths)

Upload: serverlessconf

Post on 21-Apr-2017

1.358 views

Category:

Internet


0 download

TRANSCRIPT

Page 1: Charity Hound - Serverless, NoOps, The Tooth Fairy

Charity Majors @mipsytipsy

Serverlessness, NoOps, the Tooth Fairy (and other useful myths)

Page 2: Charity Hound - Serverless, NoOps, The Tooth Fairy

Charity Majors @mipsytipsy

Serverlessness, NoOps, the Tooth Fairy (and other useful myths)

Page 3: Charity Hound - Serverless, NoOps, The Tooth Fairy

“In the Glorious Future, we will be Serverless, and there will be NoOps.”

http://thenewstack.io/serverless-computing-growing-quickly/

~thought leaders

skip #1 and #2, just #1

Page 4: Charity Hound - Serverless, NoOps, The Tooth Fairy

Haha

Page 5: Charity Hound - Serverless, NoOps, The Tooth Fairy

@mipsytipsy engineer, cofounder, CTO

“Doing serverless before it was cool”

Page 6: Charity Hound - Serverless, NoOps, The Tooth Fairy

Operations in a Serverless World: what does it mean, why should you care, when should you serverless?

Page 7: Charity Hound - Serverless, NoOps, The Tooth Fairy

Hosted over a million mobile apps

For hundreds of thousands of developers

Most of whom were shit at ops

Page 8: Charity Hound - Serverless, NoOps, The Tooth Fairy

Services are not magical pixie dust.

Page 9: Charity Hound - Serverless, NoOps, The Tooth Fairy

Services are not magical pixie dust.

In the Glorious Serverless Future, more responsibility for operational quality needs to come from application developers.

Page 10: Charity Hound - Serverless, NoOps, The Tooth Fairy

I’m a software engineer! I will use hosted services

and pay them to do all of my thinking

and caring about operations!!

Page 11: Charity Hound - Serverless, NoOps, The Tooth Fairy

Is my app down? Why are my users complaining?

Everything was working fine yesterday and I didn’t

change anything why is my latency high?

what is query what is index

Page 12: Charity Hound - Serverless, NoOps, The Tooth Fairy
Page 13: Charity Hound - Serverless, NoOps, The Tooth Fairy

What is operations?

Operations is the constellation of your org’s technical skills, practices, and cultural values around designing, building and maintaining systems,

shipping software, and solving problems with technology.

Page 14: Charity Hound - Serverless, NoOps, The Tooth Fairy

“NoOps”

Page 15: Charity Hound - Serverless, NoOps, The Tooth Fairy

Core competencies of operations engineering

1. Scalability 2. Resiliency 3. Availability 4. Maintainability 5. Simplicity in complex systems 6. Instrumentation and visibility 7. Graceful degradation

did i mention the mission? need a summary at the beginning.

Page 16: Charity Hound - Serverless, NoOps, The Tooth Fairy

Serverless operations engineering: best practices, explicit and implicit tradeoffs

see also @patrickdebois’s talk from earlier today!

Page 17: Charity Hound - Serverless, NoOps, The Tooth Fairy

What is your mission?P.S. your mission is not building software

Page 18: Charity Hound - Serverless, NoOps, The Tooth Fairy

What is your mission?

What are your core business differentiators?

These are the riskiest to outsource.

Page 19: Charity Hound - Serverless, NoOps, The Tooth Fairy

Facts:

No one will ever care as much about your product and your problems as much as you do.

No one else is thinking holistically about your systems and their

interdependencies.

Labor can be outsourced. Caring can’t.

Page 20: Charity Hound - Serverless, NoOps, The Tooth Fairy

Own your critical path

• Know your critical path• Guard it, keep it as small as possible• Understand the tech and dependencies of your providers

Page 21: Charity Hound - Serverless, NoOps, The Tooth Fairy

Even when you outsource a problem, you are still responsible for the results.

Page 22: Charity Hound - Serverless, NoOps, The Tooth Fairy

The Glorious Future comes with tradeoffs:

•Less visibility•You can’t fix it yourself, or add a feature•The service will protect itself at your expense•Limits may or may not be disclosed (or known) up front.•Cotenancy is a bitch. Tooling immature.

Page 23: Charity Hound - Serverless, NoOps, The Tooth Fairy

OPP (Other People’s Platforms):

• What is their cotenancy model? • Typical performance variance?• What is your appetite for vendor lock-in?• How transparent are they about service problems?

duplication last slide

Page 24: Charity Hound - Serverless, NoOps, The Tooth Fairy

Data hygiene

• Your data is your responsibility too• Ask about retention and recovery policies• Take offsite backups• Validate restores — if you aren’t testing, you have

Schroedinger’s backups ¯\_( )_/¯• Never sign up for a “mystery” storage system. Black-box

query performance tuning … no.

Page 25: Charity Hound - Serverless, NoOps, The Tooth Fairy

Visibility and debuggability

Don’t monitor your systems using the same platform you’re running on.

Consolidate your metrics, correlating events across platforms is annoying.

If it moves, graph it. Instrument your client, application, queries, everything.

Page 26: Charity Hound - Serverless, NoOps, The Tooth Fairy

Cultivate a team of software engineers who value operational excellence.

** If your mission requires quality services

Page 27: Charity Hound - Serverless, NoOps, The Tooth Fairy

How to level up at ops

• Put software engineers on call for their own services.

• Ask every candidate interview questions about operations and debugging.

• Factor these skills into performance reviews and promotions.

Page 28: Charity Hound - Serverless, NoOps, The Tooth Fairy

Operations skills are not optional for software engineers in 2016. They are not “nice-to-have”,

they are table stakes.

Page 29: Charity Hound - Serverless, NoOps, The Tooth Fairy

The cost and pain of developing software is approximately zero compared to the operational cost of maintaining it over time.

h/t @mcfunley, “choose boring technology”

Page 30: Charity Hound - Serverless, NoOps, The Tooth Fairy

In conclusion …

Page 31: Charity Hound - Serverless, NoOps, The Tooth Fairy

‘Serverless’ developmentis the latest incarnation of very real macro trends:

outsourcing, specialization, and scarce engineering cycles.

Page 32: Charity Hound - Serverless, NoOps, The Tooth Fairy

The center of gravity for applications operations is shifting, from dedicated in-house ops teams to

software engineers who own their services end to end.**

** with a little help from their SaaS friends

Page 33: Charity Hound - Serverless, NoOps, The Tooth Fairy

Systems and operations engineers are increasingly developing services to solve category problems for everyone.

You can rent the world’s best talent. Everybody wins!

Page 34: Charity Hound - Serverless, NoOps, The Tooth Fairy

The shadow side of DevOps: Software engineers need to level up at operations.

Outsource as many ops problems as possible! But own operational excellence for your core differentiators.

Page 35: Charity Hound - Serverless, NoOps, The Tooth Fairy

The world is getting awesomer and more complicated every day.

Enjoy it. Let’s try to keep up. :)

Page 36: Charity Hound - Serverless, NoOps, The Tooth Fairy

with special thanks to:

Caitie McCaffrey (@caitie)

Mark Ferlatte (@ferlatte)

Dan McKinley (@mcfunley)

Page 37: Charity Hound - Serverless, NoOps, The Tooth Fairy

Charity Majors @mipsytipsy

Page 38: Charity Hound - Serverless, NoOps, The Tooth Fairy

Old: “We’ll just hire an ops team once we have scaling problems!”

New: “We’ll just use serverless architecture and do NoOps!”