"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
preguntada hace un año310 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
respondido hace un año
  • 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.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas