You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My company uses a lot of EC2 instances which only run during business hours and are stopped otherwise. Would it be possible to add an 'hours per month' or 'percent usage per month' field to the usage file to account for this use case?
For instance, we might estimate costs based on 180 hours per month rather than 730 for the instances, but the disk subresources are still charged at the full monthly rate (since we're stopping rather than terminating the instances).
The text was updated successfully, but these errors were encountered:
@DeltaWhy great idea - I've heard this a few times from users so thanks for creating the issue! If you'd like to contribute, this seems like a good first issue:
Add monthly_hours to the example usage file (we have this for some of the other resources too).
change this to MonthlyQuantity and use the param. The param should default to 730 so the existing behavior continues to work if users don't define the usage param (I suppose we should also validate the param is >0 and <= 730).
Review the other HourlyQuantity mentions in the instance.go file above and see if they should use the same param or, if they should remain as 730 (e.g. do users pay for the Inference accelerator when the instance is stopped?) - if needed we can also help with this by reviewing the AWS EC2 pricing page.
Semi-related to the above change could be to also update the Azure and Google instance resources so instances are consistent across the providers.
Unrelated to this GH issue, this feature'll enable us to get feedback from AWS RDS and other resource users to see if the same thing is needed for those resources.
hey @DeltaWhy , the v0.10.8 release has added support for a monthly_hours usage field for AWS, Azure & GCP VMs. Could you check that out and see if this solves your problem? Thanks
My company uses a lot of EC2 instances which only run during business hours and are stopped otherwise. Would it be possible to add an 'hours per month' or 'percent usage per month' field to the usage file to account for this use case?
For instance, we might estimate costs based on 180 hours per month rather than 730 for the instances, but the disk subresources are still charged at the full monthly rate (since we're stopping rather than terminating the instances).
The text was updated successfully, but these errors were encountered: