We strongly recommend that you shut down every resource (e.g., EC2 instances, or any other hosted service) on the AWS cloud immediately after usage, even if you are in the middle of your project and need to step away. You can always re-instantiate later!
Below are a few examples of how to terminate AWS services to help you prevent spending over your Free Tier limits and credit amount.
Terminate the VPC
After you finish working, disable the EC2 instance and terminate the VPC by following the instructions below:
- From the EC2 Dashboard, select the instance you have created, click Actions >> Instance State >> Terminate.
- From the VPC Dashboard, select the VPC you have created, and click Actions >> Delete VPC.
Delete your Redshift Cluster
Make sure to delete your cluster after you finish working in one sitting session. You can always launch a new cluster, so don’t leave it running overnight or throughout the week!
- On the Clusters page of your Amazon Redshift console, click on the box next to your cluster to select it, and then click on Cluster >> Delete cluster.
Delete Database Instance
Clean up the resources to avoid recurring charges.
- From the RDS Dashboard homepage, select Databases from the left-hand navigation pane.
Select your newly-created database by clicking on the name radio button next to the name.
From the Actions menu, select Delete.
S3 Bucket Access Configuration and Deletion
- Make sure that the S3 bucket does not allow public access. Otherwise, you may end up having to pay lots of fees in data transfers from your bucket if others access large amounts of data with your bucket.
- After usage, make sure to delete your buckets by following the instructions here.
Delete the Cloudformation Stack
Remember to delete your CloudFormation stack when you’re done to avoid recurring charges!
- When you specify a stack to delete, the AWS CloudFormation deletes the stack and all the resources in that stack.
You can delete stacks by using the AWS CloudFormation console, API, or AWS CLI.