← All Articles

Checking a port is open on AWS Security Groups in Ruby

Khash SajadiKhash Sajadi
Sep 27th 12Updated Jul 27th 17
Ruby on Rails

If you want to make sure a port being open in AWS Security Groups in Ruby, I suggest using Fog. Here is a sample code to do it:

Note: this is taken from Fog source code

Try Cloud 66 for Free, No credit card required