When you are ready, just follow these last two steps to clean up the resources that were setup just for this workshop.
In order to prevent charges to your account, we recommend cleaning up the infrastructure that was created. If you plan to keep things running, so you can examine the workshop a bit more, then please remember to do the clean-up when you are done. It is very easy to leave things running in an AWS account, forget about it, and then accrue charges.
Copy, paste and execute the following commands into Cloud9’s terminal in sequence to commence the clean-up activity.
wget https://aws-wrkshp-artifacts.s3-eu-west-1.amazonaws.com/awsworkshop_infrastructure_artefacts/awsworskhop_cleanup_environment.sh
chmod +x awsworskhop_cleanup_environment.sh
./awsworskhop_cleanup_environment.sh
This complete step takes approximately 5 minutes and if successful, you should see the following relevant messages for each command:
In the AWS console, go to CloudFormation and verify that none of the stacks are listed in CloudFormation and then you are done.
Finally, close the Cloud9 window and manually delete your Cloud9 environment. Please follow the below steps: