Step 8: (Optional) clean up resources - Amazon DynamoDB

Step 8: (Optional) clean up resources

If you no longer need the Amazon DynamoDB table that you created for the tutorial, you can delete it. This step helps ensure that you aren't charged for resources that you aren't using. You can use the DynamoDB console or the AWS CLI to delete the Music table that you created in Step 1: Create a table.

For more information about table operations in DynamoDB, see Working with tables and data in DynamoDB.

To delete the Music table using the console:

  1. Open the DynamoDB console at https://console.aws.amazon.com/dynamodb/.

  2. In the left navigation pane, choose Tables.

  3. Choose the checkbox beside the Music table in the table list.

  4. Choose Delete.

The following AWS CLI example deletes the Music table using delete-table.

aws dynamodb delete-table --table-name Music