Ad space (banner)
AD

Got the fundamentals? A structured AWS course is a fast way to level up.

Find AWS courses on Udemy

Affiliate link. Costs you nothing extra.

☁️AWS Lessons
Lesson 25 / 41

Listing Instances with aws ec2 describe-instances

When you want to see your servers, use aws ec2 describe-instances. It reports every instance in the region and its details.

The syntax is aws ec2 describe-instances. Filters narrow the results when you have many.

Running it returns JSON with each instance's ID, type, state, IP addresses and tags.

A common stumble is being overwhelmed by the output. In practice you use --query to pull out just the fields you care about.

In real work, it is how you inventory what is running — and find the instances someone forgot to stop.

AWS
Try it (type this into the pseudo terminal)
aws ec2 describe-instances

🧑‍💻 You can type this command into the AWS pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)