Continous Delivery of Java Application

Steps:-

  1. Update GitHub with a new Jenkins IP.

  2. Copy Dockerfile from the vprofile repo to our repo

  3. Prepare two separate Jenkins files for staging & prod in the Source code

  4. AWS Steps

a.IAM, ECR Repo Steps

  1. Jenkins Steps

a.Install plugins

i. Amazon ecr

ii. Docker build & publish

iii. Pipeline: AWS steps

  1. Install docker engines & aws cli on Jenkins

  2. Write Jenkinsfile for Build & publish image to ECR

  3. ECS Steps

    cluster, Task definition, Service

  4. Code for deploy Docker image to ECS

  5. Repeat the steps for Prod ECS cluster

  6. Promote Docker image for prod