"Undeploy" web application

0

I am new to AWS and I'm "playing" with the AWS Toolkit for Visual Studio. I was pleasantly surprised by how easy it is to deploy a sample web application. However, in doing so, I've created a number of resources and I'd like to avoid unnecessary costs for those resources. What is the cleanest way for me to remove the applications from AWS and clean up the associated resources? I'm not even sure how I would determine which resources were created by "Publish to AWS...", so any help identifying the resources I need to clean up would be helpful also.

The application in question is just a slightly modified version of the HelloBlazor sample project.

sisco
질문됨 일 년 전310회 조회
1개 답변
0
수락된 답변

When you deploy application using the deploy tool a new CloudFormation template will be created, if you want to delete all of the newly deployed infrastructure all you need to do is to delete that cloud formation. You should be able to go to CloudFormation and find a stack with your project's name, by deleting it you will remove all of the deployed infrastructure including and additional nested stacks created.

profile pictureAWS
답변함 일 년 전
  • Additionally, the AWS Toolkit itself can delete Elastic Beanstalk environments, Lambda functions, and ECS clusters, as well as deleting entire CloudFormation stacks. To do this, find the resource in the AWS Explorer (if that's not visible, use View -> AWS Explorer from main menu), then right-click and choose "Terminate" or "Delete" as appropriate. As Dror said, for anything that was deployed using a CloudFormation stack (like a serverless app that creates Lambda and API Gateway), you should choose the CloudFormation stack and delete that.

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

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

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

관련 콘텐츠