Good Morning,
I'm trying to setup an Amazon EC2 machine image. I do so, by starting
an EC2 instance, executing a capistrano script, create an image from
the machine, start a new machine with the last image, starting a new
capistrano script, create an image from the new machine, and so on...

It takes some time for the EC instance to be reachable. Unfortunately
there seems to be nothing that I can use to see if the instance is
reachable via ssh in the ruby aws-sdk. So I just start the Capistrano
script and retry the script if it fails due to
Capistrano::ConnectionError containing ECONNREFUSED or ETIMEDOUT.

This does what it should do, but I wonder if there is a configuration
option that I could use to instruct Capistrano to wait for that
machine to become available for SSH login.

Kind regards,
Torsten

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to