In the Function AI platform, services are integrated cloud products. Each service provides a user experience that is consistent with its corresponding cloud product. A project consists of one or more services. You can create, configure, and deploy each service independently. In a project that contains multiple services, the services work together to form a complete application.
After you create services on the Function AI platform, you can change and deploy their configuration items directly from the project. The service resources are visible in the consoles of their corresponding cloud products. However, you must make all configuration changes on the Function AI platform. After you deploy the changes, the system automatically synchronizes them with the corresponding cloud resources. This practice prevents version inconsistencies that can occur when you use multiple consoles.
Service lifecycle
The service lifecycle includes four stages: creating a service, configuring its properties, deploying the service, and deleting the service. You can configure properties and deploy the service multiple times.
Create a service
Create a new project or open an existing one. For more information, see Manage projects.
On the project details page, click Create Service in the upper-left corner. Select a service type. Then, on the service creation page, set the configuration items as required. For detailed instructions, see the following documents.
Configure service properties
You can configure and stage a service at any time. The configuration takes effect only after you deploy the service.
Edit a configuration
On the project management page, switch to the service that you want to configure. Then, click Edit to modify the configuration items.
After you edit a category of configuration items, you must click Save or Cancel before you edit other items. You cannot edit two categories at the same time. For example, you cannot edit the Runtime settings while you are editing the Basic Configurations settings.
Save a configuration
After you finish editing the configuration items, click Save to stage the configuration. To apply all changes, you must deploy the service.
Deploy a service
If a configuration is pending deployment, or if you want to redeploy the service after a failure, click Deploy. You can track the deployment logs and progress at any time.
In the Deployment Details dialog box, review the differences between the current deployment and the previous one. If the changes are not what you expected, you can return to the editing page or click Discard Changes to discard all staged configurations. If the details are correct, click Confirm Deployment.
Click Deployment History to view the deployment history of the service.
Delete a service
On the details page of the service that you want to delete, click Delete. In the dialog box that appears, enter the service name to confirm the action, select the confirmation check box, and then click Confirm Delete.