Top Banner
Everyone has a plan until… Automation Evolution While Scaling
49

Everyone has a plan until... Automacon16

Feb 13, 2017

Download

Technology

Pete Cheslock
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: Everyone has a plan until...  Automacon16

Everyone has a plan until…Automation Evolution While Scaling

Page 2: Everyone has a plan until...  Automacon16

@petecheslock

Pete Cheslock @petecheslock

Tech Ops & Support at Threat Stack https://pete.wtf

Page 3: Everyone has a plan until...  Automacon16

@petecheslock

get.threatstack.com/automacon-2016

Page 4: Everyone has a plan until...  Automacon16

@petecheslock

Page 5: Everyone has a plan until...  Automacon16

@petecheslock

Cassandra

Mongodb

PostgreSQL

HadoopElasticsearch

Zookeeper

KafkaRabbitmq

Chef

Puppet

AWS

AzureMySQL

Golang

Python

RubyLOL

Docker

Docker

DockerNode.js

Page 6: Everyone has a plan until...  Automacon16
Page 7: Everyone has a plan until...  Automacon16

@petecheslock

Page 8: Everyone has a plan until...  Automacon16

@petecheslock

Page 9: Everyone has a plan until...  Automacon16

@petecheslock

Page 10: Everyone has a plan until...  Automacon16

@petecheslock

Page 11: Everyone has a plan until...  Automacon16

@petecheslock

Soooooooo……..

Page 12: Everyone has a plan until...  Automacon16

@petecheslock

Ummmmm……..

Page 13: Everyone has a plan until...  Automacon16

@petecheslock

Page 14: Everyone has a plan until...  Automacon16

@petecheslock

Now Launch

Page 15: Everyone has a plan until...  Automacon16

@petecheslock

Page 16: Everyone has a plan until...  Automacon16

@petecheslock

Page 17: Everyone has a plan until...  Automacon16

@petecheslock

Page 18: Everyone has a plan until...  Automacon16

@petecheslock

Page 19: Everyone has a plan until...  Automacon16

@petecheslock

Page 20: Everyone has a plan until...  Automacon16

@petecheslock

PREMATURE OPTIMIZATION IS THE

ROOT OF ALL EVIL

Page 21: Everyone has a plan until...  Automacon16

@petecheslock

Its just a DNS change

Page 22: Everyone has a plan until...  Automacon16

@petecheslock

Commit to master couple min elapsed 😭=+

Commit to master target canary nodes 😃=+

sign & release to repo

Page 23: Everyone has a plan until...  Automacon16

@petecheslock

Page 24: Everyone has a plan until...  Automacon16

@petecheslock

Page 25: Everyone has a plan until...  Automacon16

@petecheslock

Page 26: Everyone has a plan until...  Automacon16

@petecheslock

\

Page 27: Everyone has a plan until...  Automacon16

@petecheslock

# knife ec2 server create < 8 billion args>

Page 28: Everyone has a plan until...  Automacon16

@petecheslock

But what about your AWS bits?

Page 29: Everyone has a plan until...  Automacon16

@petecheslock

Page 30: Everyone has a plan until...  Automacon16

@petecheslock

Page 31: Everyone has a plan until...  Automacon16

@petecheslock

Page 32: Everyone has a plan until...  Automacon16

@petecheslock

Page 33: Everyone has a plan until...  Automacon16

@petecheslock

!!!!

Page 34: Everyone has a plan until...  Automacon16

@petecheslock

Page 35: Everyone has a plan until...  Automacon16

@petecheslock

# knife ec2 server create <args>

# sfn create ntp-server

Page 36: Everyone has a plan until...  Automacon16
Page 37: Everyone has a plan until...  Automacon16

@petecheslock

Its YAML now!https://aws.amazon.com/blogs/aws/aws-cloudformation-update-yaml-cross-stack-

references-simplified-substitution/

Page 38: Everyone has a plan until...  Automacon16
Page 39: Everyone has a plan until...  Automacon16

@petecheslock

Page 40: Everyone has a plan until...  Automacon16

@petecheslock

Did this work?

• I was paged (PD actually called my phone) 2 (two) times while on call.

• One time was 4pm (fixed during business hours)

• One time was 7:30pm (logged in to fix a known issue)

• In the first 6 months post launch - avg was once every other night.

Page 41: Everyone has a plan until...  Automacon16

@petecheslock

Did this work?

• I was paged (PD actually called my phone) 2 (two) times while on call.

• One time was 4pm (fixed during business hours)

• One time was 7:30pm (logged in to fix a known issue)

• In the first 6 months post launch - avg was once every other night.

Page 42: Everyone has a plan until...  Automacon16

@petecheslock

• We are currently ingesting over 100,000 events per second

• Represents a total ingest rate of about 10 TB of raw events PER DAY

• Sales hasn’t stopped selling.

• The diameter and the pressure of the firehose continues to grow

Page 43: Everyone has a plan until...  Automacon16

@petecheslock

Its OK to hate your stack

Page 44: Everyone has a plan until...  Automacon16

@petecheslock

There are two types of tools

The ones I don’t like

The ones I haven’t used yet

Page 45: Everyone has a plan until...  Automacon16

@petecheslock

Stop comparing your environment to others

Page 46: Everyone has a plan until...  Automacon16

@petecheslock

Everything CAN and WILL change

Page 47: Everyone has a plan until...  Automacon16

@petecheslock

Continuous Improvement is still a thing.

Page 48: Everyone has a plan until...  Automacon16

@petecheslock

And that’s OK

Page 49: Everyone has a plan until...  Automacon16

Thank You!

get.threatstack.com/automacon-2016