The AWS CLI command aws ce get-cost-and-usage with appropriate filters is the correct way to retrieve free tier usage data for a specified time period. The command aws ce get-free-tier-usage does not exist.
AWS Budgets allows you to create custom budgets and receive alerts when your usage or costs exceed thresholds, including Free Tier limits.
aws ce get-free-tier-usage but received an empty result. What is the most likely reason?If your AWS account is not eligible for Free Tier (for example, it is older than 12 months or has used up the free tier), the command will return no data.
First, create the budget with threshold, then configure notifications, monitor the dashboard, and finally receive alerts when thresholds are crossed.
Setting up AWS Budgets with automated alerts and integrating with SNS for notifications ensures you get real-time updates and can act quickly to avoid charges.