π‘οΈ AWS Elastic Beanstalk Environment does not have enhanced health reporting enabledπ’
- Contextual name: π‘οΈ Environment does not have enhanced health reporting enabledπ’
- ID:
/ce/ca/aws/elastic-beanstalk/environment-health-reporting - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
RELIABILITY
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- AWS Security Hub: [ElasticBeanstalk.1] Elastic Beanstalk environments should have enhanced health reporting enabled
Descriptionβ
Descriptionβ
This policy identifies AWS Elastic Beanstalk Environments that do not have enhanced health reporting enabled.
Rationaleβ
Enabling Enhanced Health Reporting provides significant operational advantages. It allows for faster detection and diagnosis of issues that may affect application availability and performance. The detailed metrics and customizable health dashboards offer deeper insights into the root causes of problems, helping reduce downtime and improve overall reliability.
In contrast, Basic Health Reporting only provides binary instance health information from Elastic Load Balancing checks, which is often insufficient for diagnosing complex issues.
Auditβ
This policy flags an AWS Elastic Beanstalk Environment as
INCOMPLIANTif its related AWS Elastic Beanstalk Configuration Set. contains the entry aws:elasticbeanstalk:healthreporting:system SystemType basic inOption Settings.Beanstalk Environment is marked as
INAPPLICABLEin itsStatusis not Ready.
Remediationβ
Remediationβ
Enable Enhanced Health Reportingβ
Using the EB CLIβ
Open your environment configuration in the default text editor:
~/project$ eb configLocate the
aws:elasticbeanstalk:healthreporting:systemnamespace and update theSystemTypevalue toenhanced:aws:elasticbeanstalk:healthreporting:system:
SystemType: enhancedSave the configuration file and close the editor:
The EB CLI will automatically start an environment update to apply the changes. You can monitor the update progress in the terminal or exit safely using
Ctrl+C:~/project$ eb config
Printing Status:
INFO: Environment update is starting.
INFO: Health reporting type changed to ENHANCED.
INFO: Updating environment no-role-test's configuration settings.