GenomeCloud: Difference between revisions

From Genecats
Jump to navigationJump to search
m (Starting volume section)
m (Breaking page into sections)
 
Line 1: Line 1:
== Starting up an instance ==
To use the CBSE cloud, go to:
To use the CBSE cloud, go to:


Line 19: Line 20:
**General Example: <code> ssh -i cloud.key ubuntu@<instance_ip></code>  Specific: <code>  ssh -i cloud.key ubuntu@128.114.61.171 </code>
**General Example: <code> ssh -i cloud.key ubuntu@<instance_ip></code>  Specific: <code>  ssh -i cloud.key ubuntu@128.114.61.171 </code>
* USER is ubuntu for ubuntu and centos for centos images, otherwise do "View Log" on the instance and look for a username in there.
* 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.
* 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.

Latest revision as of 22:37, 18 March 2016

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......
  • Click "Import Key Pair" (previously check "Allow SSH)"

GenomeClouldKeyPair.jpg

  • 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"

GenomeClouldIP.jpg

  • 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
  • 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.