Analysis: Policy

Analysis: Policy

#340450

Description

The following resources are used to return a list of Densify platform-specific cloud policies available for analysis:

  • /analysis/cloud/aws/policy
  • /analysis/cloud/gcp/policy
  • /analysis/cloud/azure/policy
  • /analysis/containers/kubernetes/policy

Policies are used to define the business and technical behaviors and requirements for optimization. Densify optimization analysis utilizes the platform-specific default policy employing industry best practices. You can use the returned policies from the platform-specific /policy resource to override the default policy used during an optimization analysis. Contact Densify support ([email protected]) to review your policy settings and to adjust or enable additional cloud policies for your environment.

DevOps Policies

The following cloud policies are available to the DevOps service tier: 

  • DevOps-Default—The default policy reflects best practices for generating actionable recommendations. Specifically:
    • The resource utilization of each system is modeled using a minimum of 7 days and up to 60 days of historical workload.
    • When optimizing instance sizes and families, the predicted CPU and memory usage levels must not exceed 70% and 90%, respectively.
    • When memory usage metrics are not available, the analysis uses the existing memory allocation of the instance and will not change the memory configuration.
  • DevOps-Automation—The automation is intended for generating recommendations that require little or no review before being implemented. Densify utilizes rule-driven analytics to predict the effort of changing instance from the current to the recommended type, and this policy favors low-effort recommendations, resulting in increased automation at the expense of reduced cost savings. Specifically:
    • The resource utilization of each system is modeled using a minimum of 7 days and up to 90 days of historical workload.
    • When optimizing instance sizes and families, the predicted CPU and memory usage must not exceed 65% and 85%, respectively.
    • This policy will not specify burstable (T-series) instance families for workloads unless they are already running in a burstable family and will not change CPU Architecture from Intel to AMD or vice versa.
    • When memory usage metrics are not available, the analysis uses the existing memory allocation of the instance and will not change the memory configuration.
  • DevOps-Efficiency—The efficiency policy is intended for generating recommendations that provide maximum operational efficiency (and lowest operating cost). This policy also includes recommendations rated as moderate effort required , generating higher cost reduction than the DevOps default policy and so recommendations should be reviewed before implementing.
    • The resource utilization of each system is modeled using a minimum of 3 day and up to 30 days of historical workload.
    • When optimizing instance sizes and families, the predicted CPU and memory usage levels must not exceed 75% and 95%, respectively.
    • When memory usage metrics are not available, the analysis uses the existing memory allocation of the instance and will not change the memory configuration.

You can also verify the specific details of the cloud policy used during an analysis through the Densify user interface, see Cloud Optimization Policies for details.

Resource

/analysis/cloud/aws/policy

/analysis/cloud/gcp/policy

/analysis/cloud/azure/policy

/analysis/containers/kubernetes/policy

Supported Operations

Table: Policy Supported Operations

HTTP Method

Input

Output

Description

GET /analysis/cloud/aws/policy

Query String Parameter:

details=true

Used to return a list of AWS policies available for analysis purposes.

Example: List All the AWS Cloud Policies Available

Example: Listing AWS Cloud Policies with Descriptions

GET /analysis/cloud/gcp/policy

Query String Parameter:

details=true

Used to return a list of GCP policies used for analysis.

Example: Listing GCP Cloud Policies with Descriptions

GET /analysis/cloud/azure/policy

Query String Parameter:

details=true

Used to return a list of Azure policies used for analysis.

GET /analysis/containers/kubernetes/policy

Query String Parameter:

details=true

Used to return a list of Kubernetes Container policies available for analysis purposes.

Note: DevOps policies are not supported for Container analysis. Contact support ([email protected]) to review your policy settings for Container resource optimization.

Parameters

Query String Parameters

Table: Analysis Policy Query String Parameters

Parameter Name

Type

Description

details=true

(optional)

string

This option returns additional policy description details.

Response

Table: Analysis Policy Response Schema

Element

Type

Sort By

Filter

Description

policyId

string

 

 

The analysis policy type ID.

policyInstanceId

string

 

 

The entity ID of the policy instance.

name

string

 

 

The policy name.

description

(optional)

string

 

 

A description of the policy.

This element is only returned when the ?details=true option is added to the request.

Examples

Example: List All the AWS Cloud Policies Available

The following example shows you how to list all the available AWS cloud policies.

Example: Listing AWS Cloud Policies with Descriptions

The following example shows you a request to list all the available AWS cloud policies with description.

Example: Listing GCP Cloud Policies with Descriptions

The following example shows you a request to list all the available GCP cloud policies with description.