Skip to content
pekman edited this page Mar 17, 2011 · 21 revisions

Preparation

You need a private ssh key to access the EC2 server (e.g. in ~/.ssh/aapps).

Ssh access to Github must be properly configured and the user must have reading rights to the repository. This includes setting your public ssh key as an allowed key in Github's admin panel. This key is separate from the key used with EC2 server. See Github's help pages for further instructions.

Ssh in the local computer needs to be set up to use the correct ssh key to when connecting to EC2 server. This can be done by adding the following lines to ~/.ssh/config:

Host 79.125.124.244
    IdentityFile ~/.ssh/aapps
    User aaltoapps
    ForwardAgent yes

Deployment

Run the following command: rake vlad:deploy