
Devops-ecs-fargate-terraform
jicoing - Jun 11 '21 -
- Dev Community
About
This workshop enables hands-on experience using Terraform with AWS Continuous Integration and Continuous Delivery (CI/CD) tools to deploy workloads to Amazon ECS and AWS Fargate.
Read more: https://devops-ecs-fargate.workshop.aws/en/
Admin role created in IAM

workshop-admin role attached to Cloud9 EC2 instance

AWS managed temporary credentials disabled from Cloud9


Verified IAM role

Download and unzip

Verified terraform path

Text utilities installed

Configured the AWS cli with our current region as default

Setup environmeent variables for account Id

Downloaded workshop resources

Setup SSM parameter store password for DB

Edited terraform.tfvars

Terraform init

Built the infrastructure

ALB

ECS cluster

ECR repository

CodeCommit Repo

CodeBuild Repo

CodePipeline in failed state

Local Git setup

Setting remote repo


Code push to remote repo - pipeline started


ALB address retrieved from Terraform

Pet clinic app viewed from browser with ALB address

Welcome string changed

Changed code pushed to pipeline


Cleanup
All resources terminated.

Bucket deleted
