Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The images are visible at: https://console.aws.amazon.com/ec2/v2/home?region=us-east-1#Images . Note in particular that the value of the AMI ID column in the table is used to tell Ansible which AMI to use when building ec2 machines. The variable used is ec2_image .

...

Finding or changing what AMI an ec2 instance is based on

...

Running grep ec2_image group_vars/* lists the AMIs our ec2 servers are based on.

...

While the comment is helpful, it’s possible to get this info by simply looking up the ID in the AWS console under EC2 > Images > AMIs.

To change an AMI that a given server role uses, find it’s variable file under group_vars, and change it to use the new AMI ID.

Obsolete AMI roles

There used to be a java_ami role we used for solr and fedora boxes, but is is no longer in use. ./group_vars/java_ami can be removed.