General overview¶
Archived (pre-2022)
Preserved for reference only -- likely outdated. View original | Last updated: July 2020
The workflow is the following:
- Baking one AMI for all druid services (except zookeeper) with packer which contains:
- druid and related packages
- preconfigured consul-templates
- archive for chef-zero for final deployment on first boot
- Terraform code:
- spotinst groups, load balancers, s3, DNS, aws rds, aws elasticache
- 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