eclat-lsinst, eclat-describe-instances - describe available EC2
instances
eclat lsinst [FILTER...]
eclat lsinst --help
This command lists your EC2 instances.
The following filters are defined:
- architecture=i386
| x86_64
- The architecture of the instance.
- availability-zone=string
- The availability zone of the instance.
- block-device-mapping.attach-time=date
- The date/time when an EBS volume was attached to the instance.
- block-device-mapping.delete-on-termination=boolean
- Whether the device is deleted on termination of the instance.
- block-device-mapping.device-name=string
- The name of the device corresponding to an Amazon EBS volume.
- block-device-mapping.status=string
- The status of the device.
- block-device-mapping.volume-id=string
- The volume ID of the EBS volume.
- client-token=string
- The idempotency token provided when launching the instance.
- dns-name=string
- The public DNS name of the instance.
- group-id=string
- The ID of a EC2 security group the instance pertains to. For VPC security
groups, see instance.group-id.
- group-name=string
- The name of a EC2 security group the instance pertains to. For VPC
security groups, see instance.group-name.
- image-id=string
- The ID of the image used to create the instance.
- instance-id=string
- The ID of the instance.
- instance-lifecycle=spot
- Matches only Spot Instances.
- instance-state-code=number
- An integer code representing the state of the instance. Allowed values for
number are: 0 (pending), 16 (running), 32 (shutting-down), 48
(terminated), 64 (stopping), 80 (stopped).
- instance-state-name=state
- The state of the instance. Allowed values for state are:
pending, running, shutting-down, terminated,
stopping, stopped.
- instance-type=string
- The type of instance (e.g., m1.small).
- instance.group-id=string
- The ID of a VPC security group the instance pertains to.
- instance.group-name=string
- Tha name of a VPC security group the instance pertains to.
- ip-address=string
- The public IP address of the instance.
- kernel-id=string
- The kernel ID.
- key-name=string
- The name of the key pair used when the instance was launched.
- launch-index=string
- The zero-based index of the instance in the launch group, if multiple
instances were launched.
- launch-time=date
- Date/time when the instance was launched.
- monitoring-state=disabled
| enabled
- Instance monitoring state.
- owner-id=string
- The ID of the instance owner.
- placement-group-name=string
- The name of the placement group the instance is in.
- private-dns-name=string
- Private DNS name of the instance.
- private-ip-address=string
- Private IP address of the instance.
- product-code=string
- The product code associated with the AMI used to launch the instance.
- product-code.type=devpay
| marketplace
- The type of product code.
- ramdisk-id=string
- The ID of the RAM disk.
- reason=string
- The reason why the instance is in its current state.
- requester-id=string
- The ID of the entity that launched the instance on your behalf (for
example, AWS Management Console, Auto Scaling, and so on).
- reservation-id=string
- The ID of the instance reservation. It is created any time an instance or
a group of instances is launched. Depending on this a single reservation
ID can correspond to a single or to multiple instances.
- root-device-name=string
- The name of the root device.
- root-device-type=ebs
| instance-store
- The type of the root device.
- source-dest-check=boolean
- Indicates whether the instance performs source/destination checking. It
must be false for the instance to perform NAT in a VPC.
- spot-instance-request-id=string
- The ID of the Spot Instance request.
- state-reason-code=string
- The reason code for the state change.
- state-reason-message=string
- A message describing the state change.
- tag-key=string
- The key of a tag assigned to the instance, regardless of its value. Note,
that this filter works independently of the tag-value filter, i.e.
tag-key=foo tag-value=bar will match all instances that have the
tag foo defined as well as those that have bar as a value of
any of their tags. To request instances that have the tag foo set
to the value bar see the tag:KEY filter below.
- tag-value=string
- The value of a tag assigned to the instance, regardless of the tag's key.
See the comment above.
- tag:key=string
- Selects the instances having the specified tag KEY set to the value
VAL.
- virtualization-type=paravirtual
| hvm
- The virtualization type of the instance.
- hypervisor=ovm
| xen
- The hypervisor type of the instance.
Each instance is described in a separate multi-line block, between
the Instance: and End of instance markers. The information
within that block is indented by one tab stop to improve readablility.
Each instance description is prefaced by its reservation and owner
IDs and a list of groups it pertains to. For example:
Reservation ID: r-0ece705a
Owner ID: 053230519467
Groups:
Instance: i-7a00642e
Image ID: ami-1cd4924e
State: running
Kernel ID:
Architecture: x86_64
Private DNS:
Public DNS:
Key: VPCKey
Type: c1.medium
Launch Time: 2012-06-28T17:41:48.000Z
Availability Zone: ap-southeast-1b
Group Name:
Tenancy: default
Private IP: 10.0.0.12
Public IP: 46.51.219.63
Groups:
sg-374b565b -- quick-start-3
Root Device Type: ebs
Root Device Name: /dev/sda1
Device mapping:
/dev/sda1 vol-9e151bfc attached 2012-06-28T17:42:05.000Z true
Virtualization: hvm
Tag Set:
Name=SingleENI
Hypervisor: xen
EBS Optimized:
End of instance
eclat(1), eclat-lsiattr(1), eclat-reboot(1),
eclat-start(1), eclat-stop(1).
Report bugs to <bug-eclat@gnu.org.ua>.
Copyright © 2012-2018 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.