selcukkubur / Github-Action-Terraform-ECS-CI-CD

Complete CI/CD pipeline for the Flaskapp on ECS with Github Actions and Terraform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Complete CI/CD pipeline for the Flaskapp on ECS with Github Actions and Terraform.

Tools Used :

  • Github Actions : Used to automate the CI/CD pipeline which includes stages like, Building image from Dockerfile, tagging it and pushing it to ECR repo and applying Terraform scripts to provision the infrastructure.

  • Terraform Scripts includes, ECS cluster, task definition, SG, iam roles, target group, and ALB.

  • Dockefile = Dockerfile

  • Pipeline Script = flaskapp-pipeline.yml

  • Terraform Configuration Files = terraform_iac

Screenshot

  • ECS Fargate Cluster with Running Task :

Cluster

  • Task Definition :

task-def

  • ECR Repository :

ECR

  • Application LoadBalancer

ALB

  • Access Application on ALB URL :

App

About

Complete CI/CD pipeline for the Flaskapp on ECS with Github Actions and Terraform.


Languages

Language:HCL 89.4%Language:Dockerfile 4.4%Language:Shell 4.2%Language:Python 2.0%