Select availability zones where servers are launched

Select availability zones where servers are launched

You can select which availability zone servers are launched on.

  1. To select the availabiilty zone where servers are launched, use the --availability-zone ZONE parameter on the openstack baremetalcompute server create command.

    For example:

    $ openstack baremetalcompute server create --image IMAGE --flavor m1.tiny \
      --key-name KEY --availability-zone ZONE --nic net-id=UUID \
      --partition ephemeral_gb=500 SERVER
    
  2. To view the list of valid zones, use the openstack baremetalcompute availability zone list command.

    $ openstack baremetalcompute availability zone list
    +-----------+
    | Zone Name |
    +-----------+
    | zone1     |
    | zone2     |
    +-----------+
    
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.