Skip to content

How to access CDeep3M cloud

Chris Churas edited this page Aug 9, 2018 · 16 revisions

New to working on the cloud or using command line?

How to login to my cloud stack?

Where to find your cloud stack address:

See image here, or go through following points

  1. Return to the cloudformation page (this link is for us-west-2)

  2. Tick the box on the left side of your cloud, to select your cloud stack (Make sure Status changed to Create_Complete)

  3. Click the output tab, and copy the output value in PublicDNS, typically something like: ec2----*.us-west-2.compute.amazonaws.com

Now connect to CDeep3M cloud

Open a SSH client (e.g. Terminal for Mac)

ssh -i ~/.ssh/your-sshkey.pem ubuntu@ec2-**-***-**-**.us-west-2.compute.amazonaws.com

If you generated your ssh key on AWS you might see an error the first time you try to connect using this ssh key:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ It is required that your private key files are NOT accessible by others. This private key will be ignored.

If this is the case, reconfigure the permissions of your private ssh key using chmod. E.g.

chmod 400 ~/.ssh/your-sshkey.pem

How to copy to my cloud stack

You can copy using the SCP command. To simply transfer entire folders add the -r flag. E.g.

scp -i ~/.ssh/your-sshkey.pem -r ~/local_directory ubuntu@ec2-**-***-**-**.us-west-2.compute.amazonaws.com:~/

Working while CDeep3M is processing?

If you wish to work on the cloud or check the status while you are processing data, use the screen command before starting your processing. Most important commands to

Open new screen: screen

To leave the screen running (processing) but stop watching: Ctrl-A Ctrl-D

Resume your screen: screen -r

Done Processing? Close down your screen: exit

If you are completely new to Linux and command line tools, please see Linux cheatsheets for basic commands.

Clone this wiki locally