ECLAT-SETIATTR

NAME

eclat-setiattr, eclat-modify-instance-attribute − modifies attribute of an instance

SYNOPSIS

eclat setiattr [−bf] [−−base64] [−−file] INSTANCE-ID ATTR VALUE [VALUE...]

eclat setiattr −−help

DESCRIPTION

Modifies the specified attribute of an instance. Only one attribute can be modified at a time.

If ID translation is enabled (see the section MAPS in eclat(1)), this command uses the InstanceId map to translate INSTANCE-ID to the corresponding identifier.

OPTIONS

Both options are valid only when setting the value of UserData:
−b
, −−base64

Value is already base64-encoded. If that option is not given, eclat assumes the value is plaintext and will encode it.

−f, −−file

Treat the VALUE argument as the name of file to read the value from. To read from the standard input, use (a dash).

ATTRIBUTES

The ATTR argument can be one of the following:
InstanceType

Changes the instance type to the specified value.

Kernel

Changes the instance kernel to the specified value.

Ramdisk

Changes the instance RAM disk.

UserData

Changes the instance user-specified data.

DisableApiTermination

Changes the instance termination status. The VALUE of true means that the instance cannot be terminated using the API. The VALUE of false means the instance can be terminated via the API.

InstanceInitiatedShutdownBehavior

Changes the instance initiated shutdown behavior. Allowed values are stop (instance will be stopped instead of terminated), and terminate (instance will be terminated).

BlockDeviceMapping

Change DeleteOnTermination flag for one or more volumes that are currently attached. When this attribute is used, multiple VALUEs are allowed. Each of them must have the form DEVICE=BOOL, where DEVICE is the name of the device the volume is attached to, and BOOL is either true (the volume is deleted when the instance is terminated) or false (the volume remains intact on instance termination).

sourceDestCheck

Controls Network Address Translation in a VPC. The instance is able to perform NAT if VALUE is false, and cannot do so if it is true.

groupId

Changes the security groups this instance is in. This attribute is valid only for instances running in a VPC. One or more VALUEs can be given.

ebsOptimized

Controls whether the instance is optimized for EBS I/O. Allowed values are true or false.

SEE ALSO

eclat(1), eclat-lsiattr(1), eclat-lsistat(1), eclat-lsinst(1).

AUTHORS

Sergey Poznyakoff

BUG REPORTS

Report bugs to <bug−eclat@gnu.org.ua>.

COPYRIGHT

Copyright © 2012-2015 Sergey Poznyakoff
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.