sisko
sisko

Reputation: 9900

How to delete everything in an AWS account?

Is there a way to nuke all existing settings in an AWS account to begin again on a clean slate?

I an AWS beginner and after getting tangled up and my web site no longer loading, I need a clean slate to start afresh i.e. delete all AIM, ECS, S3, Load balancers etc all in one go.

Upvotes: 1

Views: 3134

Answers (2)

Rob Knight
Rob Knight

Reputation: 41

I would suggest https://github.com/rebuy-de/aws-nuke - it can clean everything from every region and is the best tool I've found yet!

Upvotes: 4

l0b0
l0b0

Reputation: 58788

Probably not. This is a common safety + security mechanism in such complex and important systems: nobody should be able, by accident or otherwise, to quickly and easily delete everything. Using an infrastructure as code process, however, you would be able to do this by simply declaring the entire stack as unwanted. This is relatively safe for the simple reason that you can usually bring this kind of infrastructure back up again in a short time span, as long as care was taken during development to make sure that any permanent state cannot be irrevocably destroyed by infrastructure declaration changes.

Upvotes: -1

Related Questions