-
Notifications
You must be signed in to change notification settings - Fork 1
Build new tag and redeploy
One t1.micro runs with sufficient IAM permissions to perform its tasks.
Log on to the #archivesspace irc channel.
ssh to the control host
cd aws-as
and edit the file setenv.sh
export TAG="v0.4.1"
update TAG
to the new tag to build.
Then run:
./launch-build.sh
A message will appear in the irc channel when the jar is built. Then go to the wiki and update the downloads page.
Edit the database identifier in setenv.sh
.
export DB_INSTANCE_IDENTIFIER=beta02
DB_INSTANCE_IDENTIFIER
can be whatever you want, as long as it is a new name because you will get an error if the database already exists.
Then run:
./launch-ec2.sh
Once the database and web server have started up, the hostname for the new machine will be displayed. Note that hostname for the next step.
Wait for the application to start by going http://hostname-noted-in-last-step/
If it does not start, ssh to ec2-user@hostname-noted-in-last-step and investigate.
If it does start, note the instance identifier in the lower left hand corner by the version number. It will start i-
. Note this identifier for the next step.
ec2-associate-address `dig alpha.archivesspace.org +short` -i i-identifier-noted-in-last-step
I don't have this automated; you have to remember to go into the console and shut them down.