Overview of event triggers for Alibaba Cloud services
Function Compute supports two categories of triggers: native triggers (such as scheduled tasks and API operations) and cloud product event triggers. Cloud product event triggers are powered by EventBridge, which acts as a centralized event hub for virtually all Alibaba Cloud services—covering elastic computing, storage, databases, containers, big data, observability, and middleware. When an event occurs in a connected service, EventBridge routes it to your function automatically.
How it works
In an event-driven model, event sources produce events, functions process them, and triggers connect the two. EventBridge is not a single event source—it aggregates events from across Alibaba Cloud services into a unified hub. Triggers built on EventBridge let any supported Alibaba Cloud service invoke your function when a matching event occurs.
Cloud product event triggers vs. native triggers
| Cloud product event triggers | Native triggers | |
|---|---|---|
| Powered by | EventBridge | Function Compute directly |
| Event sources | Virtually all Alibaba Cloud services | Specific services (OSS, MNS, etc.) |
| Trigger management | Synchronized between EventBridge and Function Compute | Managed in Function Compute |
| OSS filter conditions | Multiple prefix/suffix conditions; more than 10 triggers per bucket | Limited filter conditions |
Benefits
Automatic integration
After EventBridge integrates with Function Compute, trigger sources stay in sync. Adding an event source in EventBridge automatically updates trigger sources in Function Compute—no manual reconfiguration needed.
Advanced scalability
Native OSS triggers have limited filter options. With a cloud product event trigger, you can set multiple file prefix and suffix filter conditions for an OSS trigger and associate more than 10 triggers with a single bucket. For details, see Overview of the EventBridge-type OSS trigger.
Real-time delivery with built-in reliability
EventBridge delivers events with low latency and high throughput. Events reach destination functions promptly, and the event retry and dead-letter queue (DLQ) mechanisms keep your system stable even when transient failures occur.
Use cases
| Scenario | Trigger service | What your function does |
|---|---|---|
| Data processing | Object Storage Service (OSS) — file uploaded | Compresses images, converts formats, or runs content moderation |
| Resource automation | Elastic Compute Service (ECS) — instance state change | Updates dependent resources when an instance starts, stops, or restarts |
For more event-driven use cases, see the supported services and event types listed below.
Supported Alibaba Cloud services and event types
Cloud product event triggers support events from the following Alibaba Cloud services.
Elastic computing
| ECS eventsECS events include the following types: a disk is retained, a data disk is attached or detached, and a block storage is released due to overdue payments. | ECI eventsElastic Container Instance (ECI) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | E-HPC eventsElastic High Performance Computing (E-HPC) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
|---|---|---|
| Batch Compute eventsBatch Compute events include the following types: a job is canceled, an instance is ready, and a project is created. | Auto Scaling eventsAuto Scaling events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | ROS eventsResource Orchestration Service (ROS) events include the following types: a stack is created, a stack is deleted, and a stack is rolled back. |
| OOS eventsCloudOps Orchestration Service (OOS) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | Function Compute eventsFunction Compute events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
Storage
| OSS eventsObject Storage Service (OSS) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | Tablestore eventsTablestore events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | NAS eventsApsara File Storage NAS (NAS) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
|---|---|---|
| Database File System eventsDatabase File System (DBFS) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | Intelligent Media Management eventsIntelligent Media Management (IMM) events include the following types: the metadata of an object is indexed, the metadata of a file is updated, and the metadata of a file is deleted. |
Database
| PolarDB eventsPolarDB events include the following types: a failover occurs between the primary and secondary instances, an instance failure ends, and an instance failure starts. | PolarDB-X eventsPolarDB-X events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | ApsaraDB RDS eventsApsaraDB RDS events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
|---|---|---|
| ApsaraDB for HBase eventsApsaraDB for HBase events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | ApsaraDB for Cassandra eventsApsaraDB for Cassandra events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | AnalyticDB for MySQL eventsAnalyticDB for MySQL events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
| DTS eventsData Transmission Service (DTS) events include the following types: an exception occurs in a migration task, a migration task is resumed, and an error occurs in a migration task. | AnalyticDB for PostgreSQL eventsAnalyticDB for PostgreSQL events include the following types: the CPU usage of a compute group exceeds 90%, the memory usage of a compute group exceeds 85%, and the disk usage of a compute group exceeds 80%. | Data Disaster Recovery eventsData Disaster Recovery events include the following types: incremental backup is disabled, an exception occurs during incremental backup, and an exception occurs during data restoration. |
| Tair (Redis OSS-compatible) eventsTair (Redis OSS-compatible) events include the following types: a failover occurs between the primary and secondary instances, an instance failure ends, and an instance failure starts. | ApsaraDB for MongoDB eventsApsaraDB for MongoDB events include the following types: a failover occurs between the primary and secondary instances, an instance failure ends, and an instance failure starts. | ApsaraDB RDS for MySQL eventsApsaraDB RDS for MySQL events include the following types: the execution of an elastic plan is delayed and the execution of an elastic plan fails. |
| TSDB eventsTime Series Database (TSDB) events include the following types: a resource change notification is delivered and a notification that indicates a resource is evaluated as non-compliant is delivered. |
Security
| Security Center eventsSecurity Center events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | WAF eventsWeb Application Firewall (WAF) events include the following types: an access control attack occurs, an HTTP flood attack occurs, and a web attack occurs. | ActionTrail eventsActionTrail events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
|---|---|---|
| RAM eventsResource Access Management (RAM) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | DBAudit eventsDBAudit events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | KMS eventsKey Management Service (KMS) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
| Fraud Detection eventsFraud Detection events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | Server Guard eventsServer Guard events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | Anti-DDoS eventsAnti-DDoS events include the following types: blackhole filtering occurs, traffic scrubbing occurs, and blackhole filtering stops. |
| CFW eventsCloud Firewall (CFW) events include the following types: the peak Internet bandwidth exceeds the specification limit and a security event triggers an alert. |
Big data
| EMR eventsE-MapReduce (EMR) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | Elasticsearch eventsElasticsearch events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | Hologres eventsHologres events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
|---|---|---|
| OpenSearch eventsOpenSearch events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | Quick BI eventsQuick BI events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | DataV eventsDataV events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
| AIRec eventsArtificial Intelligence Recommendation (AIRec) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
AI
| City Visual Intelligence Engine eventsCity Visual Intelligence Engine events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | Multimedia AI eventsMultimedia AI events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
|---|
Networking and CDN
| VPC eventsVirtual Private Cloud (VPC) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | SLB eventsServer Load Balancer (SLB) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | CEN eventsCloud Enterprise Network (CEN) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
|---|---|---|
| Smart Access Gateway eventsSmart Access Gateway events include the following types: an access point fails over, the network is disconnected, and a device is under attack. | CDN eventsAlibaba Cloud CDN (CDN) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | ESA eventsEdge Security Acceleration (ESA) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
| ENS eventsEdge Node Service (ENS) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | VPN Gateway eventsVPN Gateway events include the following types: a certificate expires, a health check fails, and a health check is successful. | PrivateLink eventsPrivateLink events include the following types: an endpoint connection request is accepted, an endpoint connection request is rejected, and one or more zones are added to an endpoint connection. |
| Alibaba Cloud DNS PrivateZone eventsAlibaba Cloud DNS PrivateZone events include the following type: the number of Domain Name System (DNS) requests per second within the current account exceeds the upper limit. | Alibaba Cloud DNS eventsAlibaba Cloud DNS events include the following types: a high-level remote control attack is detected, a high-level mining activity is detected, and a high-level malware is detected. |
Video services
| ApsaraVideo Live eventsApsaraVideo Live events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | Real-Time Communication eventsReal-Time Communication events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | ApsaraVideo VOD eventsApsaraVideo VOD events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
|---|---|---|
| Cloud Conferencing eventsCloud Conferencing events include the following types: the status of a conference changes, the status of a member changes, and an operation is performed by a member. | ApsaraVideo Media Processing eventsApsaraVideo Media Processing events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | LinkVisual eventsLinkVisual events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
Containers and middleware
| ACK eventsContainer Service for Kubernetes (ACK) events include the following types: an ACK event collected by Application Real-Time Monitoring Service (ARMS) occurs, an ACK event related to nodes occurs, and an ACK event related to pods occurs. | Container Registry eventsContainer Registry events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | MSE eventsMicroservices Engine (MSE) events include the following types: an instance is gracefully shut down, an outlier instance is removed, and an outlier instance is recovered. |
|---|---|---|
| EDAS eventsEnterprise Distributed Application Service (EDAS) events include the following type: an application is changed. | ApsaraMQ for Kafka eventsApsaraMQ for Kafka events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | ApsaraMQ for RocketMQ eventsApsaraMQ for RocketMQ events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, an operation is performed in the console, a resource change notification is delivered, and a notification that indicates a resource is evaluated as non-compliant is delivered. |
Development and O&M
| ARMS eventsApplication Real-Time Monitoring Service (ARMS) events include the following types: an agent is started, a deadlock issue occurs, and an out-of-memory issue occurs. | CloudMonitor eventsCloudMonitor events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. | PTS eventsPerformance Testing Service (PTS) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console. |
|---|---|---|
| Cloud Config eventsCloud Config events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, an operation is performed in the console, and a configuration item is changed. | Resource Management eventsResource Management events include the following types: a resource change notification is delivered and a notification that indicates a resource is evaluated as non-compliant is delivered. |
Domains and websites
Domains events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console.
IoT
IoT Platform events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console.
Enterprise applications and services
Blockchain as a Service (BaaS) events include the following types: an operation is performed by Alibaba Cloud on a resource, an API operation is called, and an operation is performed in the console.
Enterprise service and cloud communication
Direct Mail events include the following types: an email fails to be sent, an email is sent, an email is clicked, and an email is opened.
Limitations
Cloud product event triggers cannot be created using Serverless Devs. Use the Function Compute console or call the API instead.
What's next
CreateTrigger — create a cloud product event trigger via API
Configure event triggers for Alibaba Cloud services — step-by-step configuration guide