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).
NoteYou 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.
ImportantThe 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.
Procedure
Step 1: Preparation
-
Obtain the application ID, bound merchant account, and related keys and certificates from Alipay Sandbox for test payments.
ImportantTo ensure that your Alipay or WeChat merchant account can receive payments, use an Alipay Sandbox account to test purchasing a SaaS Boost product.
-
Log on to the Alipay Sandbox.
NoteIf you do not have an Alipay Sandbox account, follow the on-screen instructions to create one.
-
On the Sandbox application page in the console, save the following parameters.
-
Application ID
-
Bound merchant account (PID)
-
-
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.
WarningThe 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
-
-
-
Obtain the application IDs, merchant IDs, and related keys and certificates from Alipay and WeChat for the production environment.
ImportantConfigure 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
-
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.
-
After integrating your application, obtain the Alipay parameters for the production environment.
-
Obtain the application ID (APPID). For more information, see Obtain an application ID.
-
Obtain the merchant ID (PID). For more information, see Obtain a merchant ID.
-
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
-
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.
-
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.
-
Obtain the WeChat Pay parameters.
ImportantSaaS Boost supports WeChat Pay API v3. Ensure the parameters you provide are for the production environment of WeChat Pay API v3.
-
Obtain the application ID (AppID) and merchant ID (mchid).
-
Obtain the API v3 key. For more information, see the API v3 key introduction document.
-
Apply for a merchant API certificate. For more information, see Private key and certificate.
-
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 .
NoteThe 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
-
Go to the SaaS Boost one-click deployment service page in the Compute Nest console and click Create Now.
-
In the Select Template section, select ecs and a deployment region.
-
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.
-
Select a Payer Type, the desired ECS instance type, and the deployment zone.
-
Select or create a VPC and a vSwitch.
NoteFor simplicity, create a new VPC and vSwitch.
-
Click Next, agree to the terms of service, and then click Create Now to start the deployment.
-
After the service instance is created, check whether the pipeline ran successfully.
-
Wait for the pipeline to complete. You can check the execution progress by accessing the pipeline access URL.
-
Verify that the pipeline has completed successfully.
-
-
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
-
Configure the ACK cluster.
-
Go to the Container Service for Kubernetes (ACK) console and select the ACK cluster that you prepared in Prerequisites.
-
In the Basic Information section of the cluster, click Enable RRSA. ACK uses this feature to implement permission isolation for Pods.
-
-
Deploy SaaS Boost in Compute Nest.
-
Go to the SaaS Boost one-click deployment service page in the Compute Nest console.
-
In the Select Template section, select ACK and select a deployment region.
-
In the ACK cluster configuration section, select the ACK cluster that you prepared in Prerequisites and the Pod security role identity.
-
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:
NoteImages include
boost.server(the main service image) andboost.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
-
-
-
Click Next. On the next page, the system performs a dependency check. When the check is complete, click Create Now.
-
Return to the service instance list to view the deployment progress.
-
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
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.
On the Service Instance Details page, click the public endpoint to log on to SaaS Boost.

-
In the SaaS Boost instance, click parameter management. In the merchant information management section, click Edit.
-
Enter the required parameters and click Save.
Step 4: Create and link a product
-
Create a product in SaaS Boost.
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.
On the Service Instance Details page, click the public endpoint to log on to SaaS Boost.

-
Navigate to the Products page and click Add to open the Add Product page.
-
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.
-
Click Submit to create the product.
-
(Optional) Configure a parameter set for the SaaS Boost product.
-
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
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.
On the Service Instance Details page, click the public endpoint to log on to SaaS Boost.

-
In the SaaS Boost instance, to edit the Payment Key Management settings, select Parameter Management, click Payment Key Management, and then click Edit.
-
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
-
Log in to the Alipay sandbox app.
-
From Alipay Sandbox Tools, download the Alipay sandbox app for Android.
-
Use the parameters from the sandbox application to configure Alipay.
-
Use the buyer information from your sandbox account to log in to the downloaded Alipay sandbox app for Android.
-
-
Purchase a software product.
-
On the Featured Services page, select the software product you want to purchase.
-
Configure the parameters as required by the service, and then click Next: Confirm Order.
-
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.
-
-
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.
-
If the Status is Running, the sales test is successful.
ImportantAfter 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
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.
On the Service Instance Details page, click the public endpoint to log on to SaaS Boost.

-
In the SaaS Boost instance, to edit the Payment Key Management settings, select Parameter Management, click Payment Key Management, and then click Edit.
-
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.
WarningIf your API calls involve fund outflows, you must use Certificate Mode for signing.
Test Alipay payment
-
Purchase a software product.
-
On the Featured Services page, select the software product you want to purchase.
-
Configure the parameters as required by the service, and then click Next: Confirm Order.
-
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.
-
-
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.
-
If the Status is Running, the sales test is successful.
-
WeChat Pay
Configure parameters
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.
On the Service Instance Details page, click the public endpoint to log on to SaaS Boost.

-
In the SaaS Boost instance, to edit the Payment Key Management settings, select Parameter Management, click Payment Key Management, and then click Edit.
-
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
-
Purchase a software product.
-
On the Featured Services page, select the software product you want to purchase.
-
Configure the parameters as required by the service, and then click Next: Confirm Order.
-
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.
-
-
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.
-
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.
Only published Compute Nest services can be modified.
-
Find your Compute Nest service and click Modify Product Configurations.
-
Modify the original URL and product code.
NoteThe 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, changehttp://xx.xx.xx.com:9999/tohttp://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
-
Log on to the Compute Nest console. In the navigation pane on the left, click Service Instance and select the target service instance.
-
In the Overview section of the service instance, click Scheduled Task URL to go to the Function Compute console.
-
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.