Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Workshop Cleanup

This page provides instructions for cleaning up the resources created during the preceding modules.

Resource Cleanup Instructions

1. Module 4 - REST API Cleanup

Delete the REST API created in module 4. There is a Delete API option in the Actions drop-down when you select your API in the Amazon API Gateway Console.

✅ Step-by-step directions

  1. Go to the Amazon API Gateway Console
  2. Select the API you created in module 4.
  3. Expand the Actions drop-down and choose Delete API.
  4. Enter the name of your API when prompted and choose Delete API.

2. Module 3 - Serverless Backend Cleanup

Delete the AWS Lambda function, IAM role and Amazon DynamoDB table you created in module 3.

✅ Step-by-step directions

Lambda Function

  1. Go to the AWS Lambda console
  2. Select the RequestUnicorn function you created in module 3.
  3. From the Actions drop-down, choose Delete function.
  4. Choose Delete when prompted to confirm.

IAM Role

  1. Go to the AWS IAM Console
  2. Select Roles from the navigation menu.
  3. Type WildRydesLambda into the filter box.
  4. Select the role you created in module 3.
  5. From the Role actions drop-down, select Delete role.
  6. Choose Yes, Delete when prompted to confirm.

DynamoDB Table

  1. Go to the Amazon DynamoDB Console
  2. Choose Tables in the navigation menu.
  3. Choose the Rides table you created in module 3.
  4. Choose Delete table from the Actions drop-down.
  5. Leave the checkbox to Delete all CloudWatch alarms for this table selected and choose Delete.

3. Module 2 - User Management Cleanup

Delete the Amazon Cognito User Pool

✅ Step-by-step directions

  1. Go to the Amazon Cognito Console
  2. Choose Manage your User Pools.
  3. Select the WildRydes user pool you created in module 2.
  4. Choose Delete Pool in the upper right corner of the page.
  5. Complete the application deletion process.

4. Module 1 - Web Application Cleanup

Delete the AWS Amplify Console application and optionally the AWS CodeCommit or GitHub repository created:

✅ Step-by-step directions

For the Amplify Console web applcation:

  1. Launch the Amplify Console console page.
  2. Select the application you launched today.
  3. From Actions in the top right corner, select Delete App
  4. Complete the application deletion process.

For the CodeCommit repository:

  1. Open the AWS CodeCommit console
  2. Select the radio button next to the repository created today.
  3. Select Delete repository from the upper right of the page.
  4. Complete the repository deletion process.

5. CloudWatch Logs Cleanup

AWS Lambda automatically creates a new log group per function in Amazon CloudWatch Logs and writes logs to it when your function is invoked. You should delete the log group for the RequestUnicorn function.

✅ Step-by-step directions

  1. From the AWS Console click Services then select CloudWatch under Management Tools.
  2. Choose Logs in the navigation menu.
  3. Select the /aws/lambda/RequestUnicorn log group. If you have many log groups in your account, you can type /aws/lambda/RequestUnicorn into the Filter text box to easily locate the log group.
  4. Choose Delete log group from the Actions drop-down.
  5. Choose Yes, Delete when prompted to confirm.
  6. If you launched any CloudFormation templates to complete a module, repeat steps 3-5 for any log groups which begin with /aws/lambda/wildrydes-webapp.

6. Cloud9

DO NOT REMOVE Cloud9 Development environment created for the exercise. The environment will be useful for Lab 2 of AWS Serverless Immersion Day.

You can delete the Cloud9 Development environment after completing Lab 2.