Web-Tier Auto Scaling Group CloudWatch Logs Enabled

MEDIUM
Source
CloudSploit
ID
web-tier-auto-scaling-group-cloudwatch-logs-enabled

Web-Tier Auto Scaling Group CloudWatch Logs Enabled

Ensures that Web-Tier Auto Scaling Groups are using CloudWatch Logs agent.

EC2 instance available within web-tier Auto Scaling Group (ASG) should use an AWS CloudWatch Logs agent to monitor, store and access log files.

Follow the appropriate remediation steps below to resolve the issue.

  1. Log in to the AWS Management Console.

  2. Select the “Services” option and search for EC2. Step

  3. In the EC2 Management console, scroll down and click on the “Auto Scaling groups” at the bottom.Step

  4. On the “Auto Scaling groups” page, select the auto scaling group which needs to be verified whether CloudWatch logs are enabled or not.Step

  5. On the “Auto Scaling group”, click on the “Monitoring” tab and check if “Auto Scaling group metrics collection” is enabled or not.Step

  6. Repeat steps number 2 - 5 to ensures that App-Tier Auto Scaling Groups are using CloudWatch logs.

  7. Navigate to the EC2 console using the link https://console.aws.amazon.com/ec2/ .

  8. Scroll down the EC2 console page, select the Auto Scaling groups and select the Auto Scaling group which needs to have CloudWatch logs enabled.Step

  9. Click on the “Monitoring” tab, click on the “Enable” checkbox next to the Auto Scaling group metrics collection.Step

  10. Repeat steps number 7 - 9 to update web-tier Auto Scaling Group to use CloudWatch Metrics.