Dynamic Commitments
Cloud service provider relevance: EKS
Overview
Ocean automatically reverts existing instances using reserved capacity (RI) and savings plans (SP) to spot instances or other commitment deals wherever a reservation is needed elsewhere in your AWS account. This feature optimizes resource allocation and cost efficiency by continuously adjusting to dynamic environment needs.
This is in accordance with the Ocean commitment prioritization mechanism, which prioritizes available reserved instances and savings plan commitments over spot or full-priced on-demand instances.
This section describes how application workloads that require on-demand instances can always benefit from reservations, even if they were previously prioritized for utilization when available.
You can track dynamic compute commitment utilization and coverage with your AWS Cost Usage report.
Feature Benefits
By prioritizing reserved instances and savings plan commitments, this feature continually adapts to the dynamic needs of your environment. Dynamic commitments' management lets you:
- Prioritize available RIs and SPs.
- Revert from on-demand RI and SPs.
Prioritize Available RIs and SPs
Prioritize available reserved instances and savings plans to prevent their underutilization. See Utilize Commitment Plans.
Revert from On-demand RIs and SPs
Revert from on-demand reserved instances when they can be used in other workloads to increase commitment coverage. Ocean continuously adjusts to changes in application requirements and usage patterns. They track commitments and initiate proactive replacements to increase the account's commitment coverage and reduce excessive on-demand usage. This is achieved by reverting to a different allocation plan or using spot instances based on the user's risk configuration, providing ongoing optimization.
How It Works
Ocean performs a strategy fix check every 15 minutes to determine if a running reserved instance or savings plan can be replaced to free up the commitment needed elsewhere in the account.
-
Running on-demand (RI/SP): A running on-demand instance attached to a specific reserved instance or a savings plan uses a certain commitment.
-
Ocean checks if the commitment is needed elsewhere: Ocean constantly checks if a commitment can be utilized by a different resource in your AWS account, ultimately meeting the risk percentage and required strategy.
-
Replacement: If the terms are met, Ocean performs the replacement.
-
Launch spot or an on-demand (RI/SP): Ocean launches a different spot or an alternative on-demand reserved instance to ensure a different plan is used. This increases commitment coverage to help reach optimal allocation.
The reversion will not occur if:
- There is no alternative commitment or spot instance to revert to.
- It violates the group's on-demand count request.
Enable Utilize Commitments via the API
You can use this feature at the cluster or virtual node group level:
Set the utilizecommitments or utilizeReservedInstances parameter to true.
The default value for the utilizeReservedInstances parameter is true.