Complete the code to create a budget alert in AWS Budgets.
aws budgets create-budget --account-id 123456789012 --budget-name "MonthlyBudget" --budget [1]
The budget type must be set to COST with a limit in USD to track spending.
Complete the code to enable cost allocation tags in AWS Billing.
aws ce enable-cost-allocation-tags --tag-keys [1]Enabling the 'Environment' tag helps track costs by development stages like production or testing.
Fix the error in the AWS CLI command to retrieve cost and usage data.
aws ce get-cost-and-usage --time-period Start=[1],End=2024-05-31 --granularity MONTHLY --metrics "BlendedCost"
The date must be in quotes and in the format YYYY-MM-DD.
Fill both blanks to create a cost anomaly detection monitor with AWS CLI.
aws ce create-anomaly-monitor --monitor-name [1] --monitor-type [2]
The monitor name should be descriptive like 'ProdMonitor' and the monitor type for cost anomalies is 'COST'.
Fill all three blanks to create a cost category with rules using AWS CLI.
aws ce create-cost-category-definition --name [1] --rule-version [2] --rules '[3]'
The cost category is named 'TeamCosts', uses rule version 'CostCategoryExpression.v1', and the rule assigns costs from account '123456789012' to 'TeamA'.