Continous Delivery of Java Application
Steps:-
Update GitHub with a new Jenkins IP.
Copy Dockerfile from the vprofile repo to our repo
Prepare two separate Jenkins files for staging & prod in the Source code
AWS Steps
a.IAM, ECR Repo Steps
- Jenkins Steps
a.Install plugins
i. Amazon ecr
ii. Docker build & publish
iii. Pipeline: AWS steps
Install docker engines & aws cli on Jenkins
Write Jenkinsfile for Build & publish image to ECR
ECS Steps
cluster, Task definition, Service
Code for deploy Docker image to ECS
Repeat the steps for Prod ECS cluster
Promote Docker image for prod