Yeah, you can pass in a list for ex_securitygroup. I just noticed driver docstrings don't indicate that. I'll update it to correctly indicate that you can also pass in a list.
(next time please also send message to the mailing list) On Thu, Aug 15, 2013 at 9:31 PM, David Montgomery <[email protected] > wrote: > Thanks...appeared to work. What about if more that one sec group? A list? > > Thanks > > > On Fri, Aug 16, 2013 at 2:42 AM, Tomaz Muraus <[email protected]> wrote: > >> Funny enough, I was just working on adding an example to documentation >> which shows how to create an EC2 node using a custom AMI. >> >> You can find it at >> https://ci.apache.org/projects/libcloud/docs/compute/examples.html#create-ec2-node-using-a-custom-ami >> >> This one doesn't show how to use an existing key pair and security group, >> but you can do that by passing ex_keyname='name_of_existing_key_pair' >> and ex_securitygroup='security group name' keyword arguments to the >> create_node method. >> >> >> On Thu, Aug 15, 2013 at 8:19 PM, David Montgomery < >> [email protected]> wrote: >> >>> Hi, >>> >>> How do I launch a node on ec2? I am having a tough time finding >>> documentation. >>> >>> I want to boot one node, t1.micro, and pass the pem file,ami,sec group >>> etc. >>> >>> Is there any example that works wit the current version of libcloud? >>> >>> Thanks >>> >> >> >
