📖 AWS Cloud Practitioner - AWS Monitoring & Cost Optimization
50 phút

AWS Monitoring & Cost Optimization

CloudWatch

Metrics & Alarms

# Create CloudWatch alarm
aws cloudwatch put-metric-alarm \
    --alarm-name "HighCPU" \
    --alarm-description "Alarm when CPU exceeds 80 percent" \
    --metric-name CPUUtilization \
    --namespace AWS/EC2 \
    --statistic Average \
    --period 300 \
    --threshold 80 \
    --comparison-operator GreaterThanThreshold \
    --evaluation-periods 2

Logs & Dashboards

Centralized logging và custom dashboards.

AWS Cost Explorer

Phân tích và dự báo chi phí.

Trusted Advisor

Best practices recommendations.

Budgets & Alerts

# Create budget
aws budgets create-budget \
    --account-id 123456789012 \
    --budget file://budget.json \
    --notifications-with-subscribers file://notifications.json

📝 Bài tập (1)

  1. Xây dựng CloudWatch dashboard để monitor costs

Bài học "AWS Monitoring & Cost Optimization" - Khóa học "AWS Cloud Practitioner"