I can't believe I used to SSH into my server to restart an app when I can now just run `cap unicorn_APPNAME:restart`
I can't believe I used to SSH into my server to restart an app when I can now just run `cap unicorn_APPNAME:restart`
We also used to SSH into our servers and do everything manually. Crazy times.
Seems to work so far -- any reason why I might want to be using a more advanced tool instead?
What I do when working with SSH'ing to AWS instances is to give them a readable name (like nginx-1, nginx-2) tag, and then place those names as hostnames in my /etc/hosts, so I can then just run ssh nginx-1. I use a script around https://github.com/bjeanes/ghost to automate this.
Of course, when doing releases that affect the database schema, we still have to login to the servers.
[1] https://gist.github.com/4281277 [2] https://github.com/mscdex/ssh2