Which of the following feature is used for scaling of EC2 sites?

auto replica
auto scaling
auto ruling
all of the mentioned

The correct answer is D. All of the mentioned.

Auto Scaling is a feature of Amazon EC2 that automatically launches or terminates EC2 instances based on demand. You can use Auto Scaling to maintain a desired number of instances or to scale your instances up or down based on a schedule or a metric.

Auto Scaling can be used to scale your EC2 instances for a variety of reasons, such as:

  • To meet changes in demand. For example, if you have an e-commerce website, you might want to scale your EC2 instances up during peak shopping hours to handle the increased traffic.
  • To reduce costs. You can use Auto Scaling to terminate idle instances, which can save you money on your EC2 bill.
  • To improve performance. You can use Auto Scaling to scale your EC2 instances up or down based on the load on your application. This can help to ensure that your application always has the resources it needs to perform well.

To use Auto Scaling, you first need to create an Auto Scaling group. An Auto Scaling group is a collection of EC2 instances that are managed by Auto Scaling. You can create an Auto Scaling group for any type of EC2 instance.

Once you have created an Auto Scaling group, you can add instances to it. You can also add rules to your Auto Scaling group that will cause Auto Scaling to launch or terminate instances. For example, you can create a rule that will cause Auto Scaling to launch an instance when the average CPU utilization of the instances in your Auto Scaling group reaches 80%.

You can also create a schedule for your Auto Scaling group. A schedule is a set of rules that will cause Auto Scaling to launch or terminate instances at specific times. For example, you can create a schedule that will cause Auto Scaling to launch an instance at 8:00 AM every day and terminate an instance at 5:00 PM every day.

Auto Scaling is a powerful tool that can help you to manage your EC2 instances. By using Auto Scaling, you can ensure that your EC2 instances always have the resources they need to perform well.