Title
Autoscaling in a Compute Instance Pool
Description
Autoscaling lets you automatically adjust the number or the lifecycle state of compute instances in an instance pool. This helps you provide consistent performance for your end-users during periods of high demand, and helps you reduce your costs during periods of low demand.
See also:
https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm
https://docs.oracle.com/en/learn/configure_auto_scaling/index.html
NOTE: Below is an example of a cloud-init script. Since YouTube doesn't allow for angled brackets in Description, please replace the capital R in the example below with an angled bracket (aka the Greater Than character).
Example Script:
#cloud-config
{{ packages:httpdstress
runcmd:[sh, -c, echo "RhtmlRWeb Server IP hostname --ipaddressR/htmlR" R /var/www/html/index.html][firewall-offline-cmd, --add-port=80/tcp][systemctl, start, httpd][systemctl, restart, firewalld]}}
Copyright © 2022, Oracle and/or its affiliates.
There are no comments.
Login to respond »