LogoLogo
  • Getting Started
    • Introduction to OneLens
    • Operational Cost of OneLens
    • Onboarding Guide
    • Accessing OneLens
  • Integrations
    • Cloud Services
      • Connect to AWS
    • Kubernetes
      • OneLens Agent
        • Onboarding a K8s Cluster
        • Artifacts
      • Enable Split Cost Allocation for EKS
  • User Guide
    • Observe ( Visibility and Insights)
      • Cost Analyzer
        • Saved Views
      • Cost Watcher
        • Cost Anomaly
      • Data Transfer Cost Reports
    • Optimize (Cost Savings & Recommendations)
      • Saving Dashboard
        • About Potential Savings
        • View Potential Savings
        • About Achieved Savings
        • View Achieved Savings
      • Policy Violations
        • Drill Down into Policy Violations
      • S3 Optimization
        • Detailed View of Buckets
        • Cost & Usage Breakdown
        • S3 Insights
    • Automate
      • Workflows & Automation
        • Triggers
        • Actions
        • Usecases
          • Automating Periodic Cloud Cost Reports
          • Automatically Create Jira Issues for New Tickets
          • Email Notifications of New Tickets
          • Configure Periodic Digests for Pending Tickets
          • Automating Cost Anomalies Email Alerts
          • Escalation of High-Value Pending Tickets
      • Remediations (Runbooks)
        • Install Runbooks
        • Runbook Catalog
          • Delete CloudWatch Alarms in Insufficient State
          • Delete EBS Snapshots for which corresponding volumes are not in use
          • Delete Idle ElastiCache/Memcached Cluster
          • Delete RDS Snapshots older than a specified period of time
          • Delete idle Classic/Application Load Balancers
          • Delete unused EBS Volumes
          • Delete unused Elastic IP
          • Delete unused NAT Gateway
          • Migrate EBS Volumes from gp2 to gp3
          • Set retention period for CloudWatch Logs
        • Execution Logs
    • Govern ( Control & Governance)
      • Cost Optimization Policies
  • Facts & FAQs
    • FAQs
      • Connect Slack Private Channels to OneLens
Powered by GitBook
On this page
  • How Policies Work
  • How Often Policies Run
  • Configuring a Policy
  • Disabling a Policy
  • Viewing Policy Details
  • How to View a Policy
  • Policy Config
  • Policy Tags
  • Viewing Policy Violations
  1. User Guide
  2. Govern ( Control & Governance)

Cost Optimization Policies

Cost Optimization Policies help you uncover opportunities to reduce your cloud spend. These policies are built by OneLens based on in-depth research and industry standards, so the recommendations you receive are both reliable and actionable.

How Policies Work

Each policy runs on the resource metadata and/or performance metrics pulled from your infrastructure. Policies are tailored to specific cloud services and come with predefined configurations. When your resources exceed those configured thresholds, OneLens automatically detects the issue and creates a policy violation ticket, flagging the opportunity and how you can act on it.

How Often Policies Run

Depending on your OneLens subscription, policies run daily or weekly. This means you're consistently kept up to date with fresh savings opportunities as your environment changes.

Configuring a Policy

You can customize policy settings to better fit your environment. Each policy has adjustable parameters based on the metrics OneLens collects. While OneLens provides sensible default values, you have full control to modify them.

To configure a policy:

  1. Open the Policy Dashboard from the left sidebar.

  2. Click on the policy name in the table to view its details.

  3. Adjust the configuration settings as needed.

Disabling a Policy

If a specific policy is not relevant to your environment or you're not ready to act on its suggestions, you can mute it:

  • Use the toggle switch located beside the policy name in the Policy Dashboard to mute or unmute it.

Viewing Policy Details

OneLens offers around 88 cost optimization policies spanning 16 different cloud services. To help you quickly find the policy you're looking for, the Policy Dashboard includes filters that let you narrow down results.

Narrow down policies based on the specific AWS service they apply to

  • e.g., EC2, RDS, S3

Show the policies active status:

  • Enabled

  • Disabled

Filter based on the nature of the required change:

  • Application Changes

  • Configuration Changes

  • Decommissioning

  • Scheduling.

Group policies by their cost saving category:

  • Delete Obsolete Data

  • Graviton

  • Migrate to GP3

  • Modernization

  • Resource Optimization

  • Rightsizing

  • Shift to AMD

  • Storage Tier Transitions

  • Unused Resource

Choose policies based on their implementation risk:

  • Low

  • High

Filter by how much effort is needed to implement:

  • Easy

  • Medium

  • Hard

How to View a Policy

To explore any policy in depth:

  1. Go to the Policy Dashboard from the sidebar.

  2. Click on a policy name to open its detail view.

  3. There are also filters present.

  4. You’ll see:

    • Policy Description: What the policy monitors.

    • Why It Matters: The significance of the policy in terms of cost or risk.

    • Recommendations: Suggested actions to remediate the violation.

Policy Config

Below the main description, you’ll find the configuration section, which includes:

  • Setting Name: The parameter being evaluated.

  • Description: Explanation of what the setting controls.

  • Value: The standard value set by OneLens.

You can adjust the value of these settings as per your organization’s needs.

Policy Tags

Each policy includes tags to help you organize and filter:

  • Change Type

  • Cost Saving Category

  • Risk Level

  • Effort Required

You’ll find these tags useful across the OneLens interface for sorting and prioritizing policies quickly.

Viewing Policy Violations

When a policy detects a violation, OneLens automatically creates a ticket with details on the affected resource and potential savings. You can view all active and historical violations in the Policy Violation Dashboard.

PreviousGovern ( Control & Governance)NextFAQs

Last updated 26 days ago

To dive deeper into how violations are tracked, .

learn more about Policy Violations