Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/rotate intermine vms #9

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

adamjohnwright
Copy link
Member

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:

  • These scripts will need to be run and adjusted in production. Preferably during a release cycle.
  • I have not tested to see if the machines are provisioned correctly, once they are generated by the script. If they are not provisioning code should be added.
  • Ideally we would start automating the first steps on the next machine. For example pulling in the latest XML aceDB dump files to the machine. Possibly clearing old data from the file system to make room for new content.

@mgrbyte mgrbyte removed their request for review August 28, 2018 12:09
@mgrbyte mgrbyte removed their assignment Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants