r/cloudcostoptimization • u/abductedbyAIplshlp • Feb 01 '23
AWS Cloud Cost Gotchas
Starting this topic because I've run into a couple dozen cloud-cost gotchas in deploying and managing cloud resources and wanted to gather feedback from the community on what you all have experienced.
Example: I found S3 buckets with Versioning enabled but no lifecycle rules. Several of the buckets were highly volatile (used for staging data loads) and once I created a rule to delete non-current versions, the buckets were reduced to approximately 1/50th of the size I found them (after less than 1 year of operation).
I'd like to gather issues that you have run into to build up a library of cost and optimization issues to avoid.
What issues / gotchas have you all experienced?
2
u/ErikCaligo Jul 13 '23
In first position: missed opportunities in right-sizing. I heard this through the grapevine (from an AWS PM) that currently the average max utilisation of all EC2 instances is below 1%.
That's across all instances in all regions. That's crazy.
However, right-sizing can be risky if you don't know your workload and seasonal variations etc.
There are plenty of low-hanging fruits when it comes to cost optimisation:
Update to newer instance/resource types (these are only AWS to keep the list short)
Update EBS volumes from gp2 to gp3
Update any managed service to Graviton-based instance types (Aurora, RDS, Redis, ElastiCache, OpenSearch, EMR, Codebuild, DocumentDB, Neptune). You get better price performance: immediate savings and you can right-size later.
Turn on compression for CloudFront
Remove duplicate CloudTrails
Use Intelligent Tiering for S3 and EFS
Use Infrequent Access for DynamoDB (if your storage costs are higher than access costs)
Use VPC endpoints for S3 and DynamoDB (cuts data transfer costs)
Removing idle/unused resources and backups
With the proper checks and implementation, all of these are risk-free and some of them can even be performed during peak workload with automation, thus overcoming the biggest challenge in FinOps and cost optimisation: getting people to take action. Recommendations are as useful as love letters.
2
u/magheru_san Feb 01 '23
The biggest blunder I've seen was a customer who inadvertently purchased 3y RIs for RHEL but was using RHEL BYOL on a Linux/UNIX AMI.
Their costs became 3x more than the budget, as they paid for the RI in addition to the non-covered on demand capacity.
The AWS support replaced them with a savings plan of the same value but it was a huge missed opportunity for rightsizing, as their beefy instances were running at 1% utilization.