Wrapping up
If you completed all these steps, then you’ve deployed test and production environments, so it is time to clean up! You have deployed many resources into AWS throughout the chapter, so make sure you delete them if you do not want to keep paying for them. You can do this via the AWS console or the following AWS CLI commands:
eksctl delete cluster -n test-catalog aws cloudformation delete-stack --stack-name test-cart aws cloudformation delete-stack --stack-name test-checkout aws cloudformation delete-stack --stack-name test-frontend eksctl delete cluster -n production-catalog aws cloudformation delete-stack --stack-name production-cart aws cloudformation delete-stack --stack-name production-checkout aws cloudformation delete-stack --stack-name production-frontend
If you missed anything or got stuck and are having trouble putting the entire solution together, the pipeline definitions can be found in the GitHub repository mentioned in the Technical requirements...