Clean up resources

Delete Lambda Function

  1. Access AWS Lambda
  2. Select the functions dc-common-lambda-auto-stop and dc-common-lambda-auto-start
  3. Select ActionsDelete

Delete EventBridge Schedule

  1. Access Amazon EventBridge Scheduler
  2. Select the schedules dc-common-lambda-auto-stop and dc-common-lambda-auto-start
  3. Select Delete

Delete IAM Role

  1. Access IAM Roles
  2. Find and select the role dc-common-lambda-role
  3. Select Delete

Terminate EC2 Instance

  1. Access EC2 Instances
  2. Select instances with the tag environment_auto: true
  3. Select Instance stateTerminate (delete) instance

Delete VPC

  1. Access VPC
  2. Select the VPC created in the lab
  3. Select ActionsDelete VPC (this will automatically delete the associated Subnet, Internet Gateway, and Route Table)

Delete Slack App

  1. Access Slack API - Your Apps
  2. Select the App Lambda-Notifier
  3. Scroll down to the bottom of the Basic Information page → select Delete App