GenomeCloud: Difference between revisions

From Genecats
Jump to navigationJump to search
m (testing edit)
m (Starting volume section)
Line 19: Line 19:
**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.
* edit edit *
* 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.

Revision as of 22:34, 18 March 2016

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