## Ops for Humans ### Infrastructure that makes everyone happy,
not just your vendors Wes Mason [@1stvamp](http://twitter.com/1stvamp)
## Who? - / `@1stvamp` - Senior Site Reliability Engineer @ [npm](https://www.npmjs.com/) - Open source
## Huh?
## Oh, **that** "DevOps" again?
## Let's talk about *infrastructure*
## Yes **that** *infrastructure*
##
## Let's go back to school* for a moment  * May not be a real school
## * Documentation - available, searchable, extensible * Code comments - **EVERYWHERE** * Interactive scripts
(don't forget ``--no-input`` or equivalent)
## Exempli gratia ``` # Postgres instance for AWS to manage # https://www.terraform.io/docs/providers/aws/r/db_instance.html # https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html resource "aws_db_instance" "reporting" { # Allocate 60GiB of storage allocated_storage = 20 storage_type = "gp2" engine = "postgres" # Type of EC2 instance to use # https://aws.amazon.com/ec2/instance-types/ instance_class = "db.t2.small" ```
## Exempli gratia (cont.) ``` $ bin/install.sh $ source bin/activate $ terraform apply $ ansible-playbook playbooks/... ```
## Identify patterns, record as code * Etsy * Netflix * GDS * <insert unicorn here/>
## Identify patterns, discuss, document, communicate
## Don't be *too* DRY
## Structure is it's own documentation ``` $ ls -R .: acl meta search www ./acl: resources.tf ./meta: resources.tf ./search: resources.tf ./www: resources.tf ```
## Code, *maintain*
## **Maintain**
## sys.exit(0) - Slides: [github.com/1stvamp/ops-for-humans](https://github.com/1stvamp/ops-for-humans) - [HumanOps](http://humanops.com/) - DesignOps - Incident Management for IT Operations
## ^D - Jonathan "Joff" Oliver: [about.me/joffie](http://about.me/joffie) - Grab me and say hi `:-)`