Prerequisites
- AWS username/password
- EC2 key pair
- (Static IP address) A transient IP is adequate and will be used in the video tutorial. Consider a static IP for production. A static IP address is free upon request, but must be used on a running instance. You will be charged for a static IP that is requested but not used.
- Credit card number - a valid credit card is required to register. Note that these are Amazon requirements.
Installation
Note: the video tutorial of AWS EC2 installation of LIMS*Nucleus describes installation of an older version of LIMS*Nucleus. Though still useful to watch as the overall process and many details are the same, details discussed below supercede what is in the video. The main changes are different names for scripts are being used, LIMS*Nucleus is now packaged as a guix module and so is installed in the store, and because a guix pull must be performed the free tier t2.micro may not provide enough memory. Use t2.medium.
Local: download the archive of install
scripts and transfer to AWS with scp: 1
home@HP8300:~$scp -i labsolns.pem $HOME/temp/limsn-ec2.tar.xz admin@ec2-18-191-151-165.us-east-2.compute.amazonaws.com:.
You must modify the above command with your own keys and the connection address provided to you by Amazon.
AWS: decompress and run the install script: 1
2admin@ip-172-31-23-11:~$tar -xvf ./limsn-ec2.tar.xz
admin@ip-172-31-23-11:~$./install-limsn-ec2.sh
install-limsn-ec2.sh and guix-install-mod.sh must be in the same directory. Multiple files described below are loaded into the store at PATH_INTO_STORE/limsn/scripts
Supplied Scripts
Scripts available on this website or in /gnu/store are described on the scripts page.
Useful commands
1 | ## start the database server |