Terminate active AWS resources that you no longer need (2024)

By using AWS re:Post, you agree to the

AWS re:Post

Terms of Use

re:Post

4 minute read

I want to terminate active resources that I no longer need.

Resolution

Subscriptions

You will continue to incur charges for Savings Plans, Reserved Instances, or other Subscriptions even after you close or suspend your account.

  • If you have Reserved Instances (RIs) with a monthly charge on your account, then you're billed for these subscriptions until the plan term ends. This applies to monthly charges such as:
    Amazon Elastic Compute Cloud (Amazon EC2) RIs
    Amazon Relational Database Service (Amazon RDS) RIs
    Amazon Redshift RIs
    Amazon ElastiCache Reserved Cache Nodes
  • AWS can't cancel an RI before the subscription term ends. You can list your Amazon EC2 RIs for sale on the EC2 Reserved Instance Marketplace. For more information, see Sell in the Reserved Instance Marketplace.
  • If you have active AWS Marketplace subscriptions, these subscriptions aren't automatically canceled on account closure. You must first terminate all instances of your software in the subscriptions. Then, cancel subscriptions on the Manage subscriptions page of the AWS Marketplace console.
  • If you signed up for a Savings Plan, then you're charged for the compute usage covered under the Savings Plan until the plan term ends.

Resources

Note: You don't need to delete your resources before you close your account.

To find your active resources, see How do I check for active resources that I no longer need on my AWS account?

To terminate active resources under different services, do the following:

  1. Open the AWS Management Console.
  2. Open the console for the service that contains the resources that you want to terminate (for example, Amazon Simple Storage Service). You can find a specific service by entering the service name in the search bar.
  3. After opening the service console, terminate all your active resources. Be sure to check each Region where you have allocated resources.
    Note: You can change the Region with the Region selector in the navigation bar.

To terminate your active resources for some commonly used AWS services, do the following:

Amazon EC2

  • To delete active Amazon EC2 instances, see How do I delete or terminate my Amazon EC2 resources?
  • You might be charged for Elastic IP addresses even after you terminate all your EC2 instances. You can stop the charges by releasing the IP address. For more information, see Why am I being billed for Elastic IP addresses when all my Amazon EC2 instances are terminated?
  • Why am I charged for Amazon EBS when all my instances are stopped?
    Note: The Amazon EBS root device volumes are automatically deleted when you terminate your EC2 instances.

Amazon S3

  • To delete Amazon Simple Storage Service (Amazon S3) objects and buckets, see How do I delete Amazon S3 objects and buckets?
    Note: Be sure that the Server access logging for your Amazon S3 bucket is deactivated before deleting the objects in the bucket. Otherwise, logs might be immediately written to your bucket after you delete your bucket's objects. For more information, see Turning on Amazon S3 server access logging.
  • If you have an Amazon S3 bucket that was created by AWS Elastic Beanstalk, you must first delete the Bucket Policy. The Bucket Policy is located in the Permissions section of the bucket properties in the Amazon S3 console. For more information, see Using Elastic Beanstalk with Amazon S3.
    Note: If you delete a bucket created by Elastic Beanstalk and you have existing applications in the corresponding Region, your applications might not function accurately.

Amazon RDS

  • To delete Amazon RDS Amazon Relational Database Service (Amazon RDS) resources, see Deleting a DB instance.
  • To delete Amazon RDS snapshots, see Deleting a DB snapshot.
  • To delete retained automated backups of DB instances, see Working with backups.
    Important: To delete a DB instance or DB snapshot that has deletion protection activated, you must modify the instance and deactivate deletion protection.

Amazon Lightsail

  • To delete your active Lightsail resources, see How do I shut down my Amazon Lightsail resources?

Other services

It's a best practice to delete your active AWS Directory Service directories before account closure. For more information, see How do I delete an AWS Directory Service directory?

To terminate resources for other services not listed in this article, see the AWS Documentation for that service.

Related information

Why did I receive a bill after I closed my AWS account?

How do I terminate an Amazon EMR cluster?

How do I delete or terminate an Amazon ECS service?

How do I delete or terminate a Client VPN endpoint or connection on AWS Client VPN?

How do I delete a NAT Gateway in Amazon VPC?

Topics

Cloud Financial Management

Tags

AWS Account ManagementAWS Billing

Language

English

Terminate active AWS resources that you no longer need (2)

AWS OFFICIALUpdated 4 months ago

9 Comments

Thank you for your comment. We'll review and update the Knowledge Center article as needed.

Terminate active AWS resources that you no longer need (3)Terminate active AWS resources that you no longer need (4)

MODERATOR

AWS Officiallg...

replied

a year agolg...

this script deletes nearly all common used services in all regions.

https://github.com/sinanartun/aws_delete_all

thank you for support.happy coding

synanlg...

replied

8 months agolg...

With all due respect, this article is not clear nor intuitive.

I've had to do my own research to solve this problem and I've summarized what you need to do.

How to terminate your resources:

1 - acess AWS Dashboard

2 - in the search bar type in "tag editor"

3 - in "Find resources to tag" > "Regions" leave **"All regions" ** selected

4 - in "Resource types" select "AWS::EC2::Instance"

5 - Click "Search resources"

6 - All your active resources will be listed. Right click the name of the resource > "open in a new tab"

6 - in the new tab you've opened, go to "Instances" > "Instances".

7 - Go to the Instance name and right-click it and then click "terminate"

Now, in order to terminate your account:

1 - on AWS Dashboard, click on your user name on the top-right corner of the screen

2 - select "Account"

3 - roll all the way down and click "Terminate your account"

See? It's not so hard :)

Nasheeddlg...

replied

8 months agolg...

Thank you for your comment. We'll review and update the Knowledge Center article as needed.

Terminate active AWS resources that you no longer need (5)Terminate active AWS resources that you no longer need (6)

MODERATOR

AWS Officiallg...

replied

8 months agolg...

How can I delete all Amazon Polly resources?

phonglg...

replied

8 months agolg...

Thank you for your comment. We'll review and update the Knowledge Center article as needed.

Terminate active AWS resources that you no longer need (7)Terminate active AWS resources that you no longer need (8)

MODERATOR

AWS Officiallg...

replied

8 months agolg...

There are open-source tools to do the factory reset of the AWS account.

Terminate active AWS resources that you no longer need (9)

Ashish Patellg...

replied

3 months agolg...

Thank you for your comment. We'll review and update the Knowledge Center article as needed.

Terminate active AWS resources that you no longer need (10)Terminate active AWS resources that you no longer need (11)

MODERATOR

AWS Officiallg...

replied

2 months agolg...

Relevant content

  • How to use Resource Tags to track spend incurring with Savings Plan and Reserved Instances?

    Accepted Answer

    rePost-user-black-hawklg...

    asked

    a year agolg...

  • Will costs continue when I shutdown my VPS?

    Anh Tulg...

    asked

    3 months agolg...

  • Which Resources Continue To Incur Fees After Account Suspend/Close?

    Accepted Answer

    Terminate active AWS resources that you no longer need (12)

    Keith_Mlg...

    asked

    4 months agolg...

  • AWS savings plan and reserve instance

    rePost-User-8174665lg...

    asked

    a year agolg...

  • AWS CUR - Understanding Savings Plan and Reserved Instance Billing

    Accepted Answer

    Santosh Sahoolg...

    asked

    7 months agolg...

  • How do I check for active resources that I no longer need on my AWS account?

    Terminate active AWS resources that you no longer need (13)

    AWS OFFICIALUpdated 4 months ago

  • How do I delete or terminate my Amazon EC2 resources?

    Terminate active AWS resources that you no longer need (14)

    AWS OFFICIALUpdated 2 years ago

  • Can I use AWS promotional credits to purchase a Reserved Instance or Savings Plan?

    Terminate active AWS resources that you no longer need (15)

    AWS OFFICIALUpdated 2 years ago

  • Why am I being charged for Amazon EC2 when all my instances were terminated?

    Terminate active AWS resources that you no longer need (16)

    AWS OFFICIALUpdated 2 years ago

  • Optimizing Reserved Instance Purchases for RDS when Instance Scheduling is in use

    Terminate active AWS resources that you no longer need (17)Terminate active AWS resources that you no longer need (18)

    EXPERT

    jamesflg...

    published

    6 months agolg...

Terminate active AWS resources that you no longer need (2024)
Top Articles
Latest Posts
Article information

Author: Kerri Lueilwitz

Last Updated:

Views: 5963

Rating: 4.7 / 5 (47 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Kerri Lueilwitz

Birthday: 1992-10-31

Address: Suite 878 3699 Chantelle Roads, Colebury, NC 68599

Phone: +6111989609516

Job: Chief Farming Manager

Hobby: Mycology, Stone skipping, Dowsing, Whittling, Taxidermy, Sand art, Roller skating

Introduction: My name is Kerri Lueilwitz, I am a courageous, gentle, quaint, thankful, outstanding, brave, vast person who loves writing and wants to share my knowledge and understanding with you.