- terraform init
- terraform validate
- terraform plan
- terraform apply
this repo contains how to create the ecs,ecr,faragte,alb.
Note: in this terraform , i used provisinor ie Local , so before proceed you have to install
- aws_cli
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
- unzip awscliv2.zip
- sudo ./aws/install
- Docker
- curl https://get.docker.com/ | bash
- sudo systemctl satrt docker
- sudo systemctl enable docker
- sudo systemctl status docker
- sudo usermod -aG Docker ubuntu
- iam_role or user
- attach ecr and ecs full access
--> project file is in /project (contains dockerfile and requried node code) --> if you want to change port number change in main.tf
< all the best >
sudeep y