This page is part of my personal knowledge database, that helps me to store and navigate my learnings.
Read on here for details

Deployment Pipeline Practices

Only environments that are setup automatically from code are also manageable and (fast) restorable. Good Deployment Pipeline Practices are:

  1. Create only through automation
    • All environments must be created through automation
    • Environment creation must be available on-demand for anyone that needs (aka developers)
  2. Version Control everything
    • All environment pertaining code / config / artifacts must be in version control
    • Setup of each deployed stage (aka environment) must match production stage setup
  3. Think Cattle, not Pets
    • It is easier to “shoot and replace” (destroy and re-create servers) than “heal” (repair servers)
    • Automated setup infrastructure is magnitudes more resilient than manual