Recently I was reached out by an up coming DevOps engineer to help with an AWS setup that includes launching a set of mircroservices into AWS ECS Fargate. I had created the setup in my AWS account and documented it. But that documentation had assumed a certain level of exposure and experience and the actual infrastructure was never brought up. I needed a way to share my setup steps without involving IaC tools like Ansible, Terraform or Pulumi. So I gave a try to awscli and that seem to have solved 90% of the problem.
In this tutorial, I would like to make it a series. We are going to create the same this very infrastructure using the following different methods:
- How to create an ECS Fargate setup from ground up using AWS CLI
- How to create an ECS Fargate setup from ground up using Ansible
- How to create an ECS Fargate setup from ground up using Terraform