Set an Alert for Your Resource Usage

If you’ve subscribed to service entitlements, then you can monitor the number of resources used and determine whether you can buy additional resources. The resource usage is monitored vis-a-vis a defined usage limit (number of resources). You can also create alert rules for service entitlements under promotion to monitor the account balance.

You can configure rules and generate alerts when the resource usage exceeds or reaches the specified limit. If a soft limit is set, users are allowed to exceed their resource quota and use additional resources up to a system-defined value. If a hard limit is set, then a quota breach occurs when the usage limit is reached. In either case, an alert is sent to the service administrators when resource usage exceeds the set limits.

When there is a quota breach, your service is suspended and you can't create new instances. However, your existing instances will continue to run. You must purchase additional resources to continue to use the services.

Note that you can set only soft limits on the total promotion balance but you can set soft or hard limits for a specific entitlement under promotion. Also, you can’t modify or delete system-generated alert rules for a promotion.

To create alert rules, do the following:
  1. Sign in to Applications Console or Infrastructure Classic Console.
    Sign in to the Applications Console if you want to work with Oracle Cloud Applications. Sign in to Infrastructure Classic Console if you want to access Oracle Cloud infrastructure and platform services. If you see Infrastructure Classic at the top of the page when you sign in to Oracle Cloud, then you are using Infrastructure Classic Console and your subscription does not support access to the Infrastructure Console.
  2. Navigate to the appropriate service listing.
  3. Click the service name to open the details page for the service.
    The Overview page is in focus.
  4. Click the Resource Quotas tile. Alert rules, if any, are listed in the Alert Rules section.
  5. In the Alert Rules section, click Create.
  6. In the Create Alert Rule dialog box, specify the following:
    1. Channel: Email. This is selected by default and is read-only. You’ll receive alert notifications via email.
    2. Service Category Name: The category name is displayed and is read-only for entitlements. However, for a service entitlement under credit promotion, you can either select the entitlement or the promotion itself from the list.
    3. Resource: Select a resource you want to monitor from the list. For example, Number of users or Additional storage.
    4. Limit Type: Specify one of the following:
      • Soft Limit: You’ll get an alert when the usage limit is reached but you can still continue to use the resources. Only soft limits are allowed if you select promotion from the service category name. The Limit Type field is disabled in such cases.

      • Hard Limit: You’ll get an alert when the usage limit is reached and a quota breach occurs. You can’t use the resources or create instances as the service becomes suspended. You can specify only one hard limit alert rule for a purchased resource. If there’s an existing system-created hard limit alert rule for a purchased resource, then you can’t create another hard limit rule for the same resource. The system-defined hard limit is 2 times the purchased amount (for absolute value) or 200 % (for percentage), unless specified differently by individual service types. You can’t delete system-created hard limits.

    5. Value Type: Select either Absolute or Percentage. For example, if you select Absolute and the service type has defined a hard limit, the system uses this value as the maximum hard limit. If the hard limit is not defined, it uses the default value (2 times the purchased amount). If you select Percentage and a hard limit is set by the service type, the system calculates the maximum percentage as follows: maximum hard limit value / purchased amount. If the hard limit is not defined, the system uses the default value of 200%. You can’t specify Percentage for pay-as-you-go subscriptions.
    6. Usage Limit: Specify the usage limit. The maximum hard limit is displayed below this field (based on the value type calculation as explained above). Limit value can’t be more than what is allowed by the system depending on whether it’s an absolute value or a percentage. You’ll get an alert when the resource usage reaches this value. The limit must be greater than or equal to 1.
    7. Balance below: This field is displayed instead of Usage Limit in case of credit promotions. For promotions, the limit to be set is for the remaining balance, not usage. You’ll get an alert when the balance reaches the value you specify here.
    8. Click Done.