By using AWS re:Post, you agree to the Terms of Use
/Need information about who and from where my instances deleted./

Need information about who and from where my instances deleted.


My instances were deleted on 21st May 2022. How to get information about the who is deleted my instances. I contacted support but they said that it was deleted by API Call (API Call for delete cluster).

So my question is:-

  1. How could an API call delete a whole Instance... that seems impossible.
  2. How do we find out what / who caused the API call?

please guide me how to find above information other than contact to support.


2 Answers

Hello there

The solution to this problem would be to use AWS CloudTrail as it is a service that records the actions taken by a user, role, or an AWS service,see reference [1].

CloudTrail is enabled on your AWS account when you create it. When activity occurs in your AWS account, that activity is recorded in a CloudTrail event. You can easily view recent events in the CloudTrail console by going to Event history.

To find out more about how CloudTrail works, see reference [2].

In order to create a trail, you can follow the steps mentioned in the documentation, see reference [3].

After creating your trail, you can view your log files as specified in the documentation provided in [4].

For CloudTrail workflow, see reference [5].







answered 21 days ago

@Asenathi is correct that CloudTrail is the service for the job. In order to see the API calls, specifically the one you are looking for, you would've had to had CloudTrail turned on already. If you don't have it enabled, follow the info/documents that @Asenathi referenced.

If you already had CloudTrail enabled and were looking to track down the exact API call, what you can do is go to the CloudTrail console by searching for CloudTrail in the search bar. On the left hand menu, select Event History and in the dropdown filter box select the Event name and search for DeleteCluster. You'll be able to actually click on the event and see the date, time, source, user name, and much more.

Here's the DeleteCluster API reference documentation where you can get more information on that specific API call.

answered 20 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions