Clean Up Resources

We will proceed with the following steps to delete the resources we created during this exercise.

DynamoDB

  1. Access DynamoDB
  • Click Tables.
  • Click Action.
  • Type Confirm.
  • Click Delete.

Lambda

  1. Access Lambda
  • Select the two functions.
  • Click Action.
  • Click Delete.
  • Type delete and click Delete to remove the functions.

Delete S3 Bucket

  1. Access S3
  • Select the S3 bucket we created for this exercise.
  • Click Empty.
  • Type permanently delete, then click Empty to delete objects in the bucket.
  • Click Exit.
  • After deleting all objects in the bucket, click Delete.
  • Type the name of the S3 bucket, then click Delete bucket to remove the S3 bucket.

Delete API

  1. Access API Gateway
  • Click on the API you created.
  • Click API Action.
  • Click Delete API.
  • Type confirm and click Delete to remove the API.

Delete CloudFront Distribution

  1. Access CloudFront
  • Click Distribution.
  • Select the Distribution you created.
  • Click Disable. Once the Distribution is disabled, its status will change to “Disabled”.
  • When the Distribution status changes to Disabled, select it again from the list.
  • Click Delete at the top of the interface.
  • Confirm the action by clicking Yes, Delete in the popup dialog.