You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@libcloud.apache.org by David Montgomery <da...@gmail.com> on 2013/08/14 22:33:57 UTC
ec2 and regions
Hi,
I want to list nodes in ec2west.
How? Below is for east.
Driver = get_driver(Provider.EC2)
conn = Driver(key, secret)
conn.list_nodes()
Re: ec2 and regions
Posted by Tomaz Muraus <to...@apache.org>.
I would assume you mean us-west and not eu-west region.
In this case you need to use EC2_US_WEST provider constant. So something
like this:
Driver = get_driver(Provider.EC2_US_WEST)
conn = Driver(key, secret)
conn.list_nodes()
You can find a full list of available provider constants on this page
https://ci.apache.org/projects/libcloud/docs/compute/supported_providers.html
On Wed, Aug 14, 2013 at 10:33 PM, David Montgomery <
davidmontgomery@gmail.com> wrote:
> Hi,
>
> I want to list nodes in ec2west.
>
> How? Below is for east.
>
> Driver = get_driver(Provider.EC2)
> conn = Driver(key, secret)
> conn.list_nodes()
>