Document Center
Function Compute
Release notes
What is Function Compute?
Pricing
Billing
Instance specifications and usage modes
Billing for flexible instances
Billing for performance instances
Billing method
Overview
Subscription
Overview
Manage new purchases
Manage upgrades
Manage renewals
FAQ
Pay-as-you-go billing method
Overdue payments in pay-as-you-go mode
Best practices of minimizing Function Compute costs
FAQ about billing
Quick Start
How to use Function Compute
Create a function in the Function Compute console
Create a function by using Funcraft
Create a function by using Aliyun Serverless VSCode Extension
Application Center
Migrate Web applications to Function Compute
Manage web applications
Programming Languages
Programming languages
Terms
Node.js
Node.js event functions
Node.js HTTP functions
Node.js initializer functions
Node.js runtime environments
Python
Python event functions
Python HTTP functions
Python initializer functions
Python runtime environment
PHP
PHP event functions
PHP HTTP functions
PHP initializer functions
PHP runtime environment
Java
Java event functions
Java HTTP functions
Java initializer functions
Java runtime environment
C#
C# event functions
C# HTTP functions
C# initializer functions
.NET Core runtime environment
Custom Runtime
Overview
Event functions
HTTP functions
Examples
Python
F#
Ruby
TypeScript
PowerShell
Go
CPP
Lua
Dart
Custom Container
Overview
Event functions
HTTP functions
Create a function
Image pull acceleration
Programming model extensions
Feature overview
Configure extension functions
Function Management
Service Configuration
Introduction
Service operations
Function Configuration
Introduction
Function operations
CI/CD deployment
Use the Function Compute console to deploy an application
Use Apsara Devops Flow 2020 to deploy a function
Version management
Introduction to versions
Introduction to aliases
Version operations
Alias operations
Version management sample
Introduction
Prepare a function
Publish a version
Switch traffic by using an alias
FAQ
Configure and view function logs
Permission management
Permissions
Configure service permissions
Install third-party dependencies on Function Compute
Environment variables
Introduction
Configure environment variables
Use environment variables
Allow a specified VPC to invoke functions
Access resources in a VPC
Configure functions to access VPC resources
Troubleshooting
Mount NAS
Configure NAS
Sample code for accessing a NAS file system
Instances in reserved mode
Overview
Manage instances in reserved mode
Auto-scaling of reserved instances
Tags
Overview
Manage tags
Use tags to perform group-based service authorization
Custom Domain
Introduction
Bind a custom domain name
Enable CDN acceleration for Function Compute origins
Troubleshooting
Access database
Overview
Make preparations
Access an ApsaraDB RDS for MySQL database
Access an ApsaraDB for MongoDB database
Access an ApsaraDB for Redis database
Access an ApsaraDB RDS for SQL Server database
Access an ApsaraDB RDS for PostgreSQL database
Access a Lindorm database
Instance concurrency management
Concurrent requests in a single instance
Specify the request concurrency in a single instance
Overview of limits on pay-as-you-go function instances
Configure the maximum number of pay-as-you-go instances
Invoke Functions
Overview
Manage asynchronous invocation configurations
Best practice for reducing the cold start latency
Integrated Services
Services
Overview
Triggers
Trigger management
Event formats
OSS Trigger
Overview
OSS trigger sample
Overview
Create a trigger
Define a function
Test a function
HTTP Trigger
Overview
HTTP trigger sample
Introduction
Create a trigger
Write a function
Test a function
Troubleshooting
MNS Trigger
Overview of MNS topic triggers
MNS trigger sample
Overview
Create a trigger
Write a function
Debug a function
SLS Trigger
Overview of SLS triggers
Log Service trigger sample
Overview
Create a trigger
Write a function
Debug a function
Tablestore Trigger
Overview
Examples
Introduction
Create a trigger
Write a function
Debug a function
CDN Trigger
Overview
Examples
Introduction
Create a trigger
Write a function
Test a function
Time Trigger
Overview
Time trigger example
Introduction
Create a trigger
Define a function
Debug a function
API Gateway Trigger
API Gateway trigger overview
API Gateway trigger example
Overview
Define a function
Test a function
Create API operations
Troubleshooting
Cloud Monitor Trigger
Overview
Cloud Monitor trigger example
Overview
Define a function
Connect Cloud Monitor to Function Compute
Debug a function
Message Queue for Apache Kafka
EventBridge
MNS queue
Message Queue for MQTT
Message Queue for Apache RocketMQ
Message Queue for RabbitMQ (AMQP)
Serverless Workflow
CDN
IoT Platform
Third-party Service Integrations
Monitoring
Monitoring metrics
Metrics data
Invocation statistics and alerts
Tracing Analysis
Overview
Configure Tracing Analysis
Insights
Overview
Configure Insights
ARMS advanced monitoring
Monitor Java functions
Security management
ActionTrail
Compliance certifications of Function Compute
Use Cases
Best Practices
Best practices overview
General Practices
Best Practices for Working with Alibaba Cloud Function Compute
Serverless Architecture and Design Patterns
The Alibaba Cloud Function Compute Programming Model
A Proof of the Auto Scaling Capabilities of Function Compute
Develop Practices
How to Develop Function Compute - Installing Dependencies in Interactive Mode
How to Develop Function Compute - Using LibreOffice to Convert PDF Files to JPG Files
How to Develop Function Compute - Using Ghostscript to Convert PDF Files to JPG Files
How to Develop Function Compute - TensorFlow Serving
How to Develop Function Compute with WordPress Applications
Develop Function Compute with a Web Page Snipping Service
Develop Function Compute by Running R Applications
Develop Function Compute by Installing Third-Party Dependencies
Develop Function Compute by Running Selenium Java
Step-by-step Instructions on Porting Ghostscript to Function Compute
Serverless Practices - Quickly Build a SpringBoot Application
How to Migrate LibreOffice to Function Compute
Deploy Microservices with Function Compute: Visitor Card of Cloud Customer Service
Launching a Word-to-PDF Cloud Service on Function Compute
Connect Function Compute and CDN with the CDN Trigger and Fun
Use Fun and Function Compute Together with the OSS Trigger
Using Brotli to Compress Large Files
Serverless Practices
Use Function Compute to automatically decompress files
Serverless Practices for Large-Scale Data Processing
Best Practices for Batch Processing Massive OSS Files through Serverless Workflow and Function Compute
New Frontend Technology Revolution Triggered by Serverless
Use Function Compute to download multiple objects at a time
Run and Debug Practices
Run and Debug HTTP Trigger Configured Functions Locally
Run, Debug, and Release NAS Configured Functions Locally
Run and Debug Functions locally through the API
Customer stories
Century Mart
JL-Tour
Shimo
Sina Weibo
Xianyu
Yuque
Qinglin Cloud
AutoNavi
Lagou Education
Function templates
Template Use Guide
Use template
Use proxy acting as IP address for functions
Overview
Write code for a function
Debug a function
Build an audio and video processing system
Use FFmpeg in Function Compute to process audio and video files
Build an elastic and highly available audio and video processing system in a serverless architecture
Deploy a Web application
Create a serverless web application based on Express
Build ISV applications
Best practices for building DingTalk connectors
Migrate Popular Web Frameworks
Migrate a Beego application to Function Compute
Express
Gin
Hacker News
Next.js
Nuxt.js
Migrate a ThinkPHP application to Function Compute
Spring Boot
Egg.js
Laravel
Limits on resource usage
Tools
Funcraft
Features
Install Funcraft
Configure Funcraft
Use fun init to initialize projects
Run the fun local command to debug functions on premises
Install third-party dependencies
Run the fun install command to install third-party dependencies
Use Funfiles to install third-party dependencies
Use fun build to build packages
Use fun nas to manage Apsara File Storage NAS files
Use fun deploy to deploy applications
Configure API Gateway
Aliyun Serverless VSCode Extension
fcli
Use fcli for the first time
Common commands
Service-related commands
Function-related commands
Trigger-related commands
Log-related commands
Role authorization commands
Other development tools
Serverless Devs
Overview
Installation methods
API Reference
List of operations by function
Common parameters
Configure signature authentication
Error codes
Endpoints
Service
CreateService
DeleteService
UpdateService
GetService
ListServices
Function
CreateFunction
DeleteFunction
UpdateFunction
GetFunction
GetFunctionCode
ListFunctions
InvokeFunction
Trigger
CreateTrigger
DeleteTrigger
UpdateTrigger
GetTrigger
ListTriggers
Version
PublishServiceVersion
DeleteServiceVersion
ListServiceVersions
Alias
CreateAlias
DeleteAlias
UpdateAlias
GetAlias
ListAliases
CustomDomain
CreateCustomDomain
DeleteCustomDomain
UpdateCustomDomain
GetCustomDomain
ListCustomDomains
ProvisionConfig
PutProvisionConfig
GetProvisionConfig
ListProvisionConfigs
Tag
TagResource
UntagResource
GetResourceTags
FunctionAsyncInvokeConfig
PutFunctionAsyncInvokeConfig
DeleteFunctionAsyncInvokeConfig
GetFunctionAsyncInvokeConfig
ListFunctionAsyncInvokeConfigs
General data structures
SDK Reference
Supported SDKs
Use the SDK to run an HTTP trigger
Go
Versions
Install SDK for Go
Quick start
Set the instance type for a function
Configure pay-as-you-go instances
Create custom container runtime functions
Node.js
Versions
Install SDK for Node.js
Quick start
Specify the instance concurrency
Java
Versions
Install SDK for Java
Quick start
PHP
Versions
Install SDK for PHP
Quick start
C#
Versions
Install SDK for C#
Quick start
Python
Versions
Install SDK for Python
Quick start
FAQ
Common issues
VPC issues
Program building issues
Considering that Function Compute only supports Node.js, how can I execute C++ code?
How does Function Compute automatically install dependencies in a runtime environment?
Function execution issues
Function debugging issues
Performance optimization issues
Logging and monitoring issues
Resource access issues
Impact of the VPC feature on availability in China
Contact us
Agreements
Terms of Service
Function Compute Service Level Agreement
All Products
Search
Document Center
Function Compute
FAQ
VPC issues
This Product
This Product
All Products
Function Compute
What is a VPC?
How can I access private VPC resources with a function?
How many VPCs can a function access?
How can my function in a VPC access classic network resources?
How do functions in a VPC access the Internet?
How can I resolve the "VSwitch is in unsupported zone" error?
Free Trial
Free Trial