Autosave: 2024-03-05 18:00:04
This commit is contained in:
parent
846ce881bf
commit
2d8eee4e47
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue