For this project, set up a pipeline to deploy a stateless Java Springboot app connected to MongoDB NoSQL database into the DB cluster running on a Fargate node using Terraform with the Kubernetes and Helm Providers.
- MongoDB deployed in DB Cluster (To set MongoDB in the DB cluster, check Project part 5: https://github.com/Ohubabs/DB-Mongo.git).
- Prior knowledge of Terraform, Kubernetes, and Helm, application deployment, charts.
Step 2: Go to “Configuration”, Select “Poll SCM” and Enter the details for your GitHub repo & Jenkinsfile or copy and paste the Jenkinsfile in this repo.
- To enter details for your MongoDB database, edit the var.tf file to fill in the secret in the krillin.tf file.
- If you change the name for the secret with your MongoDB credentials, you must also change it in the values file for the customized helm chart via the spring-mongo.yml file.
- To expose your application with SSL encryption to the internet, you must edit the spring-issuer.yml file with your email, custom URLs for your site with your AWS registered domain name, and your AWS hosted zone ID. In addition, you will need your AWS credentials, which were saved in a secret made during Project Part 1 (ref: https://github.com/Ohubabs/DB-Pipeline.git)