Skip to main content

Describe instances

List instances with their state, type, addresses and tags: all of them, the ones you name, or those that match filters.

Command in the AWS EC2 toolkit · id ooa.aws_ec2/describe_instances · 4 inputs, 3 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
SessionStringNoec2Name of the session opened by Connect.
Instance IDsListNoInstances by id or by Name tag, e.g. ["i-0abc1234def567890"] or ["Invoice bot"]. Leave empty for all.
FiltersDictionaryNoEC2 filters, name to value or list of values, e.g. {"instance-state-name": "running", "tag:Team": ["Finance", "HR"]}.
Maximum resultsNumberNo1000Stop after this many instances.

Outputs​

OutputTypeWhat it is
instancesTableColumns: instance_id, name, state, instance_type, image_id, private_ip, public_ip, availability_zone, launch_time, monitoring, tags.
instance_idsListThe ids of the instances found.
countNumberHow many instances were found.