Code Monkey home page Code Monkey logo

jenkins-ecr-ecs-devops's Introduction

CICD with Jenkins

Disclaimer: I got the idea of this project while studying Imran Teli's course and reading some blogs. The application source code(Java Application) is originally from Imran, in order to focus on the construction of CI/CD pipeline rather than on coding application from scratch.

In this project, we will construct a CI/CD pipeline with Jenkins, to deploy a Java app on AWS ECS. The pipeline will be triggered on every push to the main branch of the git repository, which subsequently builds a docker image, pushes it to AWS ECR, and deploys the new image to ECS.

Architecture

Architecture overview


Prerequisites

  1. An AWS account
  2. Basic knowledge of containerization
  3. Familiarity with scripting/programming
  4. Terraform (optional)

Technologies

  • Java Spring
  • Terraform
  • Maven
  • Jenkins
  • SonarQube
  • Nexus
  • Git
  • Docker
  • ECR
  • ECS

Project Structure

  • setup.md: How to set up the project
  • /terraform: Terraform files
  • /Jenkins-test-codes: Pipeline integration codes
  • /userdata: User data for EC2 instances

If you face any issues whilst performing this project, feel free to contact via: [email protected].

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.