Git Product home page Git Product logo

terraform-aws-ecs-cd-code-pipeline's Introduction

Terraform Module Name: terraform-aws-ecs-cd-code-pipeline

AWS ECS Continuous Deployment (Blue/Green) with AWS CodePipeline in Terraform.

With this new capability, we can create a new service in AWS Fargate or Amazon ECS that uses CodeDeploy to manage the deployments, testing, and traffic cutover for you. When you make updates to your service, CodeDeploy triggers a deployment. This deployment, in coordination with Amazon ECS, deploys the new version of your service to the green target group, updates the listeners on your load balancer to allow you to test this new version, and performs the cutover if the health checks pass.

General

AWS ECS Continuous Deployment (Blue/Green) with AWS CodePipeline in Terraform This module create following resources in AWS cloud provider..


Prerequisites

This module needs Terraform 0.11.14 or newer. You can download the latest Terraform version from here.

This module deploys aws services details are in respective feature branches.


Features Branches

Below we are able to check the resources that are being created as part of this module call:

From branch : terraform-11/master

  • Code Pipline
  • Code Build
  • Code Deploy
  • VPC
  • S3
  • ECS CLuster (EC2 Model)
  • Auto Scalling Group
  • Launch Template
  • ECS Task Definition
  • ECS Service (nginx)
  • Application Load Balancer

From branch : terrform-12/master (Not yet started)

  • Code Pipline
  • Code Build
  • Code Deploy
  • VPC
  • S3
  • ECS CLuster (EC2 Model)
  • Auto Scalling Group
  • Launch Template
  • ECS Task Definition
  • ECS Service (nginx)
  • Application Load Balancer

Usage

Using this repo

To use this module, add the following call to your code:

git clone https://github.com/nitinda/terraform-aws-ecs-cd-code-pipeline.git?ref=master
cd terraform-aws-ecs-cd-code-pipeline
export GITHUBTOKEN="*********"                      ## GitHub API Token
make plan
make apply

Inputs

The variables required in order for the module to be successfully called from the deployment repository are the following:

Variable Description Type

Outputs

  • alb_dns_name

Diagram

Diagram

Authors

Module maintained by Module maintained by the - Nitin Das

terraform-aws-ecs-cd-code-pipeline's People

Contributors

nitinda avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.