This topic describes how to create, test, and publish a service in Compute Nest.
Preparations
Before you publish your service, confirm your technical solution, resource list, and deployment configurations. For more information, see Preparations.
Step 1: Create a service
-
Go to the Compute Nest console, open the My Services page, and then click Create Service.
-
On the Create Service page, select a method to create the service.
Based on the deployment scenario you identified during preparations, choose one of the following three methods:
-
Create a service by using a repository: Pull code directly from the repository for deployment.
-
Create a service by using a curated template: Use this method for services that require only Elastic Compute Service (ECS) or Container Service for Kubernetes (ACK) and basic cloud resources.
-
Create a custom service: Use this method for services that require complex or a large number of underlying cloud resources.
Curated template
You can use the curated templates provided by Compute Nest to quickly build and deploy services. These templates contain pre-configured best practices for common business scenarios and greatly simplify service creation. This method is ideal for new users or those who want to publish a service quickly. For more information, see Create a service by using a curated template.
Repository
Compute Nest supports creating services by directly importing a repository from GitHub, Gitee, a public GitLab instance, or Alibaba Cloud DevOps CodeUp. This feature makes it significantly easier and faster for developers and service providers to create services. For more information, see Create a service by using a Git repository.
Custom service
-
Write a ROS template based on the instructions in Prepare for resource orchestration.
-
Select Build Custom Service, choose a service type based on the delivery type, and then click Next: Configure Settings.
-
On the Create Service page, enter the parameters as prompted.
The basic information section includes the following required fields: Service Icon (192×192 pixels recommended; JPG and PNG formats supported), Service Name (3 to 200 characters), and Service Description.
-
In the Service Deployment area, in the Deployment Settings section, enter your ROS template.
On the template editing page, set the Deployment Region (for example, All Regions) and Template Name. Then, in the Template Content area, select JSON or YAML as the format and paste your ROS template code into the editor.
-
Click Create Service and view the service creation status on the My Services page.
-
Step 2: Test the service
After you create and save your service, you must test it thoroughly before you submit it for review. For more information, see Test a service.
To request free trial resources for testing, see Configure a free trial.
Step 3: Publish the service
After testing is complete, you must submit the service to Compute Nest for an official review. Once approved, the service is published and becomes available to users. For more information, see Publish a service.
Next steps
-
You can sell published services through custom channels, Alibaba Cloud Marketplace, or third-party payment providers. For more information, see Sell services.
-
Compute Nest offers advanced features for personalized service configuration. For more information, see Advanced features.