Amazon Aws¶
how to ssh into our instance¶
From the directory where you have our .pem file stored
ssh -i informacam.pem ubuntu@[OUR AWS IP]
That's all!
Please don't forget to log out when you're done working (money doesn't grow on trees!!!)
how to add this credential to your ssh configurations so you can edit files live via SFTP¶
In your ssh config file (on a mac, ususally found in your home directory at: /UserName/.ssh/config
Host [OUR INSTANCE IP] IdentityFile /path/to/your/pem/file
If that's done correctly, you can open up your favorite text editor, and open an SFTP browser with the following:
host: [OUR INSTANCE IP] username: ubuntu
there is no password required, because you have a .pem!
how to start up/stop the server:¶
In our amazon cloud instance, the server's files are usually located in /mnt/j3m/interface.
From the top level of the InformaCam-Server folder, run
mvn jetty:run
point your browser to http://127.0.0.1:8080/InformaCam-Server/
To stop, simply "command-c"