A simple EKS deployment utilizing Terraform modules by Anton Babenko is designed to deploy sets of frontend and backend worker nodes across multiple availability zones for fault tolerance. It also includes provisioning of an EFS drive to preserve state.
The concept can be easily extended to include a database in a different VPC, which can be connected using VPC peering, ensuring that the worker nodes have the necessary permissions to access the database.
Additionally, a sample CI/CD pipeline has been demonstrated, which utilizes Packer to generate the latest AMI on each push to the master branch. Remaining code testing can be effectively implemented through GitHub Actions
.
├── docs # Project Documentation
│ └── ...
├── iac # Terraform Config modules
└── README.md
Run the following commands step by step , and it will have a frontend container running.
brew install hashicorp/tap/waypoint
cd src/frontend && waypoint up
cd src/backend && waypoint up
- Terraform EKS Module By Anton Babenko
- Terraform VPC Module By Anton Babenko
- Terraform EFS Module By Anton Babenko
- Creating and Managing Mount Targets
- Managing Applications with Amazon EKS
- Waypoint NodeJs Setup