DEV Community

Cover image for Devops-ecs-fargate-terraform
jicoing
jicoing

Posted on • Edited on

Devops-ecs-fargate-terraform

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

Alt Text

workshop-admin role attached to Cloud9 EC2 instance

Alt Text

AWS managed temporary credentials disabled from Cloud9

Alt Text

Alt Text

Verified IAM role

Alt Text

Download and unzip

Alt Text

Verified terraform path

Alt Text

Text utilities installed

Alt Text

Configured the AWS cli with our current region as default

Alt Text

Setup environmeent variables for account Id

Alt Text

Downloaded workshop resources

Alt Text

Setup SSM parameter store password for DB

Alt Text

Edited terraform.tfvars

Alt Text

Terraform init

Alt Text

Built the infrastructure

Alt Text

ALB

Alt Text

ECS cluster

Alt Text

ECR repository

Alt Text

CodeCommit Repo

Alt Text

CodeBuild Repo

Alt Text

CodePipeline in failed state

Alt Text

Local Git setup

Alt Text

Setting remote repo

Alt Text

Alt Text

Code push to remote repo - pipeline started

Alt Text

Alt Text

ALB address retrieved from Terraform

Alt Text

Pet clinic app viewed from browser with ALB address

Alt Text

Welcome string changed

Alt Text

Changed code pushed to pipeline

Alt Text

Alt Text

Cleanup

All resources terminated.
Alt Text

Bucket deleted

Alt Text

Top comments (0)