This Pipeline automates 3tier node app. "WEB --> API --> RDS". All build is deployed without downtime.
This does the following things:
- Creates AMI using packer
- Configuration Management using ansible
- Deployment using terraform which includes following resources:
- ASG and ALB for API & WEB
- S3 Bucket for logs using cron
- RDS
- Cloudfront
Terraform is configured in a way that when a new build is made, a new AMI is created and New ASG and LC is created without downtime. i.e. new one is first created and then older one is destroyed.