Cloud Cost
Cloud Cost
How is the current monthly cloud cost determined?
How is the current monthly cloud cost determined?
In the Impact Analysis and Recommendation Report report > Cost Impact section, monthly savings are determined based on the current cost of the instance and the cost of the instance type that Densify is recommending.The current cost is calculated based on the current, monthly on-demand catalog price for the instance in the specified region multiplied by the predicted uptime %:Consider the following:
Figure: Monthly Catalog Cost for Recommended Instance Type
Figure: Densify’s Impact Analysis and Recommendation Report
See Understanding the Instance Optimization Details Report.
- Discounts from Savings Plans, RIs or reservations are not considered in this calculation.
- The cost is based on the monthly cost of the instance type, not hourly.
- The predicted uptime (%) for a cloud instance or container, is based on the percentage of hours CPU utilization data is present in the historical interval, as specified in the policy settings for the entity. For Auto Scaling groups and VM Scale Sets and Individual child instances are not taken into account. Predicted uptime %, for new instances or containers, that started mid-way through the historical interval, is calculated from the time/date that the instance was started as opposed to the beginning of the interval, resulting in more accurate predictions for future usage. For example, the uptime is the number of hours that have “CPU Utilization in mcores”, and the range is the lesser of when the container was discovered, or the range defined in the policy. Looking at a specific container that was discovered on Jan 5th 2024, that has workload of 42 hours since that date, then the uptime % is 42 hrs/(13 days x 24 hrs/day) = 13.4%. This is the value shown in this column.
- Predicted uptime % is not used in the API, when calculating
savingsEstimate
. See the example below.



How is the value of savingsestimate calculated when using the Densify API ?
How is the value of savingsestimate calculated when using the Densify API ?
When you are using the Densify API the the predicted uptime % is not used when determining the value of savingestimate.In this case the current cost is calculated based on the current, monthly on-demand catalog price for the instance in the specified region:Consider the following:
- Discounts from Savings Plans, RIs or reservations are not considered in this calculation.
- The cost is based on the monthly cost of the instance type, not hourly.
- Predicted uptime % is not used in the API, when calculating
savingsEstimate
.

- Number of hrs per month is (365 days/yr *24 hrs/day)/12 months/yr) = 730 hrs/month
- Current cost: 1,319.84/month
- The recommended instance is r5a.2xlarge: 329.96/month
- Total savings would be: current cost - recommended cot = $989.88 (75%)
rptHref
resource. Refer to the API documentation for details.Public Cloud Memory Metrics
Public Cloud Memory Metrics
How do missing memory metrics affect my recommendations?
How do missing memory metrics affect my recommendations?
In cases where memory utilization data is not collected you have 3 options:
- Enable the collection of memory metrics.
- AWS—Enable a CloudWatch agent to collect memory. There is an extra cost for each metric. Once enabled, Densify will collect the data automatically. See AWS Data Collection Using a CloudFormation Template.
- Azure provides memory data and the Azure data collection modules collect the available memory data.
- GCP—Install the Ops agent on each instance to retrieve memory. See Collecting GCP Memory Metrics.
- Import collected memory data from a third-party tool, such as Prometheus, Splunk or SignalFX. The Densify services team can provide details of an integration for Datadog.
- Backfill missing memory by enabling the corresponding policy settings. This is not the preferred option but is the easiest to implement if memory utilization metrics are not being collected.
Azure Recommendations
Azure Recommendations
What affects the actionabilty of Azure recommendations?
What affects the actionabilty of Azure recommendations?
It is possible to move to the optimal instance type but depending on the type of instances involved, your current instance type may have to be stopped and then resized. It is possible that one or both of the following issues are the likely cause of the unsuccessful recommendation deployment attempts:
Figure: Azure Support Request - Specify Quota Details
- It is noted in the Microsoft documentation Resize a virtual machine - Azure Virtual Machines | Microsoft Docs. that if your VM is still running and you do not see the desired size in the list, then stopping your VM instance may reveal more sizes. It is a known issue when working with some instance types.
- There needs to be a sufficient family vCPUs quota for the relevant families as explained here: https://docs.microsoft.com/en-us/azure/azure-portal/supportability/per-vm-quota-requests. This requires a support request to Microsoft. You only need to do this once per subscription and you can add multiple families at one time.

