Supernova
This article is curently a "stub". This means it is an incomplete article needing further elaboration.
I always welcome suggestions, comments, and criticism. If you have something to contribute to this site, please follow this link: Contributing Information. Thank you!
Resizing a Cloud Server
The following command will show you your current servers, where <PROFILE> is the profile you're using (e.g., "dfw"):
$ supernova <PROFILE> list
Which should return something like the following:
+--------------------------------------+--------+--------+--------------------------------------------------------------------------+ | ID | Name | Status | Networks | +--------------------------------------+--------+--------+--------------------------------------------------------------------------+ | ffffffff-ffff-ffff-ffff-ffffffffffff | Foobar | ACTIVE | public=x.x.x.x, 2001:ffff:ffff:ffff:ffff:ffff:ffff:ffff; private=x.x.x.x | +--------------------------------------+--------+--------+--------------------------------------------------------------------------+
Take note of the ID
or the Name
of the Cloud Server you wish to resize.
Next, you will need a list of flavors available to resize to:
$ supernova <PROFILE> flavor-list
Which should give you an output like the following:
+----+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+ | ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | +----+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+ | 2 | 512MB Standard Instance | 512 | 20 | 0 | | 1 | | N/A | | 3 | 1GB Standard Instance | 1024 | 40 | 0 | | 1 | | N/A | | 4 | 2GB Standard Instance | 2048 | 80 | 0 | | 2 | | N/A | | 5 | 4GB Standard Instance | 4096 | 160 | 0 | | 2 | | N/A | | 6 | 8GB Standard Instance | 8192 | 320 | 0 | | 4 | | N/A | | 7 | 15GB Standard Instance | 15360 | 620 | 0 | | 6 | | N/A | | 8 | 30GB Standard Instance | 30720 | 1200 | 0 | | 8 | | N/A | +----+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+
Take note of either the ID
or the Name
of the flavor you wish to resize to (I suggest always using the ID
).
The final step is to issue the resize command, where <SERVER>
is the Name
or ID
of the Cloud Server in question, and <FLAVOR>
is the Name
or ID
of the flavor you are resizing to:
$ supernova resize <SERVER> <FLAVOR>
That's it. After a few minutes, your Cloud Server should be resized to whatever flavor your chose.