Clean up
After completing the lab session, clean up all test infrastructure resources to avoid incurring ongoing charges on your AWS account:
- Delete all test image files uploaded to the botdevgroup-documents S3 bucket to avoid monthly storage fees.
- Delete the Interface VPC Endpoint vpce-s3-interface to release the Network Interfaces and stop hourly charges for AWS PrivateLink.
- Detach the Gateway VPC Endpoint vpce-s3-gateway from the Private Subnets Route Table to restore the original VPC routing configuration.
- Delete Security Groups and test DNS records on Route 53 Resolver.
- Run the Docker cache cleanup command (
docker system prune -af) on the EC2 server to free up EBS disk space.