Deploy a Web App Using AWS App Runner


Module 2: Clean Up Resources

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


You have now completed this guide, but you still need to clean up the resources created during this tutorial. If your account is still in the Free Tier, it will cost $58.50 per month to run, or $0.078 per hour.

What you will accomplish

In this module, you will:
  • Clean up all resources created by AWS CDK in this tutorial

 Time to complete

< 5 minutes

 Module prerequisites

  • 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.


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 tutorial. 

You will see a confirmation: 

cdk destroy 

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

After you press y and Enter, CDK 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 tutorial; we hope you enjoyed it. If you have any feedback, please use the feedback button on this page.


Congratulations! You have finished the Deploy a Web App Using AWS App Runner tutorial. Continue your journey with AWS by following the next steps section.

Was this page helpful?