Packer Blue-Green Deployments

Let’s review a deployment scenario that utilizes Packer, Terraform, Ansible, and AWS Autoscaling. The code is available at https://github.com/sdarwin/packer-blue-green-deployment-example Part 1 – builder.sh To begin with, all the parts of the puzzle will be tied together by a fairly simple bash script, here called builder.sh. The logic is as follows: 1. build a new AMI with Packer. (In other words, run “packer”) 2. deploy the […]

Read Me Leave comment

Spinnaker, Ansible and Packer

The main focus of the article will be specifically the Spinnaker Bake cycle. This is the intersection of Spinnaker, Ansible and Packer. For a bit of advice about installation, which is actually a prerequisite, refer to Spinnaker Installation, Deployments, Questions & Answers Packer and Ansible On the Spinnaker server, the packer templates are located in /opt/rosco/config/packer/ . However, there is a slightly roundabout way of […]

Read Me 5 Comments