Define or update a Business hours policy

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:8分
  • A Business hours job applies policies to identify resources that are running when they should be powered off, reports them, and can start and stop them on a schedule that you specify. Running only during specified business hours can significantly reduce your cloud spend.

    始める前に

    Required: A cloud account (parent account) that has at least one service account or project that has associated datacenters.

    A Billing Download job must be defined.

    Role required: insights_admin [sn_clin_core.insights_admin] or insights_owner [sn_clin_core.insights_owner] for owned service accounts.

    このタスクについて

    重要:
    A resource matches the policy if all criteria in the Service Account and Resource Criteria section are met.
    • You must select one of the Cloud Cost Management application scopes to create or update a Business hours policy.
    • You can create as many policies as needed.
    • You can’t change the provider while editing an existing policy.
    • When you deactivate a Business Hours policy, the resources that met the policy criteria might match a different policy (the matching policy with lowest run order) and therefore move to another schedule. In this case, the system generates a new change request. If a resource no longer meets any policy, the system attempts to power on the resource using the specified Power-on flow setting.

    手順

    1. Navigate to Cloud Cost Management Workspace > Operations > Recommendations > Business hours.
    2. Select Policies.
      When a policy is created or updated with changes other than to its name or description, a notification appears on the tab. Select Apply policies to apply the updated policy and recalculate the reported data.
    3. Select New/Edit to create a policy.
      You can edit an existing policy by selecting a policy name from the Business Hours Policies list.
    4. On the form, fill in the fields.
      表 : 1. Business Hours Policy Creation form
      Field Value
      Select business hours policy to edit The business hour policy that you want to edit.
      Active

      The option to apply the policy. Selecting the Active check box enables Business hours analysis whenever billing data is updated.

      Policy name A unique name that describes the policy for other users.
      Description A brief description of the policy.
      Run order

      The order in which to apply policies. Each policy must have a unique value. The system applies policies in low-to-high run order and performs the actions for the first policy that matches. After a match, no other policy is applied to the resource.

      重要:
      The system applies two batches of policies in the precedence order that you specify: Policies created by Admins and policies created by Insights Owners. See the Precedence setting in Configure Business hours operations.

      Run order values for Unassigned Resources policies and Business hours policies don’t interfere with each other.

      Provider The cloud provider to apply the policy to.
      注:
      You can’t change the provider while editing an existing policy.
      Service category List of all service categories that the policy applies to.
      Service accounts The service accounts to apply the policy to.

      For Google Cloud only, this field is called Projects.

      Tag Values Condition
      Tag Name List of tag names that you can add by selecting Add.
      Tag Value List of tag values in a new line.
      Approval type

      The action to take on each resource that matches the policy. Business Hours operations are directly integrated with the ServiceNow Change Management feature.

      Auto-approval (Standard Change):
      • Generate a recommendation to apply the specified business hours and add the resource to the Business hours reports.
      • Generate and then auto-approve a change request for the change group.
      • Add the resource to the Business hours reports.
      • Apply the Business hours schedule to the resource.
      Manual approval (Normal Change):
      • Generate a recommendation to apply the specified business hours schedule and add the resource to the Business hours reports.
      • Generate a change request for members of the change group.
      • Add the resource to the Business hours reports.
      • Any member of the group with the sn_change_write role can approve the change request.
      • When approved, apply the Business hours schedule to the resource.
      Report-only:
      • Generate a recommendation to apply the specified business hours.
      • Add the resource to the Business hours reports.
      Business hour schedule The schedule that specifies the days of the week and times of day that the resource should be powered on.

      Select a schedule from the list or define a schedule by navigating to Cloud Cost Management Workspace > Operations > Administration > Business hours schedules. For more information, see Create Business hours schedule.

    5. Select Submit.

    タスクの結果

    • The created policy appears on the Business Hours Policies tab.
    • When the Discovery and Billing Download job executions finish, the system applies active policies to identify matching resources and then performs the policy actions on the resources.

    次のタスク

    After you create or update a policy, select Apply policies to apply the created policy to a resource. This action also notifies you if enough recent billing data for AWS, Azure, or Google doesn't exist to apply the policy.