How do I factory reset my AWS Account or how do I delete all the services and their resources back to having a clean slate?

0

I have used AWS services for a while. But now I want to delete all services and resources to start fresh. Some 'Stacks' from CloudFormation and 'Applications' from Lambda are not getting deleted when I try to delete them. How do I delte these resources? Alternatively, is their any button in AWS that reset the account?

Vikrant
질문됨 9달 전754회 조회
3개 답변
0

Hello.
What error occurs when I try to delete CloudFormation?

I think that using aws-nuke will help to delete most all resources.
https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/automate-deletion-of-aws-resources-by-using-aws-nuke.html

profile picture
전문가
답변함 9달 전
  • When I try to delete a stack from CloudFormation, a red coloured snackbar appears at the top saying, 'Failed to delete stack.'

  • Thanks for the reply. By the way, what kind of resources are you creating in that CloudFormation stack?

0

There is no button in AWS that resets the account, but you can delete all of your resources manually. Here are the steps on how to delete a stack from CloudFormation:

Go to the CloudFormation console. In the navigation pane, choose Stacks. Select the stack that you want to delete. In the Actions menu, choose Delete Stack. In the confirmation dialog box, choose Delete. Here are the steps on how to delete an application from Lambda:

Go to the Lambda console. In the navigation pane, choose Functions. Select the function that you want to delete. In the Actions menu, choose Delete Function. In the confirmation dialog box, choose Delete. If you are still having trouble deleting these resources, you can contact AWS Support for help.

profile picture
답변함 9달 전
  • I followed these steps exactly. But got an error. A red coloured error snackbar at the top saying, "Failed to delete stack". Hence the question here.

0

Have you tried steps in this trouble shooting document ?https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-delete-stack-fails

Have you checked your role, if you have permissions of deleting a stack? Also do you see any error in the events tab?

img

AWS
답변함 9달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠