All Products
Search
Document Center

Compute Nest:部署并使用计算巢SaaS Boost

Last Updated:Apr 25, 2026

This topic describes how to deploy the Compute Nest SaaS Boost service on an ECS instance and in an ACK cluster, and how to add an existing Compute Nest service to SaaS Boost for sale.

Billing

Compute Nest SaaS Boost is free of charge. You are charged for the cloud resources used during the deployment. For more information, see Cloud resource billing rules.

Prerequisites

  • A GitHub repository.

  • (Optional) An ACK cluster. If you do not have one, see Create an ACK managed cluster or Create an ACK dedicated cluster (discontinued).

    Note

    You can skip this step if you deploy SaaS Boost on an ECS instance.

  • A published Compute Nest service. If you do not have one, see Create a service and Publish a service.

    Important

    The Compute Nest service must be a private deployment service or a fully managed service.

  • If you are a RAM user, you must be granted permissions for the following resources. For detailed instructions, see Grant permissions to a RAM user.

    Required cloud resource permissions

    Parameter

    Description

    AliyunECSFullAccess

    Permissions to manage Elastic Compute Service (ECS)

    AliyunVPCFullAccess

    Permissions to manage Virtual Private Cloud (VPC)

    AliyunROSFullAccess

    Permissions to manage Resource Orchestration Service (ROS)

    AliyunCloudMonitorFullAccess

    Permissions to manage CloudMonitor

    AliyunOSSFullAccess

    Permissions to manage Object Storage Service (OSS)

    AliyunOOSFullAccess

    Permissions to manage CloudOps Orchestration Service (OOS)

    AliyunFCFullAccess

    Permissions to manage Function Compute (FC)

    AliyunOTSFullAccess

    Permissions to manage Tablestore

    AliyunComputeNestSupplierFullAccess

    Provider-side permissions to manage Compute Nest services

Procedure

Step 1: Preparation

  1. Obtain the application ID, bound merchant account, and related keys and certificates from Alipay Sandbox for test payments.

    Important

    To ensure that your Alipay or WeChat merchant account can receive payments, use an Alipay Sandbox account to test purchasing a SaaS Boost product.

    1. Log on to the Alipay Sandbox.

      Note

      If you do not have an Alipay Sandbox account, follow the on-screen instructions to create one.

    2. On the Sandbox application page in the console, save the following parameters.

      • Application ID

      • Bound merchant account (PID)

    3. In the Development information section, for Interface signing method, select System default key, and then configure the signing.

      • If you only want to try the SaaS Boost service, use the public key mode.

      • To test a service before you publish it, use the certificate mode.

      Warning

      The default key provided by the sandbox uses the public key or certificate mechanism and the RSA2 algorithm to securely encrypt information exchanged between your application and the sandbox. If your API calls do not involve fund outflows, we recommend using the public key mode for signing. If your API calls involve fund outflows, you must use the certificate mode for signing.

      Certificate mode

      In the Certificate mode section, click View and save the following information:

      • Application private key

      • Application public key certificate

      • Alipay public key certificate

      • Alipay root certificate

      Public key mode

      In the Public key mode section, click View and save the following information:

      • Application private key

      • Alipay public key

  2. Obtain the application IDs, merchant IDs, and related keys and certificates from Alipay and WeChat for the production environment.

    Important

    Configure your payment environment. Debug your code and test payment workflows in the sandbox. Switch to the production environment only after confirming that everything works as expected.

    Alipay

    1. Log on to the Alipay Open Platform and integrate the Compute Nest service application that you prepared in Prerequisites with the Alipay Open Platform. For more information, see the Alipay Open Platform Technical Integration Guide.

    2. After integrating your application, obtain the Alipay parameters for the production environment.

      1. Obtain the application ID (APPID). For more information, see Obtain an application ID.

      2. Obtain the merchant ID (PID). For more information, see Obtain a merchant ID.

      3. Obtain the key and certificate. For more information, see View key/certificate.

        Warning
        • When you register for the first time, you must configure a signing method. For more information, see Set key signing method and Set certificate signing method.

        • If your API calls do not involve fund outflows, we recommend using the key signing method. If your API calls involve fund outflows, you must use the certificate signing method.

    WeChat

    1. Log on to the WeChat Pay Merchant Platform and integrate the Compute Nest service application that you prepared in Prerequisites with the WeChat Pay Merchant Platform. For more information, see the Integration Guide.

    2. After integrating your application, apply for and configure the required parameters for your WeChat Pay workflow. For more information, see Parameter application, Configure an API key, and Download and configure merchant certificates.

    3. Obtain the WeChat Pay parameters.

      Important

      SaaS Boost supports WeChat Pay API v3. Ensure the parameters you provide are for the production environment of WeChat Pay API v3.

      1. Obtain the application ID (AppID) and merchant ID (mchid).

      2. Obtain the API v3 key. For more information, see the API v3 key introduction document.

      3. Apply for a merchant API certificate. For more information, see Private key and certificate.

      4. Obtain the merchant API certificate serial number and the merchant API private key certificate.

        Log on to the WeChat Pay Merchant Platform and navigate to API security > API certificate > View certificate.

        Note

        The merchant API certificate serial number is the unique identifier for the certificate, not part of the certificate's content.

Step 2: Deploy SaaS Boost

1. Create a personal SaaS Boost repository

Fork the SaaS Boost repository to your personal account and copy the HTTPS repository URL.

Code directory description:

.
├── boost.common       # Toolkit
├── boost.front        # Frontend code
├── boost.helm         # Helm package code
├── boost.server       # Service code
├── boost.serverless   # Scheduled tasks or serverless components
├── docs               # Documentation

Compute Nest SaaS Boost is a development framework that helps you quickly build, deploy, scale, and sell SaaS applications. You must fork the source code repository for the following reasons:

  • Private parameter configuration: When deploying a SaaS application, you need to provide sensitive or environment-specific static parameters, such as network configurations, payment keys, and database connection strings. Because these parameters are confidential and environment-specific, do not hard-code or store them in the public SaaS Boost source code. Instead, the SaaS Boost service automatically configures these static parameters in your personal repository during deployment.

  • Customization requirements: You might need to customize SaaS Boost for specific business scenarios or customer requirements, such as creating custom webpages. Forking the source code repository allows you to modify or add code in your personal repository to meet these special needs without affecting the reusability of the original SaaS Boost project.

2. Deploy and view service instances

Select the deployment method that matches your scenario.

ECS mode

Deployment parameters

Parameter group

Parameter

Description

Service instance

Service instance name

The name can be up to 64 characters long, must start with a letter, and can contain digits, letters, hyphens (-), and underscores (_).

Region

The deployment region for the service instance.

Pipeline configuration

Enterprise

Select or create your enterprise.

GitHub service connection

Credentials for connecting to GitHub. You can create a connection by using a username and password.

GitRepoEndpoint

The repository URL.

Execute pipeline synchronously

Specifies whether to execute the pipeline synchronously.

Billing configuration

Billing method

pay-as-you-go or subscription

ECS instance configuration

Instance type

The type of ECS instance to deploy.

Instance password

The server login password. It must be 8 to 30 characters long and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters from the following set: ()~!@#$%^&*_-+=|{}[]:;'<>,.?/

Zone configuration

vSwitch zone

The zone where the selected instance type is available.

Network configuration

Create new VPC

Specifies whether to create a VPC in the selected zone.

VPC instance ID

Select a VPC in the current zone.

vSwitch instance ID

The vSwitch to use in the selected VPC.

  1. Go to the SaaS Boost one-click deployment service page in the Compute Nest console and click Create Now.

  2. In the Select Template section, select ecs and a deployment region.

  3. In the Pipeline configuration section, create a new enterprise and a new service connection, and then enter the repository URL you obtained in the Create a personal SaaS Boost repository step.

    Create a new enterprise and service connection

    1. Create an Alibaba Cloud DevOps enterprise, select your role, and then click Start Work.

    2. On the Alibaba Cloud DevOps workbench, in the Products section, click Pipeline.

    3. On the Pipeline Flow page, click Global Settings in the lower-left corner.

    4. In Global Settings, click Service Connection Management in the left-side navigation pane, and then click Create.

    5. In the dialog box that appears, select GitHub and click Next.

    6. On the Create Service Connection page, enter the required parameters and create a Service Authorization/Certificate.

    7. Log in to GitHub and grant authorization.

    8. After you grant authorization, GitHub redirects you to the Create Service Connection page. Click Create.

  4. Select a Payer Type, the desired ECS instance type, and the deployment zone.

  5. Select or create a VPC and a vSwitch.

    Note

    For simplicity, create a new VPC and vSwitch.

  6. Click Next, agree to the terms of service, and then click Create Now to start the deployment.

  7. After the service instance is created, check whether the pipeline ran successfully.

    1. Wait for the pipeline to complete. You can check the execution progress by accessing the pipeline access URL.

    2. Verify that the pipeline has completed successfully.

  8. After the deployment is successful, go to the service instance details page and click the Public Endpoint to access your SaaS Boost instance.

ACK mode

Deployment parameters

Parameter group

Parameter

Description

Service instance

Service instance name

The name can be up to 64 characters long, must start with a letter, and can contain digits, letters, hyphens (-), and underscores (_).

Region

The region where the service instance is deployed.

ACK cluster configuration

Cluster ID

The ACK cluster that you purchased on Alibaba Cloud.

Pod security role identity

Assigns a RAM role to the Pod to prevent unauthorized access.

Image configuration

Server image

The image that contains both the frontend (boost.front) and backend (boost.server) code.

Scheduled task image

The boost.serverless image.

  1. Configure the ACK cluster.

    1. Go to the Container Service for Kubernetes (ACK) console and select the ACK cluster that you prepared in Prerequisites.

    2. In the Basic Information section of the cluster, click Enable RRSA. ACK uses this feature to implement permission isolation for Pods.

  2. Deploy SaaS Boost in Compute Nest.

    1. Go to the SaaS Boost one-click deployment service page in the Compute Nest console.

    2. In the Select Template section, select ACK and select a deployment region.

    3. In the ACK cluster configuration section, select the ACK cluster that you prepared in Prerequisites and the Pod security role identity.

    4. In the Configuration of the Image section, enter the image URL.

      • To use the official SaaS Boost image, keep the default values.

      • To build your own image, we recommend using the Jib Maven build plug-in. The following is a sample command:

        Note

        Images include boost.server (the main service image) and boost.serverless (the scheduled task image).

        mvn compile com.google.cloud.tools:jib-maven-plugin:2.3.0:dockerBuild -Djib.to.image=aliyun-saas-boost-server:$VERSION
  3. Click Next. On the next page, the system performs a dependency check. When the check is complete, click Create Now.

  4. Return to the service instance list to view the deployment progress.

  5. After the deployment is successful, go to the service instance details page and click the SaaS Boost public network access address to access your SaaS Boost instance.

Step 3: Configure merchant information

  1. Log on to the Compute Nest console. In the left-side navigation pane, click Service Instance. On the Service Instance page, find the SaaS Boost service instance and click its ID.

  2. On the Service Instance Details page, click the public endpoint to log on to SaaS Boost.

    image

  1. In the SaaS Boost instance, click parameter management. In the merchant information management section, click Edit.

  2. Enter the required parameters and click Save.

Step 4: Create and link a product

  1. Create a product in SaaS Boost.

    1. Log on to the Compute Nest console. In the left-side navigation pane, click Service Instance. On the Service Instance page, find the SaaS Boost service instance and click its ID.

    2. On the Service Instance Details page, click the public endpoint to log on to SaaS Boost.

      image

    1. Navigate to the Products page and click Add to open the Add Product page.

    2. Enter the product information. The following table describes the main parameters.

      Parameter

      Description

      Product name

      The name of the product that is displayed to users.

      Compute Nest service ID

      Select the Compute Nest service that you want to offer as a product.

      Default price

      If no parameter set is available, the default price is used.

      Purchase cycle unit

      The unit for the purchase cycle, such as year, month, or day.

      Allowed purchase cycle

      The available purchase cycles that users can select.

      Service version

      Defaults to the latest published version of the Compute Nest service.

    3. Click Submit to create the product.

  2. (Optional) Configure a parameter set for the SaaS Boost product.

    If your Compute Nest service has parameter sets, you must add the same parameter sets to the product.

    1. Open the parameter set management page for the product that you created.

    2. In the Plan Name field, enter the exact name of the corresponding parameter set in Compute Nest.

      Important

      The parameter set name in SaaS Boost must exactly match the corresponding parameter set name in Compute Nest.

      • Example of a parameter set configuration in Compute Nest:

        A parameter set named Parameter Set 1 is configured in Compute Nest and includes parameters such as system disk space (GB) (200), billing method (PostPaid), and public network bandwidth (10).

      • Example of the corresponding parameter set in SaaS Boost:

        In SaaS Boost, create a parameter set named Parameter Set 1, set the unit price to 500.00, the purchase cycle unit to month, and the allowed purchase cycle from 1 to 5.

    3. Set a price based on the parameter set configuration. After confirming the details, save the new parameter set.

      Important
      • Base the price on the resource configuration of the corresponding parameter set in the Compute Nest service.

      • Regularly review and update the mapping between parameter sets in SaaS Boost and Compute Nest to ensure they remain synchronized.

  3. To publish the product in SaaS Boost, go to the Products page and click Publish next to the corresponding product.

Step 5: Configure and test payment

After you publish your product, you must configure payment settings. This enables users to purchase the product on the Featured Services page when they access the SaaS Boost public URL.

1. Configure payment for the sandbox environment

Regardless of whether you want to use Alipay or WeChat Pay in your production environment, you can use the Alipay sandbox environment for testing.

Configure parameters
  1. Log on to the Compute Nest console. In the left-side navigation pane, click Service Instance. On the Service Instance page, find the SaaS Boost service instance and click its ID.

  2. On the Service Instance Details page, click the public endpoint to log on to SaaS Boost.

    image

  1. In the SaaS Boost instance, to edit the Payment Key Management settings, select Parameter Management, click Payment Key Management, and then click Edit.

  2. In the Alipay section, select the Sandbox Environment checkbox and select Certificate or Key as the deployment method. Configure the parameters with the information you saved or downloaded from the Alipay sandbox, and then click Save.

Test Alipay sandbox payment
  1. Log in to the Alipay sandbox app.

    1. From Alipay Sandbox Tools, download the Alipay sandbox app for Android.

    2. Use the parameters from the sandbox application to configure Alipay.

    3. Use the buyer information from your sandbox account to log in to the downloaded Alipay sandbox app for Android.

  2. Purchase a software product.

    1. On the Featured Services page, select the software product you want to purchase.

    2. Configure the parameters as required by the service, and then click Next: Confirm Order.

    3. Confirm the settings, then click Create Now. The page redirects to the order list page. Scan the QR code with the Alipay sandbox app for Android to complete the payment.

      Note
      • Sandbox payments do not involve real money. They only simulate the transaction process.

    4. After the payment is successful, the page automatically redirects to the service instance page. Wait for the service instance to deploy, and then click its Instance ID to view the overview.

    5. If the Status is Running, the sales test is successful.

      Important

      After testing with the sandbox, you must re-test the sales process using your official Alipay merchant account or WeChat Pay merchant account.

2. Configure payment for the production environment

Alipay
Configure parameters
  1. Log on to the Compute Nest console. In the left-side navigation pane, click Service Instance. On the Service Instance page, find the SaaS Boost service instance and click its ID.

  2. On the Service Instance Details page, click the public endpoint to log on to SaaS Boost.

    image

  1. In the SaaS Boost instance, to edit the Payment Key Management settings, select Parameter Management, click Payment Key Management, and then click Edit.

  2. In the Alipay section, select the Production Environment checkbox, and select either Certificate or Key as the deployment method. Configure the parameters as described in Obtain the application ID, merchant ID, and related keys and certificates for Alipay, and then click Save.

    Warning

    If your API calls involve fund outflows, you must use Certificate Mode for signing.

Test Alipay payment
  1. Purchase a software product.

    1. On the Featured Services page, select the software product you want to purchase.

    2. Configure the parameters as required by the service, and then click Next: Confirm Order.

    3. Confirm the settings, then click Create Now. The page redirects to the order list page. Scan the QR code with the Alipay app to complete the payment.

      Note
      • Payments in the production environment involve real money. For testing, use a small amount, such as CNY 0.01.

      • If multiple payment methods are configured, the payment window offers several options.

    4. After the payment is successful, the page automatically redirects to the service instance page. Wait for the service instance to deploy, and then click its Instance ID to view the overview.

    5. If the Status is Running, the sales test is successful.

WeChat Pay
Configure parameters
  1. Log on to the Compute Nest console. In the left-side navigation pane, click Service Instance. On the Service Instance page, find the SaaS Boost service instance and click its ID.

  2. On the Service Instance Details page, click the public endpoint to log on to SaaS Boost.

    image

  1. In the SaaS Boost instance, to edit the Payment Key Management settings, select Parameter Management, click Payment Key Management, and then click Edit.

  2. In the WeChat Pay section, select the Production Environment checkbox, and select either Certificate or Key as the deployment method. Configure the parameters by following the instructions in Obtain the application ID, merchant ID, and related keys and certificates for WeChat Pay, and then click Save.

Test WeChat Pay payment
  1. Purchase a software product.

    1. On the Featured Services page, select the software product you want to purchase.

    2. Configure the parameters as required by the service, and then click Next: Confirm Order.

    3. Confirm the settings, then click Create Now. The page redirects to the order list page. Use the WeChat app to scan the QR code and complete the payment.

      Note
      • Payments in the production environment involve real money. For testing, use a small amount, such as CNY 0.01.

      • If multiple payment methods are configured, the payment window offers several options.

    4. After the payment is successful, the page automatically redirects to the service instance page. Wait for the service instance to deploy, and then click its Instance ID to view the overview.

    5. If the Status is Running, the sales test is successful.

Related operations

Modify or cancel SaaS Boost product binding

Use this procedure if you encounter a product binding error or want to change the binding.

Note

Only published Compute Nest services can be modified.

  1. Find your Compute Nest service and click Modify Product Configurations.

  2. Modify the original URL and product code.

    Note

    The URL must follow a specific format and end with a forward slash (/). If a specific port number is not required, you can omit it from the URL. For example, change http://xx.xx.xx.com:9999/ to http://xx.xx.xx.com/.

    To cancel the SaaS Boost product binding, click Unbind SaaS Boost Product.

Scheduled tasks

Scheduled tasks provide information about timed-out orders, automatic transaction closures, and the processing of refund requests to help you manage your SaaS Boost service.

ECS mode

  1. Log on to the Compute Nest console. In the navigation pane on the left, click Service Instance and select the target service instance.

  2. In the Overview section of the service instance, click Scheduled Task URL to go to the Function Compute console.

  3. Use the console buttons to access different Function Compute features and check the execution status.

ACK mode

For the ACK deployment mode, go to ACK Jobs to check the execution status.

FAQ

For troubleshooting, see SaaS Boost FAQ.