I have installed the AWS ruby sdk.
gem install aws-sdk
Within irb:
require aws-sdk
Now I want to create a security group with all packets permitted both incoming and outgoing.
How can I do this?
I have installed the AWS ruby sdk.
gem install aws-sdk
Within irb:
require aws-sdk
Now I want to create a security group with all packets permitted both incoming and outgoing.
How can I do this?
After looking at the documentation, I believe you would need to make three calls to authorize_ingress
to accomplish this:
security_group.authorize_ingress(:tcp, 0..65535)
security_group.authorize_ingress(:udp, 0..65535)
security_group.authorize_ingress(:icmp, 0..65535)