Skip to content

General overview

Archived (pre-2022)

Preserved for reference only -- likely outdated. View original | Last updated: July 2020

The workflow is the following:

  1. Baking one AMI for all druid services (except zookeeper) with packer which contains:
  2. druid and related packages
  3. preconfigured consul-templates
  4. archive for chef-zero for final deployment on first boot
  5. Terraform code:
  6. spotinst groups, load balancers, s3, DNS, aws rds, aws elasticache
  7. userdata which renders by terraform and is used for creating /var/tmp/chef-cookbooks/attributes.json and then run command chef-client -j /var/tmp/chef-cookbooks/attributes.json