How to Patch Jenkins Server on AWS ?
PART 1
1. On EC2 Dashboard > Selecting Running Instances > Select Jenkins-prd-cicd-linux and Click Actions > Image > Create Image.
2. Name it as jenkins-prd-cicd-linux-09-17-2019.
3. AWS would create image under Images > AMIs
Part 2 .
4. Now log onto the ec2 instance via SSH and type the below command to update all.
Syntax : 1. sudo su
2. yum update
And hit Y or yes.
5. Then log into the Jenkins via Web GUI
For example : <ip address>:8080
Click on Plugin Manager > scroll down > Select All > Download and Install.
This would take few minutes to download all plugins. Once you get notified on Jenkins that all the services are downloaded and Installed, and then please confirm with the Developer (Abe) if everything looks good.
Backup Retention Policy: Retain AMI for 2 month and then unregister.