Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Update fabfile #48
Fixes issue #41 by generating a unique identifier for the keyname.
While at it, I added some functions to terminate individual instances/volumes, so we don't have to kill each others instances via cloud_terminate, or leave them running indefinitely.
Also bumped the Ubuntu AMIs to include some of the latest security fixes by default.
After this is merged, connecting to already running instances via fab connect won't work anymore, but manually invoking ssh with the old key file still works(ssh -i ~/.ssh/eu-west-1_oggm.pem ec2-52-50-61-172.eu-west-1.compute.amazonaws.com)
In general. nothing about how to connect changed, it's just that already running instances still use the old key, while the updated script will generate and use new ones. The issue will be gone once all currently running instances have been restarted.