ec2-reset-instance-attribute

Description

Resets an attribute of an instance to its default value.

Syntax

ec2-reset-instance-attribute instance_id { --kernel kernel_id | --ramdisk ramdisk_id }

Options

NameDescriptionRequired

instance_id

ID of the instance on which the attribute will be reset.

Type: String

Default: None

Example: i-43a4412a

Yes

--kernel

Resets the ID of the kernel.

Type: String

Default: None

Example: --kernel

No

--ramdisk

Resets the ID of the RAM disk.

Type: String

Default: None

Example: --ramdisk

No

Output

The command returns a table that contains the following information:

  • Attribute type identifier

  • ID of the instance on which the attribute is being reset

  • Action identifier ("RESET")

Amazon EC2 displays errors on stderr.

Examples

Example Request

This example resets the kernel attribute.

PROMPT> ec2-reset-instance-attribute i-10a64379 --kernel
kernel i-10a64379 RESET