In the previous modules, you built a turn-based game with notifications to alert users. To build this game, you used:

These tools provide flexible, high-scale solutions to many problems you face when building high-traffic game applications.

In the following steps, you clean up the resources you created in this lab.

Time to Complete Module: 20 Minutes


  • Step 1. Delete AWS Lambda, Amazon API Gateway, Amazon DynamoDB, and Amazon Cognito resources

    First, delete your application resources.

    In the scripts/ folder, there is a file called delete-resources.sh. This script deletes your Lambda function, your API Gateway REST API, your function’s IAM role, your DynamoDB table, and your Amazon Cognito user pool.

    Execute this script with the following command in your terminal:

    bash scripts/delete-resources.sh

    You should see the following output in your terminal:

    Removing REST API
    Deleting IAM role
    Deleting Lambda function
    Deleting Cognito User Pool
    Deleting DynamoDB table
  • Step 2. Delete the AWS Cloud9 environment

    Finally, delete the AWS Cloud9 environment that you used in this lab:

    1. Navigate to the AWS Cloud9 console.
    2. Choose the Turn-based game environment and choose Delete.
    3. In dialog box, type Delete and choose Delete.