Posted On: Nov 19, 2015
AWS Elastic Beanstalk now lets you view detailed health metrics for your applications from the Elastic Beanstalk Management Console. You can now view health status, metrics, and causes for individual EC2 instances within your environments. Previously, this view was limited to the Elastic Beanstalk CLI.
Elastic Beanstalk monitors processes (application, proxy, etc.) and essential metrics (CPU, memory, disk space, etc.) to determine the overall health of your application. This allows Elastic Beanstalk to provide a more complete picture of application health. You no longer need to manually monitor application metrics (e.g., response latency, CPU, disk space, etc.) to determine if you application is performing as expected. Elastic Beanstalk continuously monitors these on your behalf and changes the environment health status to flag any anomalies.
As part of Elastic Beanstalk’s enhanced health monitoring features:
- Health monitoring is near real-time. Elastic Beanstalk evaluates application health and reports metrics approximately every 10 seconds instead of every minute.
- Rolling deployments require health checks to pass before a version deployment to a batch of instances is deemed successful. This ensures that any impact due to regressions in application versions is minimized to a batch of instances. For more information, see Deploying Application Versions in Batches.
- Range of health statuses has been expanded from three (Green, Yellow, and Red) to seven (Ok, Warning, Degraded, Severe, Info, Pending, and Unknown). This allows Elastic Beanstalk to provide you with a more meaningful health status. For more information, see Health Colors and Statuses.
- Over 40 new metrics (e.g., percentiles of application response times, hard disk space, CPU, etc.), both at the environment and instance level, are available. These metrics can be published to Amazon CloudWatch for monitoring and alarming. For a complete list of available metrics and more information on how to use Amazon CloudWatch with this feature, see Enhanced Health Metrics.
To begin using enhanced health monitoring in Elastic Beanstalk, log in to the AWS Elastic Beanstalk Management Console or use the EB CLI to create an environment running platform version 2.0.0 or newer. Read the documentation to learn more about the enhanced health metrics view in the Elastic Beanstalk Management Console.