start-fc icon indicating copy to clipboard operation
start-fc copied to clipboard

阿里云函数计算Hello World模板

阿里云函数计算:FC 3.0 案例

图片alt

注意,如果您使用函数计算2.0,请切换到 V2 分支

本地快速体验

通过该应用,您可以简单快速的创建一个 FC 案例到阿里云函数计算服务。

  • 下载命令行工具:npm install -g @serverless-devs/s
  • 初始化一个模版项目:s init start-fc3-python -d start-fc3-python
  • 进入项目后部署项目:cd start-fc3-python && s deploy

包含内容

标准 Runtime

nodejs

  • start-fc3-nodejs-es (ES Module)

  • start-fc3-nodejs (CommonJS Module)

  • start-fc3-nodejs-json

  • start-fc3-nodejs-oss

  • start-fc3-nodejs-exec

  • start-fc3-nodejs-http

python

  • start-fc3-python

  • start-fc3-python-http

java

  • start-fc3-java

  • start-fc3-java-http

golang

  • start-fc3-golang

  • start-fc3-golang-http

php

  • start-fc3-php

  • start-fc3-php-http

.Net

  • start-fc3-dotnetcore

  • start-fc3-dotnetcore-http

Custom Runtime

  • start-fc3-custom-nodejs

  • start-fc3-custom-python

  • start-fc3-custom-golang

  • start-fc3-custom-java

Custom Container

  • start-fc3-custom-container-nodejs

  • start-fc3-custom-container-python

  • start-fc3-custom-container-golang

  • start-fc3-custom-container-java

Custom Domain

  • fc-custom-domain