Top Banner
Avoiding Toxic Tech Debt Sad Stories By R Tyler Croy
64

PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Apr 15, 2017

Download

Technology

Puppet
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: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Avoiding Toxic Tech Debt

Sad Stories By R Tyler Croy

Page 2: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.
Page 3: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Welcome to the future

Page 4: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Welcome to the future

Page 5: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

You're an ops now

Page 6: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

You will need independent

infrastructure

Page 7: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Choosing tools

Page 8: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Choosing tools

Page 9: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Tech debt

Page 10: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Tech debt

Page 11: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Tech debt

Page 12: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Automation

Page 13: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Automation

Page 14: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Automation

Page 15: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Security

Page 16: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Managing secrets

Page 17: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Managing secrets

- Certificates

- Signing keys

- API keys / tokens

Page 18: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Managing secrets

- Certificates

- Signing keys

- API keys / tokens

Page 19: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Access control

Page 20: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Access Control

- GitHub Organization

- LDAP

- Artifactory

- Jenkins Matrix Authorization

- SSH keys

Page 21: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Access Control

- *GitHub Organization*

- LDAP

- Artifactory

- Jenkins Matrix Authorization

- SSH keys

Page 22: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Access Control

- GitHub Organization

- *LDAP*

- Artifactory

- Jenkins Matrix Authorization

- SSH keys

Page 23: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Access Control

- GitHub Organization

- LDAP

- *Artifactory*

- Jenkins Matrix Authorization

- SSH keys

Page 24: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Access Control

- GitHub Organization

- LDAP

- Artifactory

- *Jenkins Matrix Authorization*

- SSH keys

Page 25: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Access Control

- GitHub Organization

- LDAP

- Artifactory

- Jenkins Matrix Authorization

- *SSH keys*

Page 26: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Service balkanization

Page 27: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Service balkanization

- Virtual machines

- Jails/chroot

- Containers

Page 28: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Service balkanization

- *Virtual machines*

- Jails/chroot

- Containers

Page 29: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Service balkanization

- Virtual machines

- *Jails/chroot*

- Containers

Page 30: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Service balkanization

- Virtual machines

- Jails/chroot

- *Containers*

Page 31: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Security Lifecycle

Page 32: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Security Lifecycle

- Security advisory lists

- Automation => Easier upgrades

- Don't be dumb

Page 33: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Security Lifecycle

- *Security advisory lists*

- Automation => Easier upgrades

- Don't be dumb

Page 34: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Security Lifecycle

- Security advisory lists

- *Automation => Easier upgrades*

- Don't be dumb

Page 35: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Security Lifecycle

- Security advisory lists

- Automation => Easier upgrades

- *Don't be dumb*

Page 36: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Security

Page 37: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Security

Page 38: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.
Page 39: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Manual work

Page 40: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

"Automatingthis

is hard"

Page 41: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

"Automating this is hard"

- Difficult services

- Custom packaging

- Monitoring

Page 42: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

"Automating this is hard"

- *Difficult services*

- Custom packaging

- Monitoring

Page 43: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

"Automating this is hard"

- Difficult services

- *Custom packaging*

- Monitoring

Page 44: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

"Automating this is hard"

- Difficult services

- Custom packaging

- *Monitoring*

Page 45: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Incident response

Page 46: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Incident response

- Application problems

- Resource exhaustion

- Cache issues

- Insufficient file descriptors

- Log rotation

Page 47: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Incident response

- *Application problems*

- Resource exhaustion

- Cache issues

- Insufficient file descriptors

- Log rotation

Page 48: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Incident response

- Application problems

- *Resource exhaustion*

- Cache issues

- Insufficient file descriptors

- Log rotation

Page 49: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Incident response

- Application problems

- Resource exhaustion

- *Cache issues*

- Insufficient file descriptors

- Log rotation

Page 50: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Incident response

- Application problems

- Resource exhaustion

- Cache issues

- *Insufficient file descriptors*

- Log rotation

Page 51: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Incident response

- Application problems

- Resource exhaustion

- Cache issues

- Insufficient file descriptors

- *Log rotation*

Page 52: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Laziness

Page 53: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Laziness

Page 54: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Manual work

Page 55: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Manual work

Page 56: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.
Page 57: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Derployment

Page 58: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Derployment

- Document deployment processes

- Continuous delivery saves time

Page 59: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Derployment

- *Document deployment processes*

- Continuous delivery saves time

Page 60: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Derployment

- Document deployment processes

- *Continuous delivery saves time*

Page 61: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Derployment

Page 62: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Good luck

Page 63: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Good luck

Page 64: PuppetConf 2016: Avoiding Toxic Technical Debt Derivatives – R. Tyler Croy, CloudBees, Inc.

Go automate