Open hannes-ucsc opened 11 months ago
Currently getting quota error when trying to purchase reserved instances for OpeSearch in prod
. Filed issue with AWS support.
Quota error was resolved with the help of AWS support.
I did purchase reserved instances for ElasticSearch in all AWS accounts which should reduce our ElasticSearch cost by 31% going forward e.g., in anvilprod, from $1628.00 to $1,123 per month. The term is one year with no upfront.
I decided not to purchase any reserved capacity that would cover the GitLab instance and/or Lambda. We plan to switch the GitLab EC2 instance to an instance type with an ARM architecture (Graviton) so committing to a specific instance type or type family would prevent us from doing so. Graviton instances have up to 20% more compute power for the same price. We should switch to Graviton first, and then make the commitment.
AWS also offers more flexible savings plans that don't require a commitment to a particular instance type/family but I think they are thwarted by the bursty nature of our Lambda usage (see diagram for anvilprod
below). Based on Amazon's recommendations, the monthly savings in prod
would be $23.91, which I don't think is worth it. These savings plans promote consistent usage, not bursts. While the GitLab instance constitutes consistent usage, our bursty reindexes with Lambda do not.
I've done the low hanging fruit, the next steps are to switch GitLab to ARM (#5825) and then purchase a family-based EC2 instance savings plan.