2.1.2. Create server

Status Transition: BUILD ACTIVE
BUILD ERROR (on error)

This operation asynchronously provisions a new server. The progress of this operation depends on several factors including location of the requested image, network i/o, host load, and the selected flavor. The progress of the request can be checked by performing a GET on /servers/id, which will return a progress attribute (0-100% completion). The full URL to the newly created server is returned via the Location header and is available as a self and bookmark link in the server representation (See Section 1.4, “Links and references”). Note that when creating a server only the server ID, its links, and the admin password are guaranteed to be returned in the request. Additional attributes may be retrieved by performing subsequent GETs on the server.

MethodURIDescription
POST/v2/{tenant_id}/servers​{?security_group,​user_data,​availability_zone}

Creates a server.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...