Search code examples
amazon-ec2

How to get a list of my AWS EC2 Instances


I need to export the list, that I get from AWS EC2 Console, of EC2 instances I have to a CSV/excel or similar.

It has to be in reports but cannot find it.

enter image description here


Solution

  • You can use Resource Groups.

    1. Resource Types: AWS::EC2::instance
    2. Search resources
    3. Export search results to CSV

    Update 11/2020: It is not possible to list all resources by type any longer. You have to either specify tags or Cloudformation stacks to create a resource group.