This section guides you through cleaning up all AWS resources created during this workshop to avoid ongoing charges. Follow the steps in order as some resources depend on others.
Important: Deleting resources is irreversible. Make sure you have backed up any data you need before proceeding.
First, delete the CI/CD pipeline to stop any automated deployments.
ielts-pipeline)Stop and delete all ECS services before deleting the cluster.
ielts-cluster)0 → UpdateDelete container images and repositories.
ielts-frontendielts-backendDelete serverless AI components in this order:
writing-evaluatorspeaking-evaluatorflashcard-generatorevaluation-statuss3-uploadielts-ai-api)writing-evaluation-queuewriting-evaluation-dlqspeaking-evaluation-queuespeaking-evaluation-dlqflashcard-generation-queueflashcard-generation-dlqevaluationsflashcard-setsielts-alb)RDS deletion may take 5-10 minutes to complete.
ielts-audio-bucketielts-documents-bucketS3 buckets must be emptied before they can be deleted.
/aws/lambda/writing-evaluator/aws/lambda/speaking-evaluator/aws/lambda/flashcard-generator/ecs/ielts-frontend/ecs/ielts-backendDelete network resources in this specific order:
ecsTaskExecutionRole (if created for this workshop)ielts-lambda-execution-roleBe careful not to delete IAM resources used by other applications.
After completing the cleanup, verify all resources are deleted:
| Resource | Service Console | Status |
|---|---|---|
| CodePipeline | CodePipeline | ☐ Deleted |
| ECS Cluster | ECS | ☐ Deleted |
| ECR Repositories | ECR | ☐ Deleted |
| Lambda Functions | Lambda | ☐ Deleted |
| API Gateway | API Gateway | ☐ Deleted |
| SQS Queues | SQS | ☐ Deleted |
| DynamoDB Tables | DynamoDB | ☐ Deleted |
| Load Balancer | EC2 | ☐ Deleted |
| RDS Instance | RDS | ☐ Deleted |
| ElastiCache | ElastiCache | ☐ Deleted |
| S3 Buckets | S3 | ☐ Deleted |
| Secrets | Secrets Manager | ☐ Deleted |
| CloudWatch Logs | CloudWatch | ☐ Deleted |
| NAT Gateway | VPC | ☐ Deleted |
| VPC | VPC | ☐ Deleted |
| IAM Roles | IAM | ☐ Deleted |
To ensure no unexpected charges:
Wait 24-48 hours and check your billing dashboard again to confirm all resources have been cleaned up and no charges are accruing.