Operational Cost of OneLens
This page highlights the cost implicated with using key OneLens features. To begin with, here is a quick summary of cost components, structured in a way to help you estimate based on your own AWS infrastructure.
~10000 Resources
~$0.7 per day
100 GB CUR
~$2.30 per month
1 runbook execution (after free tier)
~$0.31 per execution
Monitoring 500 pods
~$35.94 per month
10,000 pods
~$2.73 per month
These are illustrative estimates. Actual cost may vary based on your workloads and AWS pricing region.
For general understanding, the simplified version of OneLens that is without automated remediation and K8 Agent, the cost will be less than $30/month.
The remaining cost is highly variable:
Remediations: It depends on the number of runs you execute.
Kubernetes Agent: It varies based on the number of pods you run simultaneously.
The sections below breaks down where charges may apply, and how they’re calculated:
Cost Optimization Policies
OneLens cost optimization policies targets to find cost optimization opportunities in your AWS resources with 3 types of datasets:
Resource metadata that tells the resource configuration
Resource metrics relevant to policy evaluation
Cost and Usage Report (CUR) data
Few Examples to Understand This Better
Evaluating GP2 EBS volumes for migration to GP3, and identifying EC2 instances suited for Graviton, both rely entirely on resource configuration.
Evaluating underutilized instance in EC2, RDS, MSK requires resource configuration and metrics data.
Finding idle resources will combine resource configuration, metrics and cost data.
Understanding Cost for Resource and Metric Data Extraction
OneLens leverages the official AWS SDK to collect both resource and metric cost data. Currently, it onboarded 15 AWS services and gathers only the metadata and metrics related to these specific services.
Retrieving resource metadata is entirely free. However, the cost is incurred in getting the metrics information. OneLens collect CloudWatch metrics using the GetMetricData
API, typically charged at $.01 for 1000 API calls.
Costs are primarily driven by the number of API calls, calculated using the following formula:
Total API Calls per day = Σ (#Metrics × Resources)
Where:
Metrics: The number of CloudWatch metrics collected per resource (varies by service).
Resource Count: The number of resources available in your accounts for each service.
NOTE
The cost of extracting metrics does not depend on your Cloud bill but actual number of resources under the services OneLens monitor.
For instance, a small bill of $50K/year bill may have 1 million resources, leading to high cost. Whereas, a $10M/year account may have a few resources (such as costly GPU machines).
Cost Reporting
The cost you incur here is for storing the Cost and Usage Report (CUR) in your S3 bucket. You are charged for the storage of the CUR report before OneLens ingests the data for analysis and provides granular insights.
Automated Remediation
When automated remediation is enabled, you are charged based on the AWS Systems Manager services used during runbook execution via Change Manager and Systems Manager Automation.
NOTE : Charges apply after exceeding the free tier limits.
K8s Visibility and Optimization
Cost Associated with Agent
The OneLens agent runs as a set of lightweight pods within the cluster. These pods monitor container-level metrics, resource limits, and usage trends. The cost structure is mainly influenced by the number of pods in the cluster.
Additional Cost for Split Allocation in EKS
You may incur an estimated $2.73/month per 10,000 pods due to increased CUR data size and processing overhead.
Last updated