Skip to content

AWS EC2 server

Inje Yeo edited this page May 1, 2016 · 1 revision

GitAchieve's deployed server is hosted on EC2. To ssh into it, follow these steps.

  1. Ask one of the team members for the GitAchieve .pem file. This file is used as a key to authenticate the ssh.
  2. cd into the directory with the .pem file.
  3. Use this command in the terminal: ssh -i GitAchieve-1.pem ubuntu@52.39.169.181
  • This runs the ssh command with the -i flag, telling the ssh to use the GitAchieve-1.pem file for authentication
  • It also logs you in as a user named 'ubuntu' in the server at 52.39.169.181
  • If you experience a warning about an unprotected file key, use this command chmod 400 GitAchieve-1.pem
  1. You are now ssh'ed into the server. Type ls to see the gitAchieve/ folder. cd into that
  2. Type npm run serve, and it should run your server which can be accessed at www.gitachieve.com

Clone this wiki locally