EC2 Cost Management

0

Hi AWS, my organization is planning to develop a mechanism around filtering unused or orphaned EC2 instance and terminate them as it is incurring cost even though not being in use. I figured out that the services like Cost Explorer can solve this issue to some extent where it will provide you the cost for a given service/resource usage. Furthermore in order to figure out granular level details like:

  • Unused Elastic IP Addresses
  • Unused EBS Volumes
  • Unused snapshots (Snapshots that are not associated with AMI)
  • Unused Security Groups (Snapshots that are not associated with any EC2)
  • Unused Elastic Load Balancers (ELBs with no instances)
  • Unused Launch Configurations (LCs that are not associated with a ASG)
  • Unused Auto Scaling Groups (ASGs that Desired Capacity set to 0)
  • Unused EC2 Instance

and I figured out Trusted Advisor is best suited AWS service to address these issues. In simple terms I need to generate a report (weekly/monthly/quarterly) depending on the requirements highlighting the cost usage for the same. There is no CIO team for the same and being working in a solo environment in a small team I am a little confused how to start approaching to this problem statement. Please help and provide if there are other better options like Lambda Functions, AWS Config etc. can able to solve this problem functionally keeping both the financial and security aspect into notice.

2 個答案
1

Hi,

You should start by reading this blog focused on cost optimization via Trusted Advisor: https://aws.amazon.com/blogs/mt/how-to-use-aws-well-architected-with-aws-trusted-advisor-to-achieve-data-driven-cost-optimization/

Then, you probably want to leverage the Trusted Advisor QuickSight dashboard to have a global view from which you start to optimize based on your priorities: https://aws.amazon.com/blogs/mt/a-detailed-overview-of-trusted-advisor-organizational-dashboard/

Best,

Didier

profile pictureAWS
專家
已回答 4 個月前
0

Hi,

You can achieve it by enabling notifications in the AWS Trusted Advisor or by programmatically calling its API. Please start from here.

profile picture
專家
已回答 4 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南