Compute Nest SaaS Boost provides an independent user interface (UI) for customers. Customers do not need to pay attention to the deployment provider of backend resources when they use services. In addition, SaaS Boost simplifies the sales and pricing processes and improves efficiency. This topic describes how to create a multi-tenant fully managed service in a Container Service for Kubernetes (ACK) cluster by using Compute Nest and SaaS Boost.
Service overview
Process
In this example, you deploy a Compute Nest SaaS Boost instance in an ACK cluster as a service provider. After your customer completes the payment in SaaS Boost, WordPress is automatically deployed in your ACK cluster. After WordPress is deployed, the domain name of WordPress is automatically returned in SaaS Boost and provided for customers to access WordPress.
Service architecture
In this example, the service is deployed in multi-tenant mode in the ACK cluster.
Use Ingress to route requests to the WordPress service of each tenant based on the domain name.
Configure a namespace for each tenant to isolate resources of tenants.
Deploy WordPress and MySQL by using YAML files.
Step 1: Create a service
Log on to the Compute Nest console.
In the left-side navigation pane, click My Services.
On the Created Services tab of the My Services page, click Create Service. On the Create Service page, select Quick Lunch (From Template) in the Select Service Creation Method section, and then select Fully Managed Service in the Select Service Type section.
Select the WordPress-Multi-tenant Fully Managed Service in ACK in the Sample Template section.
You can click View Details in the selected template to view the template information on the Deployment Documentation and Service Configuration YAML File tabs of the template details panel.
Click Next: Configure Settings. Configure parameters in the Basic Information and Service Configuration sections.
Click Create Service.
Step 2: Deploy SaaS Boost
SaaS Boost is integrated with Compute Nest and provides the multi-tenant architecture and continuous integration and continuous delivery (CI/CD) features. SaaS Boost also provides the parameter set management and application monitoring features. These features facilitate transforming traditional software to SaaS software.
Log on to the Compute Nest console.
In the left-side navigation pane, click Service Catalog.
On the Service Catalog tab of the Service Catalog page, find the SaaS Boost Community service, click the service to go to the Service Details page, and then click Deploy Now.
You can also view the deployment document, architecture, and template of each service instance on the Service Details page.
On the Create Service Instance page, configure the parameters as prompted.
Click Next: Confirm Order.
Check the order information, select the check box to agree to the Terms of Service, and then click Create Now.
On the details page of the SaaS Boost service instance, click the URL next to the SaaSBoostEndpoint parameter to view and access the SaaS Boost interface.
You can also share this endpoint with customers. Customers can purchase the multi-tenant fully managed service that you sell on the SaaS Boost interface.
Deploy WordPress as a customer
Click the URL next to the SaaSBoostEndpoint parameter on the details page of the SaaS Boost service instance to access the SaaS Boost interface.
In the left-side navigation pane, click Services. On the Service Instances page, click Purchase.
You are navigated to the Compute Nest console. On the buy page, configure the parameters as prompted. Then, click Next: Confirm Order.
Click Create Now. You are navigated to the order page in SaaS Boost.
Use Alipay or WeChat to pay for the order.
After the payment is complete, you are navigated to the Service Instance page. The following figure shows a sample URL that is used to access the service instance.
Use WordPress.
