Monitoring the solution post-deployment
After deploying the solution, we recommend continuously monitoring the solution’s resources using Amazon CloudWatch alarms and metrics.
Setting up CloudWatch alarms
You can set up CloudWatch alarms to monitor key metrics and receive notifications when thresholds are exceeded. Consider setting up alarms for the following resources:
Amazon CloudFront distribution metrics
Monitor CloudFront distribution performance and errors. For more information, refer to CloudFront distribution metrics in the Amazon CloudFront Developer Guide.
Amazon API Gateway metrics
Monitor API request rates, latency, and errors. For more information, refer to Amazon API Gateway dimensions and metrics in the Amazon API Gateway Developer Guide.
AWS Lambda function metrics
Monitor Lambda function invocations, duration, errors, and throttles for the solution’s microservices.
Amazon ECS and AWS Fargate metrics
Monitor task CPU and memory utilization during load tests to ensure adequate resources.
Amazon DynamoDB metrics
Monitor read and write capacity consumption, throttled requests, and latency.