Clean up resources
Delete Lambda Function
- Access AWS Lambda
- Select the functions
dc-common-lambda-auto-stop and dc-common-lambda-auto-start - Select Actions → Delete
Delete EventBridge Schedule
- Access Amazon EventBridge Scheduler
- Select the schedules
dc-common-lambda-auto-stop and dc-common-lambda-auto-start - Select Delete
Delete IAM Role
- Access IAM Roles
- Find and select the role
dc-common-lambda-role - Select Delete
Terminate EC2 Instance
- Access EC2 Instances
- Select instances with the tag
environment_auto: true - Select Instance state → Terminate (delete) instance
Delete VPC
- Access VPC
- Select the VPC created in the lab
- Select Actions → Delete VPC (this will automatically delete the associated Subnet, Internet Gateway, and Route Table)
Delete Slack App
- Access Slack API - Your Apps
- Select the App Lambda-Notifier
- Scroll down to the bottom of the Basic Information page → select Delete App