Congratulations. You have successfully helped the team at catsndogs.lol build a highly scalable container based application architecture and an automated deployment pipeline. This lab simply cleans up all the resources you have created in previous labs.
-
Delete the ECS Cluster. This will also delete all the ECS Tasks and Services within the cluster.
-
If it exists, delete the Auto Scaling Group ECS-On-Demand-Group
-
If it exists, delete the Launch Configuration On-Demand-ECS
-
Verify the cats, dogs, simplehomepage, MXnet, and ImageAssessor task definitions are deleted (this is done by deregistering them)
-
Delete the cats, dogs and simplehomepage ECR repositories if they exist.
-
Delete the Parameter Store secure string named UnicornLocation.
-
Delete the CloudWatch events ImageAssessor and HandleECSEvents
-
Delete the CloudWatch alarms ScaleDownSpotFleet and ScaleUpSpotFleet
-
Delete the CloudWatch Logs log groups for:
a. aws/codebuild/dogs-build
b. All log groups beginning with aws/lambda/Lab7
-
Delete the CodePipeline pipeline.
-
Delete the CodeBuild project.
-
Empty and delete the CodeUploads S3 bucket.
-
Delete the Step Functions state machine.
-
Delete the Route 53 A-type record sets inside the catsndogs.lol hosted zone.
-
Delete the CloudFormation stacks you created. Because later labs rely on the stacks from earlier labs, you should delete the Lab0 stack only after the others have reached the DELETE_COMPLETE state:
a. Lab7: catsndogsECStasksandservices-green
b. Lab 6: catsndogs-ide
c. Lab2: Lab2-create-ecs-tasks-and-services and Lab2-loadgenerator
d. Lab1: Lab1-add-ondemand-asg-to-cluster
e. Lab0: catsndogssetup
Feedback? Comments? catsndogs@amazon.com
Thank you