Skip to main content

More Info:

Ensure that the Enhanced Health Reporting feature is enabled for all Amazon Elastic Beanstalk (EB) environments provisioned in your AWS account.

Risk Level

Medium

Address

Operational Maturity, Reliability

Compliance Standards

NIST

Remediation

How to enable enhanced health reporting for beanstalk environments.

Using AWS Console

  1. Open the AWS Management Console and navigate to the Elastic Beanstalk service dashboard. (In the Cloudanix Console, navigate to “Misconfig” page and look for Affected Assets for “Ensure Enhanced Health Reporting Is Enabled For Elastic Beanstalk Environments” Policy.)
  2. Select the environment for which you want to enable enhanced health reporting.
  3. Click on the “Configuration” tab in the left-hand menu.
  4. Scroll down to the “Monitoring” section and click on the “Edit” button.
  5. Under “Health reporting”, select “Enhanced” from the drop-down menu.
  6. Click on the “Apply” button to save the changes.

Triage and Remediation

Remediation

Using Console

To enable Enhanced Health Reporting for an Elastic Beanstalk environment using the AWS Management Console:
  1. Sign in to AWS Console
    Go to: https://console.aws.amazon.com/
    Make sure you are in the correct Region where your Elastic Beanstalk environment is running.
  2. Open Elastic Beanstalk
    In the services search bar, type “Elastic Beanstalk” and select it.
  3. Select the Application and Environment
    • Click your Application name.
    • Click the specific Environment where you want to enable enhanced health.
  4. Go to Configuration
    • In the left-hand navigation, select Configuration.
  5. Edit Health / Monitoring Settings
    The exact section name may differ slightly depending on console version:
    • Look for a card/section named Monitoring, Health, or Updates, monitoring and logging.
    • Click Edit on that section.
  6. Enable Enhanced Health Reporting
    Within the monitoring/health section:
    • Find Health reporting (or similar).
    • Change it from Basic to Enhanced.
    • Optionally review any additional health-related options (health check grace period, etc.).
  7. Apply Changes
    • Click Save or Apply at the bottom of the edit panel.
    • Elastic Beanstalk will update the environment; wait for the environment status to return to Ready / Green.
  8. Verify Enhanced Health
    • Back in the environment dashboard, confirm Health reporting: Enhanced is shown.
    • You should now see more detailed health information under the Health tab for that environment.
This enables enhanced health for the EC2 instances that are part of that Elastic Beanstalk environment.
To enable Enhanced Health Reporting for an Elastic Beanstalk environment (even if it runs EC2 instances), you change an environment option via the AWS CLI.

1. Prerequisites

  • AWS CLI v2 installed and configured (aws configure)
  • Permissions: elasticbeanstalk:DescribeEnvironments, elasticbeanstalk:DescribeConfigurationSettings, elasticbeanstalk:UpdateEnvironment

2. Identify your Elastic Beanstalk environment

Note the EnvironmentName or EnvironmentId you want to change.

3. (Optional) Check current health reporting settings

Look in the output for:

4. Enable Enhanced Health Reporting

Use update-environment to set SystemType to enhanced:
You can also use --environment-id instead of --environment-name:
This will trigger an environment update. Wait until status is Ready again:

5. Verify Enhanced Health is enabled

You should see:
To enable Enhanced Health Reporting for an Elastic Beanstalk environment using Python (boto3), you:
  1. Identify the application and environment.
  2. Call update_environment with the correct option setting.
Below are the step‑by‑step instructions and a working example.

1. Prerequisites

  • AWS credentials configured (via ~/.aws/credentials, environment vars, or IAM role).
  • boto3 installed:
  • You know:
    • application_name (Elastic Beanstalk application)
    • environment_name (Elastic Beanstalk environment)

2. Python Code to Enable Enhanced Health


3. What This Does

  • Calls update_environment on your Elastic Beanstalk environment.
  • Sets:
This turns on Enhanced Health Reporting, which will then surface detailed health info for the EC2 instances in that environment in the EB console and via APIs.

4. Optional: Confirm the Setting

After the update finishes:
You should see:
This change does not force replacement of the environment, but it will trigger an in-place environment update that may briefly impact deployments.To verify, terraform plan should show an in-place update of aws_elastic_beanstalk_environment.example with setting adding/changing EnhancedHealthReporting to enhanced.

Additional Reading: