Giter Club home page Giter Club logo

aws-cicd-ecs-demo's Introduction

AWS CI/CD Pipeline For ECS Service Using Fargate

AWS Services used

  • CodeCommit
  • CodeBuild
  • CodePipeline
  • ECR
  • ECS
  • Fargate
  • ALB
  • Cloud9

CI/CD

  • Using CodePipeline and CodeBuild for building Docker image to AWS ECR, and then deploy to ECS Fargate cluster

Steps to trigger CI/CD on your AWS account

  • Deploy Cloudformation to your AWS Account
  • Open Cloud9 IDE, and run this commands:
    • Git Clone this repo git clone https://github.com/samuelbaruffi/aws-cicd-ecs-demo.git
    • Git Clone the CodeCommit Repot git clone <CODE_COMMIT_REPO_HTTPS_ENDPOINT>
    • CD inside the GitHub Repo Folder cd aws-cicd-ecs-demo
    • Copy files from GitHub folder to CodeCommit cp * -a ../PGCC-Demo-Devops/
    • CD inside the CodeCommit Repo Folder cd ../PGCC-Demo-Devops/
    • Add all files to git control git add .
    • Commit all files git commit -am "first commit"
    • Push all files to CodeCommit git push
  • This will trigger CodePipeline to start
  • You should in 5 mins see the changes be applied to your account:
    • Container image built and stored on ECR
    • ECS Fargate service be updated with new ECR image
    • Able to see new ALB endpoint with content

AWS CI/CD Diagram

Diagram

aws-cicd-ecs-demo's People

Contributors

samuelbaruffi avatar

Watchers

 avatar

aws-cicd-ecs-demo's Issues

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.