Skip to content

Instantly share code, notes, and snippets.

@ericflo
Created November 4, 2014 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericflo/90a852b58a6f7fa8fe8b to your computer and use it in GitHub Desktop.
Save ericflo/90a852b58a6f7fa8fe8b to your computer and use it in GitHub Desktop.
Let's say you want to deploy a PostgreSQL database
Let's say you want to deploy a PostgreSQL database
Is it better to?
1) Use Ansible to install and configure PostgreSQL via an Ansible Playbook role
2) Use Ansible, Terraform, or CloudFormation's AWS RDS provisioner to set up a
PostgreSQL RDS instance
3) Use Terraform or Ansible to provision an instance and run shell commands to
install a PostgreSQL docker image
4) Use Packer to set up a machine image that has PostgreSQL installed, and
deploy that using Ansible, Terraform, or CloudFormation
5) Use Docker to pack the entire system (not just the PostgreSQL binary), and
deploy that using Ansible or Terraform
@tomfa
Copy link

tomfa commented Dec 21, 2015

Is there a correct answer to this quiz, or is it in the same category as Is there a purpose to life??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment