AWS DevOps Engineer Needed with Terraform Experience

Job ID: 38179342

Budget: $250 – $750 USD

I created a website in NextJS and an API in NestJS. I am trying to deploy them to AWS ECS in a cluster together. The build works for both but not the deploy stage in CodePipeline.

My current setup is to create a PR to make whatever changes I need to make then merge it into main (my production branch). Then AWS CodePipeline picks it up, then the build stage happens, then the deploy stage is supposed to deploy to ECS.

I used terraform to set up ECS and I'm pretty sure it is incorrect and that is why it is not deploying.

The goal is to have 2 separate environments: production and staging (I already have different environment vars in Secrets Manager for prod vs staging). Instead of creating PR's off of main I want to create PR's off of staging. From there I want to merge into staging and then CodePipeline should pick it up, build it, then deploy it to a staging url. After I verify the changed I made in the live staging site I will turn "desired tasks" to 0 in the AWS console so I'm not paying for it anymore and the staging site will go down until I need it again. Then I will merge staging into main (which should probably just be renamed to production). Then CodePipeline should pick it up, build it, and deploy it. Right now I have 2 repos for the main project: 1 for my frontend in NextJS and 1 for my API in NestJS. Each repo should have a staging and production branch. I also have a repo for the terraform code.


For this job I need 3 tasks completed:
1. Fix my terraform repo to align with the project goals
2. Fix GitHub branches to align with the project goals
3. Test the workflow to make sure it aligns with project goals

Since I am a developer I want to learn more about devops so the only other condition is that show me what you are doing to complete the tasks and explain your thought process (to the best of your ability) and try to answer any questions I may have. We can meet on Google Meet to accomplish this.

This job will be $500 upon completion of all tasks.
Related categories: Amazon Web Services Node.js GitHub Amazon ECS Terraform