Auto Scaling for Compute Instances in Oracle Cloud Infrastructure: Key Requirements

Auto Scaling for Compute Instances

Question

Your customer is running a set of compute instances inside a private subnet to manage their workloads on Oracle Cloud Infrastructure (OCI) tenancy.

You have set up auto scaling feature to provide consistent performance to their end users during period of high demand.

Which step should be met for auto scaling to work? (Choose the best answer.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.

https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm

Auto scaling is a feature in Oracle Cloud Infrastructure (OCI) that allows you to automatically increase or decrease the number of compute instances in a group based on the demand for resources. This is done to provide consistent performance to end-users and to optimize resource usage.

To set up auto scaling for a set of compute instances in a private subnet on OCI, the following steps must be taken:

  1. Create an Auto Scaling Configuration: An auto scaling configuration defines the properties of the instances to be launched or terminated in response to the changes in demand. It includes details such as the number of instances to be launched, instance size, operating system image, and networking settings.

  2. Create an Auto Scaling Group: An auto scaling group is a collection of instances that are launched or terminated as a single entity in response to changes in demand. The group is associated with an auto scaling configuration and can be configured to automatically scale up or down based on specific criteria.

  3. Set Up Monitoring: To ensure that the auto scaling group is scaling up or down based on demand, monitoring must be set up for the instances. This involves configuring the instances to send metrics to the OCI monitoring service. The monitoring service collects and displays metrics such as CPU utilization, memory usage, and network traffic, which can be used to trigger scaling events.

  4. Enable OS Management Service: The OS Management Service agent (osms) must be installed on the instances in the auto scaling group. The OS Management Service agent provides centralized management of operating systems and applications running on OCI compute instances. It allows you to patch and update operating systems and applications, install software, and perform other maintenance tasks.

Out of the given options, Option A is the correct answer. The OS Management Service agent (osms) must be installed on the instances in the auto scaling group for the auto scaling feature to work. Option B is incorrect because enabling audit logs for the instances is not a requirement for auto scaling. Option C is also incorrect because setting up a service gateway is not a requirement for auto scaling, although it may be necessary for other features such as accessing services outside of the VCN. Option D is incorrect because monitoring must be enabled for the instances to ensure that the auto scaling group is scaling up or down based on demand.