Hi I need a ruby/gems expert to write a very small script. If the person knows "fog" AWS ec2 api, it will be great.
Basically, What I need to:
1. Run ruby script every 30 sec by using cronjob
2. call "fog" AWS ec2 function to check a function or call URI check if it returns 200 status(2 or more times)
3. If get negative result, then call another "fog" api function to dissociate and associate ip for ec2 instance.
4. few here and there touch-up. thats all.