Autosave: 2024-03-05 18:00:04

This commit is contained in:
thomasabishop 2024-03-05 18:00:04 +00:00
parent 846ce881bf
commit 2d8eee4e47

View file

@ -38,3 +38,12 @@ aws cloudformation delete-stack --stack-name <my_stack> --region <region>
```
`region` is optional especially if only deployed to one region
## Billing ("Cost explorer")
### Usage for month
```
aws ce get-cost-and-usage --time-period Start=$(date +%Y-%m-01),End=$(date -d @$(( $(date +%s) + 86400 )) +%Y-%m-%d) --granularity MONTHLY --metrics "UnblendedCost" "UsageQuantity
```