Is there a way to restore all settings back to default

0

I'm on a free account trying to learn as much as possible and I seem to not be able to connect and I've created to many default network interfaces. I would like to reset everything. I don't mind losing my work.

asked 6 months ago453 views
2 Answers
1

Unfortunately, nothing build-in to accomplish the same. Think of this as a Non-repudiation security feature to provide visibility on what the account has been used for. There is no built-in way to accomplish this task. When using AWS services, you might change your account configuration and/or create various resources like IAM roles or CloudWatch log groups. Additionally, you might change global or regional service configurations (e.g. for AWS Config or Amazon API Gateway). Further more, while using the services, your account's internal metrics will change. So basically, there is no way to do a 'factory reset' of an AWS account.

Even when you deploy your resources using the IaC approach (AWS CloudFormation or AWS CDK) and then delete the stacks, you still might have some data or configuration that differs from defaults (e.g. CloudWatch metrics - you cannot delete them, they expire automatically).

The only way to fully reset everything is to delete your existing account and create a new one.

Open-source tools may serve your purpose. Such as AWS-Nuke or Cloud-Nuke. However, please use it at your own risk. Warning: these open source tools are not provided by AWS. You should take every precaution to ensure that nothing critical gets deleted, and you are responsible for your choices and actions.

If you are on a learning path best thing to do is setup a seperate new account. or use aws skillbuilder which provides sandbox environment which will allow you to experiment freely.

profile pictureAWS
answered 6 months ago
0

Detailed advice on terminating resources you don't need any more is here https://repost.aws/knowledge-center/terminate-resources-account-closure

A drastic option if you want to terminate all running resources in your account is AWS Nuke (caution: use with care!) https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/automate-deletion-of-aws-resources-by-using-aws-nuke.html

profile picture
EXPERT
Steve_M
answered 6 months 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