← Back to team overview

openstack team mailing list archive

Re: how to get 'availability zone' of an instance?

 

If you run euca-run-instances, you will see there's an --availability-zone
options there.

euca-run-instances  [-A, --access-key <access_key> ][-A, --secret-key
                    <secret_key> ][--config <config_path>
                    ][--debug][--debugger][-h, --help][--region
<region_name>
                    ][-U, --url <url> ][--version][--euca-auth][-n,
--instance-
                    count <count> ][-g, --group <group_name> ][-k, --key
                    <keyname> ][-d, --user-data <user_data>
][--user-data-force
                    <user_data_force> ][-f, --user-data-file
<user_data_file>
                    ][--addressing <addressing> ][-t, --instance-type
                    <instance_type> ][--kernel <kernel> ][--ramdisk
<ramdisk>
                    ][-b, --block-device-mapping <block_device_mapping>
                    ][--monitor][-s, --subnet <subnet> ][-z,
--availability-zone
                    <zone> ] image_id

- Ray
Yours faithfully, Kind regards.

CIeNET Technologies (Beijing) Co., Ltd
Email: qsun01185@xxxxxxxxxxxxx
Office Phone: +86-01081470088-7079
Mobile Phone: +86-13581988291



On Thu, Oct 25, 2012 at 4:13 PM, gtt116 <gtt116@xxxxxxx> wrote:

> I look around by using `nova show` and using the REST api, but can not
> find the 'availability zone' field.
> Can any one tell me how to get it ? Thanks!
>
> -gtt
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References