Skip to content

Instantly share code, notes, and snippets.

@slashk
slashk / gist:2714727
Created May 16, 2012 23:00
openstack nova resize instance
Using the v1.1/{tenant_id}/servers/{server_id}/action API call, you can change the flavor/instance type of the running instance. 
Here's an example of resizing an instance via the nova command line tool (with debug on to see the API calls).
First, create the instance:
$ nova boot --image bc6e9a0c-7ede-4c54-9f22-401dd87ec367 --flavor 1 ken
+------------------------+--------------------------------------+
| Property | Value |