Enabling and Disabling Autoscaling Configurations and Policies

Complete the following steps to enable or disable an autoscaling configuration. In addition, schedule-based policies can be enabled or disabled.

  • Navigate to the Autoscaling configurations list page. If you need help finding the list page, see Listing Autoscaling Configurations.

    Enable or Disable an Autoscaling Configuration

    From the Actions menu (three dots) for your target configuration.

    • To disable: Select Disable. Then select Disable again to confirm.
    • To enable: Select Enable. Then select Enable again to confirm.

    Disable or Enable a Schedule-based Autoscaling Policy

    To disable or enable a schedule-based autoscaling policy:

    • Select an autoscaling configuration.
    • Select the Autoscaling polices tab.
    • To disable: From the Actions menu (three dots) for the policy, select Disable. Then select Disable again to confirm.
    • To enable: From the Actions menu (three dots) for the policy, select Enable. Then select Enable again to confirm.
  • Use the autoscaling configuration update command and required parameters to edit an autoscaling configuration:

    oci autoscaling configuration update --from-json <file://path/to/file.json>

    <file://path/to/file.json> is the path to a JSON file that defines the instance details. For information about how to generate an example of the JSON file, see Advanced JSON Options.

    For a complete list of flags and variable options for the Compute service CLI commands, see the command line reference for Compute.

  • For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.

    Use this API operation to edit an autoscaling configuration: