Create your VM

🔑 Remember to add your SSH key to Biosphere before starting

Go to BioSphere and create a new VM with the following settings:

  • UBUNTU 24.04 (not desktop)
  • :warning: 32 Gb of RAM
  1. Follow this link will bring you to the Ubuntu 24 image
  2. Click on “Run” then “Advanced configuration and run”
  3. Give your VM a nice name
  4. Configure the VM:
    • Plan A: Choose the ifb.m4.2xlarge (8 vCPU, 32GB GB RAM, 200GB GB local disk) flavor, keeping cloudbis selection
    • Plan B: Only if instructed to do so, choose the ifb-prabi-girofle cloud, then choose the ifb-prabi-girofle-ultra64 (we need 32Gb RAM) configuration.
  5. Click “Start now”

Setting up your EBAME VM

We made a small script to help you set up your VM.

Execute it from the terminal:

# Execute a script to install dependencies and configure env
curl -sSL "https://gist.githubusercontent.com/telatin/593b5b7ce54fc644725e0ecc02394d34/raw/setup_vm.sh" > setup.sh

nohup bash setup.sh

nohup will make sure the script continues running even if your connection drops, this is particularly useful if we plan to run this command and then go home 🏠

Finally:

# Make conda ready to work
conda init bash

# Apply modified settings
source ~/.bashrc

# Download the databases
nohup votuderep getdbs -o ~/db/
What is this script doing? The script will check if you are on an EBAME VM and if you have enough resources. Then will install some dependencies, and make a bookmark for the data directory (`$VIROME`). Check the [source code](https://gist.github.com/telatin/593b5b7ce54fc644725e0ecc02394d34) for more details.

Using Tmux

:warning: if the connection to a remote machine drops, the running programs will be terminated.

See a small tutorial on Tmux :link: on how to manage this problem.


Previous submodule:
Next submodule: