Introduction
Component Description
Huawei Cloud FunctionGraph component is a tool used to manage the lifecycle of Huawei Cloud function applications. It is developed based on Serverless Devs. By configuring the resource configuration file s.yaml, you can easily and quickly deploy applications on Huawei Cloud FunctionGraph.
Prerequisites
Node.js has been installed on the local host.
Getting Started
- Run the npm install -g @serverless-devs/s command to install the Serverless Devs developer tool.
After the installation is complete, you need to configure the key. For details, see Key Configuration.
- Initialize a Hello World project by running s init start-fg-http-nodejs14.
- After the initialization is complete, enter the project and run s deploy to deploy a function.
Using Commands
The capabilities of the FunctionGraph component are listed in Table 1.
When using the FunctionGraph component, you also need to compile resource description files. For details about YAML specifications of the FunctionGraph component, see Huawei Cloud FunctionGraph YAML Specifications.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot