Where you should learn how to start your own MalariaMine web application on the Amazon Cloud. You could also use your InterMine Amazon instance to try building MalariaMine yourself (see http://intermine.readthedocs.org/en/latest/get-started/tutorial.html) or to build your own mine there.
You need an Amazon account: if you don’t have one
Note
You will need to set up your key pair security mechanism (see for example step 7 below). Alternatively you will need your aws-access-key and your aws-secret-key to start your instance (not shown here).
InterMine is publicly available on Amazon Cloud as an Image (AMI), with an AMI ID ami-b1c7a9d8.
The image contains a ready deployed MalariaMine.
- 22 (SSH)
- 80 (HTTP)
- 8080 (TOMCAT)
you could set up also a few spare ones (20, 21, 8009).
Note
You can do this also during step 7, but you cannot change the security group of an instance after starting it for the first time (unless you use a VPC instance, see http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Introduction.html).
- you can use all default options for the instance characteristics and details, but use the security group you created in step 3.
- when prompted, create a new key pair (.pem file), or use one that you already own.
$ ssh -i your_pem_file ubuntu@the_instance_public_DNS
If you are using an existing Instance, you need to
Open a terminal in Your Instance
$ ssh -i your_pem_file ubuntu@the_instance_public_DNS
you will land in /home/ubuntu
here you can find these relevant directories:
git/intermine the InterMine code base
.intermine with the properties file
malaria sources for building MalariaMine
In /webapp you’ll find tomcat6. You can start the webapp using this command:
$ ./start.sh
Your MalariaMine web application will be then available on
To stop the web application:
$ ./stop.sh
In /home/ubuntu/git/intermine/malariamine/webapp
$ ant -v default remove-webapp release-webapp
see http://intermine.readthedocs.org/en/latest/get-started/tutorial/
In /home/ubuntu/git/intermine/malariamine
$ ../bio/scripts/project_build -b -v localhost ~/malariamine-dump
You can also follow all the steps in the build as illustrated in Tutorial