Discussion:
Digest for ruby-fog-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org - 2 updates in 1 topic
Virender Khatri
2014-04-07 21:01:11 UTC
Permalink
You need to specify security group ids as

:security_group_ids => %w(monitoring-group-id)

instead of :groups.
Today's topic summary
Group: http://groups.google.com/group/ruby-fog/topics
- Unable to create an AWS instance in particular security group.<#1453af9bfbc71f8e_group_thread_0>[2 Updates]
Unable to create an AWS instance in particular security group.<http://groups.google.com/group/ruby-fog/t/9021afeb487ee7d7>
Hello,
I am trying to create an instance in AWS in a particular security
group.
:flavor_id =>
:key_name =>
:groups => "Monitoring",
:subnet_id =>
:user_data => "#{user_data}")
where Monitoring is the name of the security group.
But when the machine comes up. It takes the "default" security group.
I
tried replacing "Monitoring" with the security-group-id but still I
wasn't
able to get Monitoring security group in the new instance. Can someone
please help me out.
Thank you,
- Pradeep
Finally figured out that I should use :security_group_ids =>
["sg-xxxxxxx"].
--
You received this message because you are subscribed to the Google Groups
"ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
Loading...