Script to updates the source in security group in AWS EC2. Requirements gem install aws-sdk Running script on console ruby aws_ec2_sg_update.rb [aws_ec2_security_group_name] [old_source] [new_source_ip]