How do I disable detailed monitoring for instances in an auto scaling group in a CloudFormation template

0 votes

I'm using CloudFormation to spin up some servers in an auto scaling group, and I want them all to use basic monitoring. I tried setting 

Monitoring to false in the AWS::AutoScaling::AutoScalingGroup properties as well as the AWS::AutoScaling::LaunchConfiguration, but AWS shows,                                         

CREATE_FAILED with the error message: Encountered unsupported property Monitoring.

Aug 31, 2018 in AWS by datageek
• 2,530 points
334 views

1 answer to this question.

0 votes

The property you want is InstanceMonitoring, not Monitoring. It should apply to your LaunchConfiguration resource.

InstanceMonitoring

Indicates whether or not instance monitoring should be enabled for this
    autoscaling group. This is enabled by default. To turn it off, set
    InstanceMonitoring to "false".

Required: No. Default value is "true".
Type: Boolean

answered Aug 31, 2018 by Archana
• 4,150 points

Related Questions In AWS

0 votes
0 answers
0 votes
1 answer
0 votes
1 answer

How to attach a load balancer to an Auto Scaling group in AWS?

Hi@akhtar, You can attach one or more Classic Load ...READ MORE

answered Nov 26, 2020 in AWS by MD
• 95,060 points
47 views
0 votes
1 answer

How to create an Auto Scaling group using a launch configuration in AWS?

Hi@akhtar, You can create an Auto Scaling group with ...READ MORE

answered Nov 26, 2020 in AWS by MD
• 95,060 points
53 views
0 votes
1 answer

How to create or update tags for an Auto Scaling group in AWS?

Hi@akhtar, You can create or update tags for the specified ...READ MORE

answered Nov 26, 2020 in AWS by MD
• 95,060 points
80 views
0 votes
1 answer

How to attach an instance to an Auto Scaling group in AWS?

Hi@akhtar, You can attach one or more EC2 instances ...READ MORE

answered Nov 26, 2020 in AWS by MD
• 95,060 points
52 views
0 votes
1 answer

How to delete an Auto Scaling group in AWS?

You can delete the specified Auto Scaling group. ...READ MORE

answered Nov 26, 2020 in AWS by MD
• 95,060 points
52 views
0 votes
1 answer

How do i manage firewall settings for my instance in Lightsail?

Yes. You can control the data traffic ...READ MORE

answered Sep 12, 2018 in AWS by Archana
• 4,150 points
777 views
0 votes
2 answers

How do I add python libraries to an AWS lambda function for Alexa?

If you get lucky (it depends what ...READ MORE

answered Nov 3, 2020 in AWS by anonymous
9,353 views