DEV Community

David Krohn for AWS Community Builders

Posted on • Originally published at globaldatanet.com

4 2

Rightsizing Recommendations for your AWS Account.

Get the Rightsizing Recommendations from Cost Explorer for your AWS Account / Organization.

One of a daily task today is to keep a close eye on your cost to perform optimizing your spendings on AWS. The Task is part of the enabling sequence of the first FinOps phase - Inform.

Inform

This is the first phase in the FinOps journey, empowering organizations and teams with visibility, allocation, benchmarking, budgeting and forecasting. The on-demand and elastic nature of cloud, along with customized pricing and discounts, makes it necessary for accurate and timely visibility for intelligent decisions. Accurate allocation of cloud spend based on tags, accounts or business mappings enable accurate chargeback and showback. Business and financial stakeholders also want to ensure they are driving ROI while staying within budget and accurately forecasting spend, avoiding surprises. Benchmarking as a cohort and against teams provides organizations with the necessary metrics to develop a high performing team.

Rightsizing recommendations is a feature in Cost Explorer that helps you to identify cost-saving opportunities by downsizing or terminating instances in EC2.
We created a tool that helps you to see all of your underutilized EC2 instances / across member accounts in a one view to immediately identify how much you can save. After you identify your recommendations, you can take action on the Amazon EC2 console.

🚀 With that tool you dont need to use the AWS Console - just open the CLI and view your recommendations:

Alt Text

Tool

🔗 rightsizing-recommendation-cli

python rightsizing-recommendation.py --top RECOMMENDATIONRESULTS --bc BENEFITSCONSIDERED --rt RECOMMENDATIONTARGET --p AWSPROFILE

Parameters:

  • RECOMMENDATIONRESULTS Define how much recommendations results you want to get.
  • BENEFITSCONSIDERED The option to consider RI or Savings Plans discount benefits in your savings calculation. Allowed values: t | f.
  • RECOMMENDATIONTARGET The option to see recommendations within the same instance family, or recommendations for instances across other families. Allowed values: SAME_INSTANCE_FAMILY | CROSS_INSTANCE_FAMILY

We hope this small tool could be useful for others, too, which is why we open-sourced it on our github. If you have any ideas for improvement, feel free to reach out or create a Pull Request.

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay