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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store