| Option | Description | Required |
|---|---|---|
| ID of the instance that was assigned at launch. Example: | Yes |
Amazon EC2 returns a table that contains the following information:
Output type identifier ("INSTANCE")
The instance ID of the instance being terminated
The state of the instance prior to being terminated
The new state of the instance
Amazon EC2 displays errors on stderr.
This example terminates the i-3ea74257 instance.
$ec2-terminate-instances i-3ea74257INSTANCE i-3ea74257 running shutting-down