Deploy a Container Web App on Amazon EKS

GETTING STARTED GUIDE

Module 5: 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. 

What You Will Learn

  • How to remove AWS resources created with a CDK application

 Time to Complete

< 2 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

Cleaning up your AWS environment

If your account is still in the free tier, it will cost ~$75.00 USD / month to run, or 10c USD per hour. 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

You should receive the below prompt. 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: CdkEcsInfraStack (y/n)? y
CdkEcsInfraStack: destroying...

 ✅  CdkEcsInfraStack: destroyed

Conclusion

Congratulations! You have finished the Deploy a Web App on Amazon Elastic Kubernetes Service (EKS) getting started guide. Continue your journey with AWS by following the next steps section below.

Was this page helpful?