GenomeCloud
From Genecats
Jump to navigationJump to search
Starting up an instance
To use the CBSE cloud, go to:
- Goto [https://genome-cloud.soe.ucsc.edu]
- Use your SOE username to login (unless otherwise specified when the account was created).
- Instances - Launch Instance
- Create a new VM, prefix it with your username to ensure people can contact you.
- Instance Boot source = Image, Select an image for your preferred OS
- Access & Security: Click the "+" button and upload your SSH public key from ~/.ssh/id_rsa.pub
- The page displays notes on how to use
ssh-keygen -t rsa -f cloud.key
generate your key-pair - Then you can get that public key and copy it using
$cat cloud.key.pub .... ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABA......
- The page displays notes on how to use
- Click "Import Key Pair" (previously check "Allow SSH)"
- Networking: Drag the CBSE network onto "Selected Networks" (either network is fine)
- Click "Launch"
- Wait for a while until you see it in the list of instances, then click "More" - "Associate Floating IP", select an IP, "OK"
- From your terminal, the one where you copied the SSH key from, do "ssh USER@IPADDRESS"
- General Example:
ssh -i cloud.key ubuntu@<instance_ip>
Specific:ssh -i cloud.key ubuntu@128.114.61.171
- General Example:
- USER is ubuntu for ubuntu and centos for centos images, otherwise do "View Log" on the instance and look for a username in there.
Mounting a Volume
- If you need more space than an instance will provide, you will need to create a Volume and mount the partition on your server instance.