WEBVTT
Kind: captions
Language: en

00:00:00.100 --> 00:00:02.333
$ we do "chaos engineering" of course

00:00:02.500 --> 00:00:03.866
$ every terraform apply

00:00:03.866 --> 00:00:05.200
$ is chaos engineering

00:00:16.733 --> 00:00:18.833
$ 15 years ago we had to maintain

00:00:18.833 --> 00:00:19.800
$ a big Java stack

00:00:19.800 --> 00:00:21.700
$ on a big compute cluster

00:00:21.700 --> 00:00:23.000
$ running on big machine,

00:00:23.000 --> 00:00:24.466
$ big data center

00:00:24.466 --> 00:00:26.166
$ with big ops team

00:00:26.200 --> 00:00:27.400
$ Now our backend is

00:00:27.400 --> 00:00:28.666
$ five-line Go function

00:00:28.666 --> 00:00:30.333
$ running on AWS Lambda

00:00:30.333 --> 00:00:31.800
$ Somehow we're paying more

00:00:31.800 --> 00:00:33.866
$ DevOps is asking the question

00:00:33.866 --> 00:00:35.566
$ "What if we bring best practices 

00:00:35.566 --> 00:00:36.733
in software engineering

00:00:36.733 --> 00:00:38.033
$ to infrastructure?"

00:00:38.766 --> 00:00:39.933
$ ...and never answering

00:00:40.033 --> 00:00:41.300
$ DevOps is not job

00:00:41.400 --> 00:00:43.133
$ DevOps is not job!

00:00:43.133 --> 00:00:44.566
$ It's a mindset

00:00:44.600 --> 00:00:48.100
$ Propagating errors in automated ways

00:00:48.233 --> 00:00:49.433
$ DevOps is a mindset

00:00:49.600 --> 00:00:50.233
$ You build it,

00:00:50.233 --> 00:00:50.866
$ you run it

00:00:51.066 --> 00:00:53.366
$ ...now you're bad at building and running it

00:00:53.366 --> 00:00:54.366
$ That's why we have

00:00:54.400 --> 00:00:56.333
$ dedicated DevOps person

00:00:56.333 --> 00:00:57.833
$ and engineering team,

00:00:57.833 --> 00:00:59.733
$ separate platform engineering team,

00:00:59.733 --> 00:01:01.166
$ separate SRE team,

00:01:01.166 --> 00:01:02.566
$ separate on-call team,

00:01:02.566 --> 00:01:04.566
$ separate developer experience team,

00:01:04.566 --> 00:01:06.466
$ separate DevSecOps team...

00:01:06.533 --> 00:01:08.100
$ What happens in the cloud

00:01:08.100 --> 00:01:09.000
$ stays in cloud

00:01:09.000 --> 00:01:10.566
$ because you cannot reproduce

00:01:10.566 --> 00:01:11.500
$ outside of cloud!

00:01:11.566 --> 00:01:12.833
$ Blue-green deploy:

00:01:12.833 --> 00:01:14.266
$ blue is broken,

00:01:14.266 --> 00:01:15.700
$ green is worse

00:01:15.766 --> 00:01:17.266
$ Poly-cloud means

00:01:17.266 --> 00:01:18.166
$ 3 invoices

00:01:18.200 --> 00:01:19.666
$ on 1 S3 bucket

00:01:19.666 --> 00:01:21.600
$ hybrid-cloud means signing in

00:01:21.600 --> 00:01:22.833
$ with Azure AD

00:01:22.833 --> 00:01:23.700
$ to AWS

00:01:23.833 --> 00:01:25.566
$ Most outages are caused by

00:01:25.566 --> 00:01:27.033
$ column shift in YAML file

00:01:27.633 --> 00:01:28.333
$ I did it

00:01:28.333 --> 00:01:31.933
$ 5% percent of our systems is IaC

00:01:32.000 --> 00:01:34.266
$ 95% is infrastructure is

00:01:34.266 --> 00:01:35.233
$ Powerpoint

00:01:35.233 --> 00:01:37.466
$ Cloud is only means to an end

00:01:37.466 --> 00:01:39.466
$ end goal is for cloud vendors 

00:01:39.466 --> 00:01:40.033
$ to get rich

00:01:40.066 --> 00:01:41.833
$ DevOps has huge vocabulary

00:01:41.966 --> 00:01:44.600
$ 28 different words for blame

00:01:44.666 --> 00:01:46.200
$ most of the time

00:01:46.200 --> 00:01:48.800
$ somebody was playing with firewall again

00:01:48.800 --> 00:01:49.666
$ it was me

00:01:49.666 --> 00:01:51.366
$ it's probably DNS

00:01:51.433 --> 00:01:52.133
$ not CSS

00:01:52.133 --> 00:01:54.233
$ it is a probably DNS

00:01:54.533 --> 00:01:55.666
$ maybe it is a DNS

00:01:55.666 --> 00:01:57.800
$  I don't even know who this was

00:01:57.900 --> 00:01:59.866
$ but he has root access somehow

00:01:59.866 --> 00:02:01.500
$ Terraform, edit 3 lines

00:02:01.500 --> 00:02:03.033
$ get 600 line diff

00:02:03.033 --> 00:02:05.366
$ my Terraform file contains 

00:02:05.366 --> 00:02:07.700
$ whole "war and peace" novel

00:02:07.800 --> 00:02:08.666
$ nobody noticed

00:02:08.666 --> 00:02:09.866
$ Of course we have

00:02:09.866 --> 00:02:10.933
$ immutable infra

00:02:10.933 --> 00:02:12.600
$ I only patched three times

00:02:12.600 --> 00:02:13.333
$ every week

00:02:13.466 --> 00:02:15.566
$ I am 1 ArgoCD drift

00:02:15.566 --> 00:02:17.533
$ before losing sanity

00:02:17.533 --> 00:02:18.533
$ and I have seen

00:02:18.533 --> 00:02:20.200
$ this quarter's cloud bill

00:02:20.200 --> 00:02:23.033
$ I have PhD in tracking values.yaml files

00:02:23.033 --> 00:02:25.266
$ All 16 of them

00:02:25.266 --> 00:02:27.100
$ for production

00:02:27.100 --> 00:02:28.366
$ in Europe

00:02:28.533 --> 00:02:30.733
$ some of the infrastructure runs in us-east1

00:02:30.733 --> 00:02:32.566
$ the other in Frankfurt

00:02:32.566 --> 00:02:35.000
$ in case there is political conflict

00:02:35.133 --> 00:02:36.866
$ our policy as code

00:02:37.100 --> 00:02:40.800
$ temporarily disable OPA

00:02:40.800 --> 00:02:41.300
$ temporarily disable OPS.sh

00:02:41.300 --> 00:02:43.600
$ we have gamified feature flag matrix

00:02:44.000 --> 00:02:46.300
$ *minesweeeper*

00:02:46.866 --> 00:02:49.066
$ quick hot fix in Cloud CLI

00:02:49.066 --> 00:02:50.633
$ and then server starts burning

00:02:50.633 --> 00:02:51.633
$ telemetry this

00:02:51.633 --> 00:02:52.566
$ telemetry that

00:02:52.966 --> 00:02:56.133
 $ we pay more for ingress of logs than service uptime

00:02:56.133 --> 00:02:59.600
$ ls -la

00:02:59.600 --> 00:03:00.966
$ kettle not pets

00:03:01.333 --> 00:03:04.100
$ ECR of token expired

00:03:04.500 --> 00:03:06.000
$ Do not let the cloud know

00:03:06.000 --> 00:03:07.100
$ you are in rush

00:03:07.100 --> 00:03:08.800
$ Cloud can smell fear

00:03:08.800 --> 00:03:10.966
$ Every time Prometheus says "up"

00:03:10.966 --> 00:03:13.000
$ I ask up "up compared to what

00:03:13.166 --> 00:03:16.400
$ I like to set Prometheus alert threshold

00:03:16.400 --> 00:03:18.866
$ CPU over 80%

00:03:18.866 --> 00:03:20.933
$ or if moon is in Gemini

00:03:20.933 --> 00:03:22.200
$ Do on-call job?

00:03:22.866 --> 00:03:24.233
$ I'm not crazy

00:03:24.260 --> 00:03:24.666
$ Sure!

00:03:24.666 --> 00:03:26.633
$ Let me drop everything I'm doing

00:03:26.633 --> 00:03:28.066
$ right now to help you!

00:03:28.466 --> 00:03:31.966
$ Notify but don't escalate

00:03:32.000 --> 00:03:32.500
$ to me

00:03:32.500 --> 00:03:33.433
$ Most of the time

00:03:33.433 --> 00:03:35.166
$ I merge Dependabot PRs

00:03:35.166 --> 00:03:36.333
$ nobody asked for

00:03:36.333 --> 00:03:37.866
$ The deployed finished

00:03:37.866 --> 00:03:38.700
$ Look at this

00:03:38.700 --> 00:03:40.166
$ We pushed README

00:03:40.366 --> 00:03:42.766
$ I trust the color green like I trust

00:03:42.766 --> 00:03:43.766
$ terraform apply

00:03:43.766 --> 00:03:45.266
$ that said "no changes"

00:03:45.266 --> 00:03:47.266
$ Terraform state file so big,

00:03:47.266 --> 00:03:49.733
$ our diff opened ticket on itself

00:03:49.733 --> 00:03:53.233
$ HELM chart requires 8 spaces,

00:03:53.333 --> 00:03:55.233
$ but corporate linter rules

00:03:55.233 --> 00:03:56.266
$ only allow 2

00:03:56.366 --> 00:03:58.233
$ We do platform engineering

00:03:58.233 --> 00:03:59.466
$ instead of Heroku

00:03:59.466 --> 00:04:01.466
$ it is just like Heroku but

00:04:01.466 --> 00:04:03.066
$ slower, more expensive and

00:04:03.066 --> 00:04:04.600
$ 2,000 line handbook

00:04:04.600 --> 00:04:06.566
$ Yes, yes, Docker and everything

00:04:06.933 --> 00:04:09.766
$ but we still run Ansible for 30 minutes

00:04:09.766 --> 00:04:11.266
$ We push compute to the edge

00:04:11.266 --> 00:04:12.800
$ to save bandwidth, of course

00:04:12.800 --> 00:04:14.900
$ Now logs are shipped with FedEx

00:04:14.900 --> 00:04:17.233
$ infrastructure-as-code with Pulumi

00:04:17.233 --> 00:04:19.033
$ and then server starts burning!

00:04:19.033 --> 00:04:20.300
$ What is the secret?

00:04:20.966 --> 00:04:22.166
$ Have we not sent the secret? 

00:04:23.566 --> 00:04:24.500
$ git log

00:04:24.500 --> 00:04:25.500
$ It's base64

00:04:25.500 --> 00:04:26.866
$ I can get you easily

00:04:26.900 --> 00:04:27.766
$ Security,

00:04:27.766 --> 00:04:28.466
$ security...

00:04:28.466 --> 00:04:29.766
$ We do not need security,

00:04:29.800 --> 00:04:31.800
$ our SBOM file is 80MB

00:04:32.033 --> 00:04:32.966
$ Which attacker

00:04:32.966 --> 00:04:34.133
$ scrolls that far?

00:04:34.133 --> 00:04:36.066
$ Our secrets rotate so secretly

00:04:36.066 --> 00:04:37.366
$ we don't know which-

00:04:37.366 --> 00:04:38.133
$ secrets all

00:04:38.133 --> 00:04:39.000
$ secrets none

00:04:39.000 --> 00:04:40.400
$ back to secrets all

00:04:40.700 --> 00:04:41.200
$ Ha!

00:04:41.333 --> 00:04:43.533
$ SOC II binder thicker than our codebase

00:04:43.533 --> 00:04:46.533
$ Secret of noOps is hiring 

00:04:46.533 --> 00:04:47.933
$ 3 SysAdmin on-call

00:04:47.933 --> 00:04:48.766
$ for all times

00:04:48.766 --> 00:04:50.233
$ We do everything

00:04:50.233 --> 00:04:52.100
$ noOps, noSql

00:04:52.100 --> 00:04:53.733
$ noOps, noSql, noAccounting

00:04:53.800 --> 00:04:55.166
$ But we have simple,

00:04:55.200 --> 00:04:57.033
$ streamlined pipeline

00:04:57.033 --> 00:04:59.100
$ We have 2 source control systems,

00:04:59.100 --> 00:05:00.666
$ 3 deployment frameworks,

00:05:00.666 --> 00:05:02.933
$ 3+ CI engines,

00:05:02.933 --> 00:05:05.233
$ 2 artifact registries,

00:05:05.233 --> 00:05:05.966
$ 17 CLIs...

00:05:05.966 --> 00:05:06.966
$ Very easy

00:05:06.966 --> 00:05:08.500
$ But you learn all of this on

00:05:08.500 --> 00:05:09.666
$ day 1 of onboarding

00:05:09.666 --> 00:05:11.166
$ It's the best developer experience

00:05:11.600 --> 00:05:12.633
$ only 3 UIs,

00:05:12.900 --> 00:05:13.900
$ 5 SDKs,

00:05:14.300 --> 00:05:17.133
$ understanding how to issue Jira ticket prop-

00:05:17.133 --> 00:05:19.733
$ learning how to close a Jira ticket in time...

00:05:19.733 --> 00:05:21.666
$ It is almost click of a button!

00:05:21.666 --> 00:05:22.833
$ Still nobody knows

00:05:22.833 --> 00:05:23.900
$ state of kube!

00:05:23.900 --> 00:05:26.833
$ I like to give a false sense of security

00:05:26.833 --> 00:05:29.466
$ with load test success in staging

00:05:40.666 --> 00:05:42.600
$ Just adding one tag

00:05:42.600 --> 00:05:44.233
$ Wh-what is going on?

00:05:44.233 --> 00:05:45.833
$ Why is production down!? 

00:05:46.200 --> 00:05:47.833
$ This was not ingress of staging

00:05:47.833 --> 00:05:48.466
$ I configured!

00:05:48.900 --> 00:05:50.100
$ NO NO NO!

00:05:50.133 --> 00:05:51.833
$ So it went straight to prod!

00:05:51.933 --> 00:05:54.600
$ I thought this ingress configuration was unused!

00:05:56.700 --> 00:05:58.100
$ ah nobody will notice today

00:05:58.433 --> 00:05:59.833
$ telemetry is down anyway

00:05:59.833 --> 00:06:01.766
$ If Grafana chart flickered yellow 

00:06:01.766 --> 00:06:03.266
$ while no one was watching...

00:06:03.266 --> 00:06:05.133
$ did latency truly spike?

00:06:05.133 --> 00:06:06.533
$ What is black colour?

00:06:06.533 --> 00:06:08.500
$ What do you mean Grafana down?

00:06:08.500 --> 00:06:10.166
$ Where is Grafana hosted?

00:06:10.766 --> 00:06:12.300
 $ It's probably DNS

