I can confirm that setting :subnet_id for connection.servers.create does in 
fact work.

Thanks a bunch.

On Tuesday, January 13, 2015 at 12:53:44 PM UTC-7, Frederick Cheung wrote:
>
> You don't request an instance be launched into a vpc by specifying a 
> vpc_id but by specifying a subnet_id (this comes from the underlying api 
> Amazon provides). Would be helpful if fog warned about this parameter being 
> ignored though.
>
> Fred
>
> Sent from my iPhone
>
> On 13 Jan 2015, at 19:06, [email protected] <javascript:> wrote:
>
> I do not have a default VPC on AWS.  I need to launch servers in a 
> specific VPC.
>
> I can pass :vpc_id to `connection.security_groups.create` and it works as 
> expected.
>
> However, passing :vpc_id to `connection.servers.create` seems to have no 
> effect.
> I get this back from AWS:
>
> 'response_call': VPCIdNotSpecified => No default VPC for this user 
> (Fog::Compute::AWS::Error)
>
> Has anyone made `servers.create` work with a specific :vpc_id ?  Any help 
> is appreciated.
>
> -- 
> 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 [email protected] <javascript:>.
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to