Modifies an instance type definition. This command is specific to Eucalyptus, and can
only be run by a Eucalyptus cloud administrator.
Syntax
euca-modify-instance-type instance_type
[-c count] [-d disk_space] [-m ram_amount]
[--reset][--show-empty-fields]
Options
Option |
Description |
Required |
instance_type |
Name of the instance to modify |
Yes |
-c, --count |
Number of virtual CPUs to allocate to each instance |
No |
-d, --disk disk_space |
Amount of instance storage to allocate to each instance, in gigabytes |
No |
-m, --memory entity |
Amount of RAM to allocate to each instance |
No |
--reset |
Reset the instance type to its default configuration. |
No |
--show-empty-fields |
Display empty values as "(nil)" |
No |
Common Options
Option |
Description |
--show-empty-fields |
Show empty fields as "(nil)". |
--region user@region |
Region and/or user name to search when looking up config file data. Only valid for EC2
endpoints. |
-U,--url url |
URL of the cloud service to connect to. For administrative commands, this should be <ip_address>:8773/services/Empyrean. |
-I,--access-key-id key_id |
User's access key ID. |
-S,--secret-key secret_key |
User's secret key. |
--security-token token |
User's security token. |
--debug |
Prints what the command sends to the server
and what it receives from the server. Use when
you're trying to debug Euca2ools. |
--debugger |
Enable interactive debugger on error. |
-h,--help |
Display the manual page for the
command. |
--version |
Display the version of this tool. |
Output
- Output type identifier ("INSTANCETYPE")
- Instance type name
- Number of CPUs
- Memory in MB
- Disk space in GB
Example
The following example changes the m1.medium instance type so that it has 16 GB of disk space:
euca-modify-instance-type m1.medium --disk 16 --show-empty-fields
INSTANCETYPE m1.medium 1 512 16