samiamoura / pipeline-aws

This is node.js application deployed in AWS ECS with Docker and CodePipeline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pipeline CI/CD with full AWS environment

Build status badge

Build Status

Tools

  • Docker
  • AWS CodePipeline
  • AWS CodeCommit
  • AWS Elastic Container Registry
  • AWS Elastic Container Service
    • Clutser
    • Service
    • Task

Project

The objective of this project is to deploy nodejs application using Docker engine and multiple AWS serivices.

Files

  • Application Source code is stored in app folder
  • Dockerfile is multiple step to build image
  • buildspec.yml is file used by AWS and define multiple steps to build and push Docker image in the Elastic Container Registry

Workflow

  • Source code is stored in CodeCommit
  • When source code is updated with push event, the pipeline is triggered. Below the list of diffents stage of pipeline.
    • Build:
      • AWS use buildspec.yml file to build the image with the Dockerfile
    • Push:
      • Docker image is pushed in Elastic Container Registry
    • Deploy:
      • Docker image is used to run a container in the Elastic Container Service
  • Nodejs application is reachable with the Public IP (Elastic Network interface):

View AWS Pipeline stpes

steps codepipeline

App Node.js

applinodejs

About

This is node.js application deployed in AWS ECS with Docker and CodePipeline


Languages

Language:HTML 76.4%Language:CSS 9.8%Language:JavaScript 9.0%Language:Dockerfile 4.9%