ec2-describe-reserved-instances
Syntax
ec2-describe-reserved-instances [
reservation_id
...]
Description
Describes Reserved Instances that were purchased for use with your account. For more information about Reserved Instances, see
Options
Option | Description | Required |
---|---|---|
|
The IDs of the Reserved Instances owned by you. If no IDs are specified, Amazon EC2 returns all Reserved Instances owned by you. Example: |
No |
Output
Amazon EC2 returns a table that contains the following information:
-
RESERVEDINSTANCES identifier
-
ID of the Reserved Instance
-
The Availability Zone in which the Reserved Instance can be used
-
The instance type
-
The instance platform
-
The duration of the Reserved Instance
-
The usage price of the Reserved Instance, per hour
-
The purchase price of the Reserved Instance
-
The number of Reserved Instances purchased
-
The date the Reserved Instance was purchased
-
The state of the Reserved Instance purchase (pending-payment, active, payment-failed)
Amazon EC2 displays errors on stderr
.
Example
This example describes Reserved Instances owned by the account.
PROMPT>
ec2-describe-reserved-instances
RESERVEDINSTANCE 1ba8e2e3-2538-4a35-b749-1f4442d50744 us-east-1a m1.small 1y 0.00 0.00 19 2009-01-19T00:00:00+0000 active af9f760e-c1c1-449b-8128-1342d3a6927d us-east-1a m1.xlarge 1y 0.00 0.00 3 2009-01-20T00:00:00+0000 active