Skip to main content

AWS AI Services Reference

Service Quick Reference

ServiceWhat It DoesPricing TierWhen to Use
CloudWatch Basic MetricsMonitor any AWS resource metricFree (standard metrics)Always — baseline monitoring
CloudWatch Anomaly DetectionAutomatic baseline learning + deviation alerts$0.30/alarm/month beyond 10 freeWhen you have enough history (2+ weeks) and stable patterns
Cost Explorer Web UICost trends, service breakdown, forecastingFree (web console)Monthly cost review, anomaly investigation
Cost Explorer APIProgrammatic cost data access$0.01 per API requestWhen building cost reporting automation
Amazon Q DeveloperCode explanation, security review, generationFree (50 agentic req/month via Builder ID)IaC review, code security scan
Amazon Q BusinessEnterprise AI assistant with org dataPaid ($20-40/user/month)Out of scope for this course
DevOps GuruCross-service operational anomaly detection3-month free trial, then resource-basedOptional stretch — enable only if you'll disable it
CodeGuru ReviewerAutomated code review and security analysisFree trial, then per-line pricingCode review automation, security scanning
Amazon BedrockFoundation model API accessPay per tokenModule 10+ — building custom agent backends

CLI Commands Used in Lab

CloudWatch

# List all metrics in a namespace
aws cloudwatch list-metrics --namespace AWS/EC2 --region us-east-1

# List all alarms
aws cloudwatch describe-alarms --region us-east-1

# List alarms in ALARM state only
aws cloudwatch describe-alarms \
--state-value ALARM \
--region us-east-1

# Get metric statistics (last hour of CPU data for one instance)
aws cloudwatch get-metric-statistics \
--namespace AWS/EC2 \
--metric-name CPUUtilization \
--dimensions Name=InstanceId,Value=i-1234567890abcdef0 \
--start-time $(date -u -v-1H +"%Y-%m-%dT%H:%M:%SZ") \
--end-time $(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--period 300 \
--statistics Average \
--region us-east-1

Cost Explorer

# Get cost and usage for last 30 days, grouped by service
aws ce get-cost-and-usage \
--time-period Start=$(date -v-30d +"%Y-%m-%d"),End=$(date +"%Y-%m-%d") \
--granularity MONTHLY \
--metrics BlendedCost \
--group-by Type=DIMENSION,Key=SERVICE \
--region us-east-1

# Get cost anomalies (requires Cost Anomaly Detection enabled)
aws ce get-anomalies \
--date-interval StartDate=$(date -v-30d +"%Y-%m-%d"),EndDate=$(date +"%Y-%m-%d")

Note: The Cost Explorer API charges $0.01 per request. The web console is free. Use the CLI commands above only for automation and scripting — manual exploration belongs in the console.


Free Tier Details (Verified April 2026)

ServiceFree Tier LimitAfter Free Tier
CloudWatch Alarms10 alarms free$0.10/alarm/month
CloudWatch Anomaly Detection10 anomaly detection ranges free$0.30/alarm/month
CloudWatch Metrics10 custom metrics, basic AWS metrics always free$0.30/custom metric/month
Cost Explorer UIUnlimited free
Cost Explorer API0 free requests$0.01/request
Q Developer (Free)50 agentic requests/month, unlimited inline suggestionsUpgrade to Pro for more
DevOps Guru3-month free trial~$0.0028/resource-hour analyzed

AWS Free Tier Note: As of July 2025, AWS changed the free tier from "always free" to a 6-month credit for new accounts. Services previously "always free" (like CloudWatch basic metrics) remain free indefinitely — only the initial credits structure changed.