-
Notifications
You must be signed in to change notification settings - Fork 10
How to access CDeep3M cloud
New to working on the cloud or using command line?
See image here, or go through following points
-
Return to the cloudformation page (this link is for us-west-2)
-
Tick the box on the left side of your cloud, to select your cloud stack (Make sure Status changed to Create_Complete)
-
Click the output tab, and copy the output value in PublicDNS, typically something like: ec2----*.us-west-2.compute.amazonaws.com
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
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:~/
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.