This topic describes how to configure the maximum number of pay-as-you-go instances in the Function Compute console.

Procedure

  1. Log on to the Function Compute console.
  2. In the top navigation bar, select your region.
  3. In the left-side navigation pane, click Service/Function.
  4. In the service list, click the name of the target service.
  5. Click the On-Demand Resources tab and click Configure Instances.
    set-instance
  6. In the Configure Pay-As-You-Go Instances dialog box, set parameters at the bottom and click OK.
    set-instance
    Parameter Description
    Version/Alias Select an alias in the Alias column or LATEST in the Version column for the target function to be executed in the pay-as-you-go instance. For more information, see Introduction to aliases or Introduction to versions.
    Function Name Select the target function to be executed in the pay-as-you-go instance.
    Maximum Instances Enter the maximum number of pay-as-you-go instances that will be used to execute the target function.

References

  • For more information about how to use the SDK for Java to configure a pay-as-you-go instance, see Example.
  • For more information about how to use the SDK for Go to configure a pay-as-you-go instance, see Configure pay-as-you-go instances.