Compare among Serverless Devs, Function Compute command line interface (fcli), and Funcraft

Format comparison

FC componentfuncraftfcli
Dependent on resource description files (YAML)βœ…βœ…πŸ™…
Command line modeβœ…πŸ™…βœ…

Feature comparison

FC componentfuncraftfcli
Application deploymentβœ…βœ…βœ…(Multiple commands need to be executed.)
Application removalβœ…πŸ™…οΈβœ…(Multiple commands need to be executed.)
build operationβœ…βœ…πŸ™…οΈ
Remote callβœ…βœ…πŸ™…οΈ
Local callβœ…βœ…πŸ™…οΈ
Log queryβœ…πŸ™…πŸ™…οΈ
Metric queryβœ…πŸ™…πŸ™…οΈ
nas operationβœ…βœ…πŸ™…οΈ
sync operationβœ…πŸ™…πŸ™…οΈ
version operationβœ…πŸ™…πŸ™…οΈ
alias operationβœ…πŸ™…πŸ™…οΈ
provision operationβœ…πŸ™…πŸ™…οΈ
ondemand operationβœ…πŸ™…πŸ™…οΈ
layer operationβœ…πŸ™…πŸ™…οΈ
proxied operationβœ…πŸ™…πŸ™…οΈ
stress operationβœ…πŸ™…πŸ™…οΈ
eval operationβœ…πŸ™…πŸ™…οΈ
Remote debuggingβœ…πŸ™…πŸ™…οΈ
Function exception awarenessβœ…πŸ™…πŸ™…οΈ
End-to-end deploymentβœ…πŸ™…πŸ™…οΈ
Multi-account managementβœ…πŸ™…οΈπŸ™…οΈ
API operationsβœ…πŸ™…οΈβœ…οΈ

Scenario comparison

FC componentfuncraftfcli
Users may have a production account and a test account, or a personal account and a company account. Users need to switch between different accounts to perform different operations.βœ…πŸ™…πŸ™…οΈ
Users need to perform different operations before a project is deployed and after a project is deployed. For example, users need to perform the build operation before a project is deployed. After a project is deployed, users need to publish versions, upload files, and configure canary release settings.βœ…πŸ™…πŸ™…οΈ
Users need to deploy end-to-end projects with a few clicks. For example, users need to upload the frontend code to Object Storage Service (OSS) and the backend code to Function Compute, and deploy services, such as API Gateway and Alibaba Cloud Content Delivery Network (CDN), at the same time.βœ…πŸ™…πŸ™…οΈ
Users need to debug the project code in an on-premises environment. Before users debug the project code, a connection must be established to a virtual private cloud (VPC).βœ…πŸ™…πŸ™…οΈ
When a project is deployed, sensitive information must be obtained from environment variables or other files. Users must obtain the values that are returned after the project is deployed and use the values to configure input parameters.βœ…πŸ™…πŸ™…οΈ
Users need to perform atomic operations that do not rely on the YAML file. The operations include viewing functions and services, deleting a function or a service, and viewing versions.βœ…πŸ™…βœ…

Migration cases

Migrate resources from Funcraft to Serverless Devs

  • [Recommended] YAML format conversion: You can use this method to convert the resource description files that are supported by Funcarft to resource description files that are supported by Serverless Devs. For example, you can convert template.yaml files to s.yaml files. In the s.yaml files, the FC component is specified to use. For more information, see fun2s commands.
  • Resource information resynchronization: You can use this method to synchronize cloud function resources to your on-premises devices. The cloud function resources include the function code and related configurations. The configurations (s.yaml files) are provided based on the Serverless Devs specifications, and the FC component is specified to use. For more information, see sync commands.

Migrate resources from fcli to Serverless Devs

fcli can be integrated into your scripts to automatically manage functions. Now, you can call API operations of FunctionCompute to manage functions. For more information, see API operations.

Edit this page on GitHub Updated at Wed, Sep 21, 2022