"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
posta un anno fa312 visualizzazioni
1 Risposta
0
Risposta accettata

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
con risposta un anno fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande