Use the AWSSupport-ListEC2Resources AWS Systems Manager Automation document to list your active EC2 resources. This automation document returns information on EC2 instances and related resources such as Amazon Elastic Block Store (Amazon EBS) volumes, Elastic IP addresses, and Amazon EC2 Auto Scaling groups from the AWS Regions that you specify. By default, the information is gathered from all Regions and displayed in the output. To run this automation, follow the instructions in Run an automation.
Delete or terminate EC2 resources
To terminate (delete) all your active resources, do the following in the respective Regions:
Note: Deleted, terminated, or released resources can't be recovered.
Note: Reserved Instances are billed as a flat fee each month. Instead, the fee is determined by the contract that you agreed to when you activated the Reserved Instance. Reserved Instances can't be canceled, but if you have a US bank account, you can list them for sale on the Reserved Instance Marketplace.
The following EC2-related resources don't generate charges when used or provisioned to an account:
Virtual private clouds (VPCs)
Elastic network interfaces
Auto Scaling groups
Note: Amazon Lightsail and EC2 are separate services and are billed separately. For more information about Lightsail, see Lightsail docs.