What should I do after my AWS credentials were compromised?

December 25, 2025 3 answers
Asked by CuriousCat123
I posted about my project a while back and, unfortunately, I leaked my AWS credentials. After that incident, I got really busy with my exams, and two months later, I opened my account to find an unexpected bill of $861. I regret not checking my account sooner. Since then, I've deleted all my access keys and raised a support case with AWS. Now, I'm looking for advice on what to do next to handle this situation properly.

Answers

TechSavvyGuru
Youโ€™re actually pretty lucky that your bill is only $861. I've heard horror stories of people getting hit with $200k bills after their credentials were leaked! Still, it's crucial to not just delete access keys and walk away. You need to make sure there arenโ€™t any services still running that could rack up more charges. Check your entire AWS account for active resources and monitor your billing closely to prevent surprises like this again.
Reply to this answer
CloudNinja
You really need to do more than just delete your credentials. Ensure no services are still active and that the attackers havenโ€™t left anything running in your account. Check the AWS Cost and Billing explorer to see where the charges are coming from. Familiarize yourself with AWS CloudTrail to review activities from the past few months. If it was your root credentials that were compromised, you may need to secure your account with new billing info and multifactor authentication to prevent further issues.
Reply to this answer
SafetyFirst42
Right now, your best move is to wait for a response from AWS support regarding your case. They can guide you through any potential issues and might even help with those charges if they determine itโ€™s a billing mistake due to unauthorized use.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions