Deploy a Web App using AWS App Runner

GETTING STARTED GUIDE

Module 2: Clean Up Resources

In this module, you will clean up the resources that you deployed in previous modules

Introduction

You have now completed this guide, but you still need to clean up the resources created during this guide. If your account is still in the free tier, it will cost $58.50 / month to run, or 7.8c USD per hour.

What You Will Learn

  • Clean up all resources created by AWS CDK in the previous modules

 Time to Complete

< 5 minutes

 Module Prereqs

  • AWS Account with administrator-level access**
  • Recommended browser: The latest version of Chrome or Firefox

[**]Accounts created within the past 24 hours might not yet have access to the services required for this tutorial.

Implementation

Delete the Cloud-Based Infrastructure

AWS CDK makes it easy to delete your infrastructure with just one command. To remove all the infrastructure you created, use the cdk destroy command - this will only remove infrastructure created during this guide. 

You will see a confirmation: 

cdk destroy 

Are you sure you want to delete: InfraStack (y/n)? 

After pressing y and enter, it will start removing all the infrastructure and provide updates. Once completed, you will see the following:

Are you sure you want to delete: InfraStack (y/n)? y
InfraStack: destroying...

✅  InfraStack: destroyed

This is the end of this guide, we hope you enjoyed it. If you have any feedback, please use the feedback button at the bottom of this page.

Before you close this guide, we recommend destroying the infrastructure you just created after you have finished testing it. If you decide to keep it running for additional testing, please note that it will cost $58.50 / month to run in the current setup, or $0.08 USD per hour.

Conclusion

Congratulations! You have finished the Deploy a Containerized Web Application using AWS App Runner getting started guide. Continue your journey with AWS by following the next steps section.

Was this page helpful?