Cost Management

The Costs menu groups what you spend on AWS (Billing), how to spend less (Optimization), unexpected changes (Cost Anomalies), what each part of a Kubernetes cluster costs (K8s Costs) and how to shrink node groups outside working hours (Night mode).

Before you start

  • An AWS connection (see Connect AWS). Costs come from AWS Cost Explorer.
  • Plan: Billing, Optimization and K8s Costs are on every plan. Cost Anomalies and Night mode need Pro or Enterprise (the trial includes them). See Plans & limits.
  • K8s Costs needs Kubecost installed in the cluster (you can install it from Helm & Add-ons, see Cluster Prerequisites).
  • Night mode and Apply with approval change resources in your account: the connection role needs the “Operations” level (see Connect AWS).

1. Billing

  1. 1Go to Costs → Billing. The Billing screen shows the total, Daily average, Active services, Previous month and Month forecast (to date plus the remaining estimate from AWS; only for the current month).
    Billing with period total, previous month, month forecast, daily average, active services, daily costs and cost by service
  2. 2Choose the range (Current month, Previous month, Last 30 days, 90 days) and Daily or Monthly. The By service chart and Detail by service (N) follow that range.
  3. 3Click View cost by resource to see the cost of each resource of a service: the one in the service filter or, without a filter, EC2. AWS keeps per-resource cost only for the last 14 days, and resource-level data has to be turned on first in Cost Explorer → Settings.
    Cost by resource table with the EC2 instances of the last 14 days, their cost and share, highlighted
  4. 4In Cost by Tags choose a tag key (or Custom tag) and click Refresh.
  5. 5In Monthly budget and alert (webhook) fill in Cap USD / month and Alert at % of cap and click Save / update. A daily job checks the month's spend; when it crosses the threshold it sends the budget.threshold event to the webhooks subscribed to it. You set them up in Settings → Notifications → Webhooks, ticking Budget: threshold reached (see API & webhooks).
    Monthly budget and webhook alert with cap, alert percentage and Save / update highlighted

2. Cost Optimization

  1. 1Go to Costs → Optimization. The Cost Optimization screen (“Recommendations for EC2, RDS, ElastiCache and more”) has the tabs Right-Sizing, Spot Instances, Savings Plans, Detailed Breakdown and Costs by Tag.
    Cost Optimization with Right-Sizing, Spot, Savings Plans and total savings, and the Right-Sizing recommendations
  2. 2Each Right-Sizing recommendation shows the current type and cost, the suggested type and the saving per month. With AI enabled you can click Explain with AI.
  3. 3For EC2 instances, Apply with approval creates a request: the instance will be stopped, changed to the suggested type and started again (a few minutes of downtime; the public IP changes if it has no Elastic IP). Nothing runs until someone approves it in Runbooks; meanwhile the row shows Awaiting approval (#N).

There is also Intelligence → Savings Proposals, which analyzes the workloads of a cluster and shows Verified savings measured against Cost Explorer, including the findings you mark as resolved in Cost Guardrails.

3. Cost Anomalies (Pro)

Go to Costs → Cost Anomalies and choose the connection. The analysis runs when you open the screen (shown in Spanish: “Detección de anomalías y análisis FinOps”). Each anomaly shows its severity, its source (Heuristic, AWS Native or Both), its type (Spike, Trend or Spike & Trend), the daily cost chart and next steps, and above them a “Resumen ejecutivo (FinOps)”. With nothing unusual it shows “Sin anomalías — Costos normales en los últimos 37 días.”

Cost anomalies with the FinOps executive summary and one detected anomaly

To act on your own before it shows up in the bill, see Cost Guardrails.

4. Kubernetes costs with Kubecost

  1. 1Go to Costs → K8s Costs (Kubernetes Costs screen) and choose Connection and cluster.
  2. 2Choose Window (24 hours, 7 days, 30 days) and Group by: Namespace, Deployment, Pod, Controller, Service, Label: app or Label: team.
    Kubernetes costs with connection, cluster, window and Group by highlighted, totals and 30-day forecast
  3. 3Read Total cluster cost, Idle cost, Efficiency, Top 10 — Highest cost by …, Cost detail and the 30-day forecast.

5. Night mode (Pro)

The Night mode screen is shown in Spanish, also with the interface in English.

  1. 1Go to Costs → Night mode and click Nuevo Schedule.
  2. 2Fill in Cluster, Nodos mínimos (night), Zona horaria (cron), Scale Down (cron) (default 0 20 * * 1-5, Mon–Fri 20:00) and Scale Up (cron) (default 0 8 * * 1-5, Mon–Fri 08:00), and click Crear.
  3. 3Each schedule has Scale Down Now, Scale Up Now, an on/off switch, the time zone and the estimated saving per month.
MomentWhat KeelPilot does to the first node group of the cluster
Scale DownMinimum and desired = Nodos mínimos (night); maximum 10
Scale UpMinimum 1 and desired = the larger of 2 and Nodos mínimos + 1; the maximum stays as it is

Scale Up does not restore the exact size the node group had before. If you need more nodes during the day, let the cluster autoscaler grow it or adjust it from Nodes & Node Groups.

6. Weekly summary by email (owner or admin)

The Monday email to the organization owner (8:00, server time) includes a cost section:

  • AWS spend for the week against the previous one, from Cost Explorer grouped by service (one query per AWS connection). Weeks end the day before yesterday, because yesterday is still being consolidated.
  • The 3 services that changed the most (changes of USD 1 or more).
  • Verified savings: observed against estimated. Pending measurements are taken before reporting.
  • The 3 open actions with the most savings, among Cost Guardrails findings and optimization proposals, with a link.

There is no AI in it: everything is measured. It is written in the organization's language. If a connection does not answer Cost Explorer, the email says so instead of counting it as zero. The connection role needs ce:GetCostAndUsage.

  1. 1Go to Settings → Notifications, panel Resumen semanal por mail.
  2. 2Uncheck Enviar el resumen los lunes to turn it off for the organization.
  3. 3Enviarme el resumen ahora sends it to your own email, with 10 minutes between sends per organization.

Each email has a Dejar de recibirlo link.

With Google Cloud

  • Billing reads the Cloud Billing export to BigQuery. Enable it in Google Cloud (the detailed export is better: it is the only one with cost per resource; in a US or EU dataset it also brings the previous month), paste its table in Billing and click Save and read. KeelPilot loads it every day and when you click Refresh. It needs the Costs module (Connect Google Cloud).
  • You see cost by service and by day, the month forecast, cost per resource (detailed export only) and cost per label instead of tag. Amounts are in the export currency.
  • Budgets, cost anomalies, reports and the weekly summary include Google Cloud projects. Anomalies come from KeelPilot’s detector: Google does not list its native cost anomalies through an API.
  • Cost Optimization: VM and Cloud SQL rightsizing from Google’s Recommender, a CUD tab instead of Savings Plans, breakdown by service and label, and a Spot tab with on-demand node pools. Spot shows no saving figure: Google does not publish a stable Spot price table. Applying a VM resize needs the Resize module and an approval.
  • Night mode works with GKE node pools on Standard clusters (Autopilot already scales nodes by itself). It needs the infrastructure level; the minimum is per zone, and Scale Up restores the size and autoscaling the pool had before.

How to check it works

  • Billing shows totals and the By service chart for the chosen range.
  • After Save / update, the budget appears in the list with “alert at N%”.
  • K8s Costs shows Total cluster cost for the chosen window.
  • A Night mode schedule with the switch on shows its Scale Down and Scale Up crons.

Troubleshooting

“No resource data. Try filtering by a specific service (e.g. RDS, EC2).”

Cause: Cost by resource needs resource-level data, which is off by default in AWS Cost Explorer.

Fix: Enable resource-level data in Cost Explorer settings in the AWS account and filter by a service.

“No cost data for tag "…". Make sure your resources are tagged.”

Cause: The resources do not have that tag, or the tag is not activated as a cost allocation tag in AWS Billing.

Fix: Tag the resources and activate the tag as a cost allocation tag; AWS takes up to a day to show data.

“Kubecost was not found in this cluster. If you just installed it, it may take a few minutes to publish its service.”

Cause: Kubecost is not installed, or its service is not up yet.

Fix: Install Kubecost (Helm & Add-ons) or wait a few minutes and try again.

“Kubecost responded, but it has no cost data for this time window yet.”

Cause: Kubecost was installed recently and has not gathered data for that window.

Fix: Choose a shorter window or wait for Kubecost to collect data.

“Feature not available on your current plan” in Cost Anomalies or Night mode.

Cause: Both are part of Pro and Enterprise.

Fix: Upgrade the organization's plan (see Plans & limits).