More Info:

This rule checks if your Amazon EC2 Auto Scaling groups that are associated with a Classic Load Balancer use Elastic Load Balancing health checks. The rule is NON_COMPLIANT if the Amazon EC2 Auto Scaling groups are not using Elastic Load Balancing health checks.

Risk Level

Medium

Address

Configuration

Compliance Standards

CBP,RBI_MD_ITF

Triage and Remediation

Remediation

To remediate the misconfiguration of Autoscaling Groups Health Checks not being checked in AWS EC2 using the AWS console, follow these step-by-step instructions:

  1. Login to AWS Console: Go to the AWS Management Console (https://aws.amazon.com/console/) and login to your account.

  2. Navigate to EC2 Dashboard: Click on the “Services” dropdown menu at the top left corner and select “EC2” under the Compute section.

  3. Select Autoscaling Groups: In the EC2 Dashboard, under the “Auto Scaling” section in the left-hand menu, click on “Auto Scaling Groups”.

  4. Select the Autoscaling Group: Click on the Autoscaling Group that you want to remediate the health check misconfiguration for.

  5. Edit Autoscaling Group Settings: In the Autoscaling Group details page, click on the “Edit” button to modify the group settings.

  6. Update Health Check Configuration: Scroll down to the “Health check type” section and ensure that the “Health check type” is set to “EC2” or “ELB” based on your requirements.

  7. Configure Health Check Parameters: Configure the health check parameters such as “Grace period” and “Health check grace period” based on your application’s requirements.

  8. Save Changes: After updating the health check configuration, click on the “Update” or “Save” button to apply the changes to the Autoscaling Group.

  9. Verify Configuration: Once the changes are saved, verify the health check configuration by checking the status of the Autoscaling Group and monitoring the health of the instances.

By following these steps, you can successfully remediate the misconfiguration of Autoscaling Groups Health Checks not being checked in AWS EC2 using the AWS console.