Jenkins – AWS – Ansible – Rolling Update of AMI – Part 2

As we have configured Job1 - AMI lets move to Job2 - UpdateCF. The temporary file with the AMI Id should be injected in to Job2 so that it can update cloud formation stack with the new image. Now as we are going to use ansible I've placed the code in GitHub Repo. Now in … Continue reading Jenkins – AWS – Ansible – Rolling Update of AMI – Part 2

Advertisements

Jenkins – AWS – Ansible – Rolling Update of AMI – Part 1

Create/Update AMI of Instances through CF - https://linuxandevops.wordpress.com/2017/06/24/aws-update-ami-through-cf-template/ But this is manual as I need to take a snapshot of EC2 Instance and update CF stack with new AMI. It is time to automate the rolling update of AMI using Jenkins and Ansible. Jenkins install and configuration documented here - https://linuxandevops.wordpress.com/2017/07/10/jenkins-install-and-plugins/ Created two jobs - … Continue reading Jenkins – AWS – Ansible – Rolling Update of AMI – Part 1