Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have created a Perl script that wraps around the AWS interfaces in order to automate the process of rotating from one Intermine machine version to another.
@paulo I added you to this as an assignee as I think you should be aware of the process that is being used for the roll out process.
There is a README file in the Intermine folder that explains how to run the tool.
I am not sure exactly what AWS services need to be installed to run the tool but for sure the main AWS services I am working with are ec2 and route53. If on your machine you do not have these tools they will need to be installed.
The user will also have to make sure that AWS has access to the users credentials.
Testing
I have created machines that run, theoretically, the same way that the production machines work. The only difference is that I added "-test" into the names of the machines. If you are wanting to test 3 lines need to be adjusted in the script to add the "-test" into the machine name and an initial "-test" machine needs to be created.
Everything looked good and, although I am sure there will be a couple, I am not aware of other functionality that the script should do but doesn't.
Future work: