An ecommerce company wants to use Amazon EC2 Auto Scaling to add and remove EC2 instances based on CPU utilization. Which AWS service or feature can initiate an Amazon EC2 Auto Scaling action to achieve this goal?
A.
Amazon Simple Queue Service (Amazon SQS)
B.
Amazon Simple Notification Service (Amazon SNS)
Amazon CloudWatch alarms can be created on the Auto Scaling group as a whole, such as Average CPUUtilization. This is because alarms are used to tell Auto Scaling when to add/remove instances and such decisions would be based upon the group as a whole.
Amazon CloudWatch provides monitoring and observability services for AWS resources, including EC2 instances. It allows you to set up alarms on various metrics, such as CPU utilization, network traffic, or disk usage. When a specific threshold is breached, an alarm is triggered.
With Amazon EC2 Auto Scaling, you can configure scaling policies based on CloudWatch alarms. In this scenario, you can set a CloudWatch alarm to monitor CPU utilization of the EC2 instances. When the CPU utilization exceeds a certain threshold, the alarm triggers an auto scaling action to add more instances to handle the increased load. Similarly, when the CPU utilization decreases, the auto scaling action can remove instances to optimize costs.
I think it's C:
AWS Systems Manager gives you visibility and control of your infrastructure on AWS. Systems Manager provides a unified user interface so you can view operational data from multiple AWS services and allows you to automate operational tasks across your AWS resources.
https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scale-based-on-demand.html
"Amazon EC2 Auto Scaling supports the following types of dynamic scaling policies:
Target tracking scaling—Increase and decrease the current capacity of the group based on a Amazon CloudWatch metric and a target value. It works similar to the way that your thermostat maintains the temperature of your home—you select a temperature and the thermostat does the rest".
D,Amazon CloudWatch - You can use a CloudWatch alarm with Amazon EC2 Auto Scaling to scale your EC2 instances based on demand.
REF. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html
=>>Amazon EC2 Auto Scaling enables you to automatically launch or terminate Amazon EC2 instances based on user-defined policies, health status checks, and schedules. You can use a CloudWatch alarm with Amazon EC2 Auto Scaling to scale your EC2 instances based on demand.
The AWS service or feature that can initiate an Amazon EC2 Auto Scaling action based on CPU utilization is Amazon CloudWatch alarm.
Amazon CloudWatch is a monitoring service that provides metrics and logs on AWS resources and applications. It can be used to monitor the CPU utilization of an Amazon EC2 instance and trigger an Amazon EC2 Auto Scaling action based on predefined thresholds. To do this, a CloudWatch alarm must be set up with the CPU utilization metric, and then configured to trigger the appropriate Amazon EC2 Auto Scaling action when the threshold is met.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html
You can use a CloudWatch alarm with Amazon EC2 Auto Scaling to scale your EC2 instances based on demand. For more information, see Dynamic Scaling in the Amazon EC2 Auto Scaling User Guide
Amazon CloudWatch alarms can be created on the Auto Scaling group as a whole, such as Average CPUUtilization. This is because alarms are used to tell Auto Scaling when to add/remove instances and such decisions would be based upon the group as a whole.
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.
zoeyaj
Highly Voted 2 years, 7 months agoman5484
Highly Voted 1 year, 9 months agoSelma97
Most Recent 1 year, 6 months agopetercorn
1 year, 7 months agoGouda_
1 year, 8 months agoGulsah
1 year, 9 months agoPranava_GCP
1 year, 9 months agoNihal_OO7
1 year, 9 months agofhernandez
1 year, 10 months agohuanghaiyao
1 year, 11 months agonixonlaw
1 year, 11 months agoVeerapapi
2 years agoGuru4Cloud
2 years agoKrish_Kaustub
2 years, 1 month agospiderking123
2 years, 1 month agoharisene
2 years, 1 month agoAhmedhadi_
2 years, 1 month ago