- Create an auto-scale group using the launch configuration created in the previous section.
- (Optional) Attach the ELB to the auto-scale group created in step 1.
-
Configure the following rules for the auto scale group:
- Configure the “Increase Group Size” rule - Add one instance, when the Average CPU utilization is greater than 90% for at least 2 consecutive periods of 5-minutes.
- Configure the “Decrease Group Size” rule - Remove one instance, when the Average CPU utilization is less than 10% for at least two consecutive periods of 5-minutes.
Optional: Uninstall the ASE serviceIf you wish to uninstall the ASE service installed in the Create an AMI for ASE section, run the following command:/opt/pingidentity/ase/bin$sudo ./uninstall_service.sh This script will uninstall ASE service Do you wish to proceed (y/n)? y Starting service uninstallation RHEL 7.6 detected, uninstalling ASE Service.. ase stop/waiting ASE service successfully uninstalled