A user has configured an Auto Scaling group with ELB. The user has enabled detailed CloudWatch monitoring on Auto Scaling. Which of the below mentioned statements will help the user understand the functionality better?
A.
It is not possible to setup detailed monitoring for Auto Scaling
B.
In this case, Auto Scaling will send data every minute and will charge the user extra
C.
Detailed monitoring will send data every minute without additional charges
D.
Auto Scaling sends data every minute only and does not charge the user
Suggested Answer:B🗳️
CloudWatch is used to monitor AWS as well as the custom services. It provides either basic or detailed monitoring for the supported AWS products. In basic monitoring, a service sends data points to CloudWatch every five minutes, while in detailed monitoring a service sends data points to CloudWatch every minute. Auto Scaling includes 7 metrics and 1 dimension, and sends data to CloudWatch every 5 minutes by default. The user can enable detailed monitoring for Auto Scaling, which sends data to CloudWatch every minute. However, this will have some extra-costs.
CloudWatch is used to monitor AWS as well as the custom services. It provides either basic or detailed
monitoring for the supported AWS products. In basic monitoring, a service sends data points to CloudWatch
every five minutes, while in detailed monitoring a service sends data points to CloudWatch every minute.
Elastic Load Balancing includes 10 metrics and 2 dimensions, and sends data to CloudWatch every minute. This
does not cost extra.
B. Amazon EC2 can enable detailed monitoring when it is launching EC2 instances in your Auto Scaling group. You configure monitoring for Auto Scaling instances using a launch template or launch configuration.
Monitoring is enabled whenever an instance is launched, either basic monitoring (five-minute granularity) or detailed monitoring (one-minute granularity). For detailed monitoring, additional charges apply.
It would be "B", according to this site:
https://docs.aws.amazon.com/autoscaling/ec2/userguide/enable-as-instance-metrics.html
"Amazon EC2 can enable detailed monitoring when it is launching EC2 instances in your Auto Scaling group. You configure monitoring for Auto Scaling instances using a launch template or launch configuration.
Monitoring is enabled whenever an instance is launched, either basic monitoring (5-minute granularity) or detailed monitoring (1-minute granularity). For detailed monitoring, additional charges apply. "
But it would be "C", accordingly to this one:
https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html
"Amazon EC2 Auto Scaling publishes data points to CloudWatch about your Auto Scaling groups. The metrics are available at 1-minute granularity at no additional charge, but you must enable them. "
I really don't know which one to choose. That's confusing...
B is not correct. Key word: user has been enabled monitor in ASG
Refer to: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html
The point is to understand what monitoring the question is asking about, the autoscaling group itself or the instances of autoscaling group. For the group itself, the default is 1 min, no extra charge. For the EC2 instances, it depends on the launch conf or template, if detailed monitoring is enabled, it will charge ( same as an EC2 outside of autoscaling group ).
Monitoring is enabled whenever an instance is launched, either basic monitoring (5-minute granularity) or detailed monitoring (1-minute granularity). For detailed monitoring, additional charges apply. Vote B
When you enable Auto Scaling group metrics, your Auto Scaling group sends sampled data to CloudWatch every minute. There is no charge for enabling these metrics.
C is the righ answer
When creating an ASG through the AWS console there's a checkbox called "Enable group metrics collection within CloudWatch" for enabling Monitoring.
Then there's an info button that explains this a bit better:
Choose whether to enable metrics collection for the different metrics that your Auto Scaling group is capable of tracking. By enabling group metrics collection, you get increased visibility into the history of your Auto Scaling group, such as changes in the size of the group over time. The metrics are available at 1-minute granularity at no additional charge, but you must enable them.
C is the correct answer.
The Correct Answer is D.
"...The metrics are available at 1-minute granularity at no additional charge, but you must enable them..."
https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html
Points to note: Autoscaling publishes data of "a-minute interval" to CloudWatch. In so doing, detailed monitoring is achieved due to the monitoring interval.
B
Understanding AWS billing is very important.
Auto Scaling includes 7 metrics and 1 dimension, and sends data to CloudWatch every 5 minutes by default.
Basic monitoring, sends data points to CloudWatch every five minutes
Detailed monitoring, sends data points to CloudWatch every minute.
When we enable detailed monitoring for Auto Scaling, data is sent to CloudWatch every minute, which will incur extra charge.
I am settling on C as per AWS documentation: Amazon EC2 Auto Scaling publishes data points to CloudWatch about your Auto Scaling groups. The metrics are available at 1-minute granularity at no additional charge, but you must enable them.
As per https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html, A, B are definitely incorrect and D will not suffice because Auto Scaling can also offer 5-minute monitoring and not "every minute only."
D. The feature is free https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html . Only one minute interval is allowed https://docs.aws.amazon.com/cli/latest/reference/autoscaling/enable-metrics-collection.html .
Initially I thought it was B but after reading the link below it could be C.
https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-monitoring.html
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
awscertified
Highly Voted 1 year, 1 month agofromnowhere
Most Recent 5 months, 1 week agokakiko
10 months, 2 weeks agoTroyMcLure
12 months agoNguyenLC1
12 months agoRicardoD
12 months agoapwangzh
12 months agoSuren2020
1 year agoFedesaucho
1 year agofagas
1 year agoallsitesmember
1 year agoFavour_O
1 year agoonlinebaba
1 year agojaribu
1 year agodemon42
1 year agoGolddust
1 year agobadrobot
1 year, 1 month ago