Skip to content

mehmetmgrsl/aws-cost-optimization

Repository files navigation

ec2-volume-snapshots

Backup of volume -> Snapshot

  • Delete EC2 instance if it is not needed anymore and forgot to delete volumes and snaphots

S3 buckets. Then if you don't need those bucket if you forgot to delete them.

EKS cluster to test sth but forgot to delete it.

Stale resources. Created but forgot to delete it.


If any stale resources are detected, the DevOps Engineer can receive notifications, such as:

  • Hey, I have noticed that you have created an EBS volume, but it is not attached to any EC2 instances.
  • Or, you have created a bunch of snapshots that are not attached to any volumes or EC2 instances.

Why don't you delete them?


Lambda functions:

  • python (boto3)

  • to talk to AWS API

  • Call Lambda function once a week using CloudWatch.

Some tools

  1. AWS Trusted Advisor
  • It provides recommendations across multiple categories, including cost optimization and security.
  • It has free tier which includes basic checks and paid version for the detailed one.

Resources:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages