JAEN

Cloud

aws ce get-cost-and-usage

SafeQuery AWS costs

aws ce get-cost-and-usage --time-period ... --granularity MONTHLY --metrics UnblendedCost

Pulls cost data; group by SERVICE to find what's burning money when the bill spikes.

Examples

  • aws ce get-cost-and-usage --time-period Start=2026-06-01,End=2026-06-11 --granularity DAILY --metrics UnblendedCost --group-by Type=DIMENSION,Key=SERVICEDaily cost by service

Syntax

aws ce get-cost-and-usage --time-period Start=...,End=... --granularity DAILY --metrics UnblendedCost

Before you run it

Read only.

Used when you see

Cloud bill spiked
1
Break down costs by service and day
See the whole flow →

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store