For the complete documentation index, see llms.txt. This page is also available as Markdown.

OneLens Operational Cost

This page details the operational costs associated with setting up the OneLens integration with various Cloud Platforms and Kubernetes.

Amazon Web Services (AWS)

The following table outlines the key cost components associated with the integration to help you estimate costs for your AWS infrastructure.

Feature
Unit of Usage
Estimated Cost

~10,000 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

~$6 per month

10,000 pods

~$2.73 per month

The sections below breaks down where charges apply and how they’re calculated:

Costs incurred for Optimization Policies

OneLens cost optimization policies targets to find cost optimization opportunities in your AWS resources with 3 types of datasets:

  1. Resource metadata that tells the resource configuration

  2. Resource metrics relevant to policy evaluation

  3. 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.

Costs incurred 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

Sample Estimate

For simplicity, lets assume you have 10000 EC2 instances and 100 resources across 14 other services we observe. The table below simplifies the calculations for this infrastructure:

Service (Namespace)
# Metrics
# Resources
API Calls/Day
Cost/Day ($)

AWS/EC2

7

10,000

70,000

0.70

AWS/RDS

6

100

600

0.006

AWS/DynamoDB

3

100

300

0.003

AWS/ElastiCache

27

100

2,700

0.027

AWS/ApplicationELB

1

100

100

0.001

AWS/NetworkELB

1

100

100

0.001

AWS/GatewayELB

1

100

100

0.001

AWS/PrivateLinkEndpoints

1

100

100

0.001

AWS/Redshift

2

100

200

0.002

AWS/ES

13

100

1,300

0.013

AWS/S3

3

100

300

0.003

CWAgent

2

100

200

0.002

AWS/Lambda

4

100

400

0.004

LambdaInsights

1

100

100

0.001

AWS/NATGateway

5

100

500

0.005

Total

77

76,000

0.76

Costs incurred for Reporting (CUR 2.0)

The cost you incur here is for storing the Cost and Usage Report (CUR 2.0) 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.

Cost Estimate Based on Storage Size

Storage Size

Approx. Cost per Month

100 GB -500 GB

$2.30 - $11.50

500GB – 1 TB

$11.50 - $23.00

1 TB – 2 TB

$23.00 - $46.00

Costs incurred for 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.

Charges Based on AWS Pricing
Components
Cost
Free Tier Limits

Change Request

$0.296 per request

30 days free trial per new account

Automation Steps

$0.002

Upto 100,000 steps/month

Script Duration

$0.00003 per second

Upto 5,000 seconds/month

Estimate Example: Cost for running EBS volumes migration from gp2 to gp3 runbook

After exhausting your free tier, here’s the breakdown of the charges for a runbook called migrating EBS volumes from gp2 to gp3:

Component
Units
Price Per Unit
Total Cost

Change Request

1 request

$0.296

$0.296

Automation Steps

7 steps

$0.002

$0.014

Script Duration

1-5 seconds

$0.00003

$0.00003 - $0.00015

Total

-

-

$0.31003 - $0.31015

Costs incurred for K8s Visibility and Optimization

OneLens 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.

Agent Cost based on Number of Pods

The agent incurs a variable cost per cluster, based on pod count:

Cluster Size (Pods)
CPU (Cores)
Memory (GB)
Total Monthly Cost ($)

< 100

0.237

1.33

~ $3

100-499

0.386

1.92

~ $6

500-999

0.587

3.70

~ $17

1000-1499

0.696

5.47

~ $22

1500-2000

0.805

7.25

~ $27

Please note that we run our agent pods on shared nodes. The given pricing is an indication and actual price depends on node which the pods are placed.

Refer to the Agent Setup for more details on how the agent works and how to deploy it.

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.

Refer to the Split Allocation Setup Guide for steps to enable this option and understand its cost implications.

Google Cloud Platform (GCP)

The following table outlines the key cost components associated with the integration to help you estimate costs for your GCP infrastructure.

Feature
Unit of Usage
Estimated Cost per month

Cost Reporting (BigQuery Storage)

100 GiB billing data stored

~$1.50

Cost Reporting (BigQuery Queries)

1 TiB data scanned

~$6.25 per TiB

Cost Reporting (BigQuery Storage Read API)

1 TiB bulk read

~$1.10 per TiB

Resource Rightsizing / Optimization

~500 API calls per project

Free

Cloud Monitoring API

1000 API read calls

~$0.01 per 1K calls

IAM

IAM bindings to Service Account & External User

Free

API Enablement

15 APIs per project

Free

Network Egress

Per GiB transferred cross-region

~$0.12 per GiB (0-1 TiB) ~$0.11 per GiB (1-10 TiB)

Google provides generous free tiers for various usage types, relevant to our setup. Also, costs incurred for the setup largely depends on the number of projects your organisation is onboarding onto OneLens.

Considering the above, we have listed approximate pricing for various scales applying the free tier discount (and without, as your other workloads may have exhausted the quota).

Cost Summary (with Free tier)

Category
10 Projects
50 Projects
100 Projects
500 Projects
1000 Projects

BigQuery Storage

$0.00

$0.00

$0.10

$1.00

$2.12

BigQuery Queries

$0.00

$0.00

$0.00

$3.12

$12.50

BigQuery Storage Read API

$0.00

$0.00

$0.00

$0.00

$0.00

Cloud Monitoring

$0.00

$0.00

$0.00

$0.00

$0.00

IAM and Service Accounts

$0.00

$0.00

$0.00

$0.00

$0.00

API Enablement and Read Calls

$0.00

$0.00

$0.00

$0.00

$0.00

Network Egress

$1.38

$6.72

$13.44

$65.53

$133.02

Total Monthly Cost

$1.38

$6.72

$13.54

$69.65

$147.64

Cost Summary (without Free tier)

Category
10 Projects
50 Projects
100 Projects
500 Projects
1000 Projects

BigQuery Storage

$0.02

$0.11

$0.23

$1.12

$2.25

BigQuery Queries

$0.31

$1.22

$2.44

$9.38

$18.75

BigQuery Storage Read API

$0.01

$0.05

$0.11

$0.54

$1.10

Cloud Monitoring

$0.02

$0.10

$0.20

$1.00

$2.00

IAM and Service Accounts

$0.00

$0.00

$0.00

$0.00

$0.00

API Enablement and Read Calls

$0.00

$0.00

$0.00

$0.00

$0.00

Network Egress

$1.38

$6.72

$13.44

$65.53

$133.02

Total Monthly Cost

$1.74

$8.20

$16.42

$77.57

$157.12

Next, let's go through each integration component to break down the costs associated.

Costs incurred for BigQuery

This includes the cost of setting up a Detailed Usage cost report in GCP, to be ingested by OneLens for pinpointing your costs. Three components make up this cost:

BigQuery Storage

Pricing:

  • Active (modified < 90 days): $0.02/GiB/month

  • Long-term (unmodified > 90 days): $0.01/GiB/month (auto-transition, no action needed)

  • Free Tier: First 10 GiB free per month.

BigQuery Queries (On-Demand)
  • Pricing: $6.25/TiB of data processed (US multi-region on-demand).

  • Free Tier: First 1 TiB/month free.

BigQuery Storage Read API
  • Pricing: $1.10/TiB of data read via the Storage Read API.

  • Free Tier: First 300 TiB/month free per billing account — this is an extremely generous free tier.

  • Note: Even at 1,000 projects (< 1 TiB/month), this stays well within the 300 TiB free tier. This component is effectively always $0.00.

Costs incurred for Cloud Monitoring API Reads

This is the cost due to querying the Cloud Monitoring API to read metrics on target projects.

Cloud Monitoring
  • Pricing: $0.01 per 1,000 read API calls after free tier.

  • Free Tier: First 1,000,000 read calls per billing account per month.

  • At 1,000 projects × ~200 monitoring calls = ~200K calls/month - within the 1M free tier.

  • If free tier is exhausted: 200K × ($0.01/1K) = $2.00/month at 1,000 projects.

Costs incurred for Network Egress

This cost consists of the data transfer from your BigQuery dataset to our environment.

Network Egress

Egress volume estimates:

  • 10 projects: 1.50 GiB results + 10 GiB Storage API = 11.50 GiB -> $1.38/month

  • 50 projects: 6.00 GiB + 50 GiB = 56.00 GiB -> $6.72/month

  • 100 projects: 12.00 GiB + 100 GiB = 112.00 GiB -> $13.44/month

  • 500 projects: 46.08 GiB + 500 GiB = 546.08 GiB -> $65.53/month

  • 1,000 projects: 92.16 GiB + 1,024 GiB = 1,116.16 GiB -> (1,024 x $0.12) + (92.16 x $0.11) = $133.02/month

Other Components (Free)

These operations are either provided free of charge by Google or well under the free tier limits.

IAM
  • Creation of Service Account

  • Creation of External User

  • Assigning of roles at Organization-level for Service Account and External User

  • Assigning of roles at Project/Folder-level for Service Account and External User

  • Assigning of roles at Billing Account-level for Service Account and External User

  • Assigning of roles at Billing Project-level for Service Account and External User

APIs
  • Enabling APIs at Project-level and Billing Project-level

  • API Read calls for metadata & metrics

  • Service Account Impersonation (Token Creator API)

Billing
  • Creating a Billing Project (with a BigQuery dataset)

  • Enabling Detailed Usage report

Microsoft Azure

The following table outlines the key cost components associated with the integration to help you estimate costs for your Azure infrastructure.

Feature
Unit of Usage
Estimated Cost per month

Cost Reporting (Storage)

45 GB billing data stored (500 subs after 12 months)

~$1.07

Cost Reporting (Write Operations)

60K write operations per month (500 subs)

~$0.30

Cost Reporting (Read Operations)

60K read operations per month (500 subs)

~$0.02

Azure Resource Manager API Calls

Per call

Free

IAM

IAM bindings to App Registration & External User

Free

Resource Provider Enablement

Per provider

Free

Network Egress (same region)

Per GB

Free

Considering different scales (by number of Subscriptions) and free tiers provided by Microsoft for various usage types, we have listed approximate pricing for this setup.

Cost Summary

Feature
5 Subs
20 Subs
50 Subs
200 Subs
500 Subs

Cost Reporting (Blob Storage)

$0.01

$0.04

$0.11

$0.43

$1.07

Cost Reporting (Write Ops)

$0.00

$0.01

$0.03

$0.12

$0.30

Cost Reporting (Read Ops)

$0.00

$0.00

$0.00

$0.01

$0.02

Cost Management Exports

$0.00

$0.00

$0.00

$0.00

$0.00

Resource Rightsizing / Optimization

$0.00

$0.00

$0.00

$0.00

$0.00

Identity and Access Management

$0.00

$0.00

$0.00

$0.00

$0.00

Network Egress (Same-Region)

$0.00

$0.00

$0.00

$0.00

$0.00

Total Monthly Cost

$0.01

$0.06

$0.14

$0.56

$1.40

Next, let's go through each integration component to break down the costs associated.

Costs incurred for Blob Storage

This is the cost attributed to storing and performing operations on the cost export data. This cost is divided into 3 parts:

Blob Storage
  • Cost: $0.0238/GB/month (Hot LRS, South India, first 50 TB) + operations costs.

  • After 12 months at 500 subscriptions (Typical Enterprise profile): ~45 GB → $1.07/month storage cost.

  • Storage sizing: Based on Microsoft's reference of ~1M rows ≈ 1 GB CSV data, with ~30K rows/sub/month (typical enterprise), 2 exports, and Parquet+Snappy 8x compression.

Blob Write Operations
  • Pricing: $0.05 per 10,000 write operations (Hot tier, South India).

  • Volume: ~4 writes per subscription per day (2 exports x 2 files each) = ~120 writes/sub/month.

  • At 500 subscriptions: 60,000 writes x ($0.05/10K) = $0.30/month.

Blob Read Operations
  • Pricing: $0.004 per 10,000 read operations (Hot tier, South India).

  • Volume: ~4 reads per subscription per day = ~120 reads/sub/month.

  • At 500 subscriptions: 60,000 reads x ($0.004/10K) = $0.024/month.

  • Extremely small cost, negligible at all scales.

Other Components (Free)

These operations are either provided free of charge by Microsoft or well under the free tier limits.

Billing
  • Azure Cost Management service

  • Cost exports

IAM
  • Creation of App Registration

  • Creation of External User

  • Roles assigned to App Registration

  • Roles assigned to External User

APIs
  • Enabling of Resource Providers

  • API calls to Azure Resource Manager

Last updated