All Products
Search
Document Center

Function Compute:Ikhtisar

Last Updated:Dec 17, 2025

Selain pemicu umum dari Function Compute, seperti tugas terjadwal dan operasi API, Function Compute menyediakan pemicu acara untuk layanan Alibaba Cloud. Pemicu ini memungkinkan integrasi otomatis antar sistem, respons real-time, dan fleksibilitas dalam aplikasi. Pemicu acara untuk layanan Alibaba Cloud dipicu menggunakan EventBridge, yang menyediakan sistem manajemen acara terpusat untuk berbagai layanan Alibaba Cloud. Anda dapat memilih jenis pemicu sesuai kebutuhan bisnis Anda.

Apa itu pemicu acara untuk layanan Alibaba Cloud?

Dalam model berbasis acara, sumber acara menghasilkan acara, fungsi memproses acara, dan pemicu digunakan untuk mengelola sumber acara secara terpusat. EventBridge bukanlah sumber acara tunggal, tetapi pusat acara untuk sumber acara Alibaba Cloud. EventBridge dapat diintegrasikan dengan hampir semua layanan Alibaba Cloud, termasuk komputasi elastis, penyimpanan, basis data, kontainer, big data, observabilitas, dan middleware. Pemicu berbasis EventBridge memungkinkan Anda menggunakan acara Alibaba Cloud sebagai sumber untuk memanggil fungsi. Gambar berikut menunjukkan prosesnya.

Manfaat

  • Integrasi Otomatis

    Setelah EventBridge diintegrasikan dengan Function Compute, sumber pemicu dari EventBridge dan Function Compute disinkronkan. Setelah Anda menambahkan sumber acara di EventBridge, Function Compute secara sinkron memperbarui sumber pemicu. Ini menyederhanakan penggunaan Function Compute.

  • Skalabilitas

    Konfigurasi pemicu asli relatif sederhana. Jika Anda perlu mengimplementasikan logika yang lebih kompleks, seperti menetapkan beberapa kondisi filter awalan dan akhiran file untuk pemicu Object Storage Service (OSS) atau mengaitkan lebih dari 10 pemicu dengan bucket, Anda dapat menggunakan pemicu OSS dari jenis Pemicu Acara untuk Layanan Alibaba Cloud. Untuk informasi lebih lanjut, lihat Ikhtisar Pemicu OSS.

  • Respons Real-Time dan Keandalan

    EventBridge digunakan untuk mengirimkan acara dengan latensi rendah dan throughput tinggi. Ini memastikan bahwa acara dikirimkan ke fungsi tujuan secara tepat waktu dan andal. EventBridge juga menyediakan mekanisme pengulangan acara dan antrian pesan gagal untuk meningkatkan stabilitas dan keandalan sistem.

Skenario sampel

  • Pemrosesan dan Analisis Data

    Pemicu acara untuk layanan Alibaba Cloud dapat digunakan dalam skenario pemrosesan dan analisis data. Misalnya, Anda dapat menentukan bahwa suatu fungsi secara otomatis dipicu untuk melakukan operasi seperti kompresi gambar, konversi format, atau moderasi konten ketika file diunggah ke Object Storage Service.

  • Manajemen dan Optimasi Sumber Daya

    Pemicu acara untuk layanan Alibaba Cloud dapat digunakan dalam skenario manajemen dan optimasi sumber daya. Misalnya, Anda dapat menentukan untuk secara otomatis mengubah sumber daya terkait ketika status instance Elastic Compute Service (ECS) berubah, seperti ketika dimulai, dihentikan, atau di-restart.

Untuk informasi tentang lebih banyak skenario, lihat Layanan Alibaba Cloud yang Didukung dan Jenis Acara.

Layanan Alibaba Cloud yang Didukung dan Jenis Acara

Pemicu acara untuk layanan Alibaba Cloud merujuk pada pemicu yang dibuat untuk acara dari layanan Alibaba Cloud seperti CloudMonitor, Elastic Compute Service (ECS), dan layanan IoT Alibaba Cloud. Tabel berikut menunjukkan layanan Alibaba Cloud yang didukung dan jenis acara.

Komputasi elastis

ECS events

ECS 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 events

Elastic 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 events

Elastic 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 events

Batch Compute events include the following types: a job is canceled, an instance is ready, and a project is created.

Auto Scaling events

Auto 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 events

Resource Orchestration Service (ROS) events include the following types: a stack is created, a stack is deleted, and a stack is rolled back.

OOS events

CloudOps Orchestration Service 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 events

Function 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.

Penyimpanan

OSS events

Object 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 events

Tablestore 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 events

Apsara 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 events

Database File System 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 events

Intelligent Media Management 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

Peristiwa PolarDB

PolarDB 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 events

PolarDB-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 events

ApsaraDB 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 events

ApsaraDB 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.

Peristiwa ApsaraDB for Cassandra

ApsaraDB 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 events

AnalyticDB 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 events

Data 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 events

AnalyticDB 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 events

Data 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) events

Tair (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 events

ApsaraDB for MongoDB events mencakup tipe-tipe berikut: failover antara instansi primer dan sekunder, akhir dari kegagalan instansi, dan awal dari kegagalan instansi.

ApsaraDB RDS for MySQL events

ApsaraDB 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 events

Time 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.

Keamanan

Acara Security Center

Jenis acara Security Center meliputi operasi yang dilakukan oleh Alibaba Cloud pada sumber daya, pemanggilan operasi API, dan operasi yang dilakukan di konsol.

Acara WAF

Web Application Firewall (WAF) events include the following types: an access control attack occurs, an HTTP flood attack occurs, and a web attack occurs.

Acara ActionTrail

ActionTrail 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.

Acara RAM

Resource 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.

Acara DBAudit

DBAudit 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.

Acara KMS

Key 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.

Acara Fraud Detection

Fraud 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.

Acara Server Guard

Acara Server Guard mencakup tipe-tipe berikut: operasi yang dilakukan oleh Alibaba Cloud pada suatu resource, pemanggilan operasi API, dan operasi yang dilakukan di konsol.

Acara Anti-DDoS

Jenis-jenis acara Anti-DDoS meliputi: pemfilteran blackhole terjadi, pembersihan trafik terjadi, dan pemfilteran blackhole berhenti.

Acara CFW

Cloud Firewall (CFW) mencakup jenis-jenis acara berikut: puncak bandwidth Internet melampaui batas spesifikasi dan kejadian keamanan memicu peringatan.

Big Data

EMR events

E-MapReduce (EMR) mencakup tipe-tipe kejadian berikut: operasi dilakukan oleh Alibaba Cloud pada suatu sumber daya, pemanggilan operasi API, dan operasi yang dilakukan di konsol.

Elasticsearch events

Elasticsearch mencakup tipe-tipe kejadian berikut: operasi dilakukan oleh Alibaba Cloud pada suatu sumber daya, pemanggilan operasi API, dan operasi yang dilakukan di konsol.

Hologres events

Hologres mencakup tipe-tipe kejadian berikut: operasi dilakukan oleh Alibaba Cloud pada suatu sumber daya, pemanggilan operasi API, dan operasi yang dilakukan di konsol.

OpenSearch events

OpenSearch events mencakup tipe-tipe berikut: operasi dilakukan oleh Alibaba Cloud pada suatu resource, pemanggilan operasi API, dan operasi dilakukan di konsol.

Quick BI events

Quick BI events mencakup tipe-tipe berikut: operasi dilakukan oleh Alibaba Cloud pada suatu resource, pemanggilan operasi API, dan operasi dilakukan di konsol.

DataV events

DataV events mencakup tipe-tipe berikut: operasi dilakukan oleh Alibaba Cloud pada suatu resource, pemanggilan operasi API, dan operasi dilakukan di konsol.

AIRec events

Artificial Intelligence Recommendation (AIRec) events mencakup tipe-tipe berikut: operasi yang dilakukan oleh Alibaba Cloud pada suatu resource, pemanggilan operasi API, dan operasi yang dilakukan di console.

AI

City Visual Intelligence Engine events

City Visual Intelligence Engine events mencakup jenis-jenis berikut: operasi yang dilakukan oleh Alibaba Cloud pada sumber daya, pemanggilan API, dan operasi di konsol.

Multimedia AI events

Multimedia AI events mencakup jenis-jenis berikut: operasi yang dilakukan oleh Alibaba Cloud pada sumber daya, pemanggilan API, dan operasi di konsol.

Jaringan dan CDN

VPC events

Virtual 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 events

Server 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 events

Cloud 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 events

Smart Access Gateway events include the following types: an access point fails over, the network is disconnected, and a device is under attack.

CDN events

Alibaba 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 events

Edge 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 events

Edge 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 events

VPN Gateway events include the following types: a certificate expires, a health check fails, and a health check is successful.

PrivateLink events

PrivateLink 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 events

Alibaba 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 events

Alibaba 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.

Layanan Video

ApsaraVideo Live events

ApsaraVideo 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.

Peristiwa Komunikasi Real-Time

Real-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 events

ApsaraVideo 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.

Acara Cloud Conferencing

Cloud Conferencing events mencakup tipe-tipe berikut: perubahan status konferensi, perubahan status anggota, dan operasi yang dilakukan oleh anggota.

ApsaraVideo Media Processing events

ApsaraVideo 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 events

LinkVisual 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.

Kontainer dan Middleware

ACK events

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 events

Container 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 events

Microservices 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 events

Enterprise Distributed Application Service (EDAS) events include the following type: an application is changed.

Event ApsaraMQ for Kafka

ApsaraMQ for Kafka mencakup tipe-tipe event berikut: operasi yang dilakukan oleh Alibaba Cloud pada suatu resource, pemanggilan operasi API, dan operasi yang dilakukan di konsol.

Event ApsaraMQ for RocketMQ

ApsaraMQ for RocketMQ mencakup jenis-jenis event berikut: operasi yang dilakukan oleh Alibaba Cloud pada suatu resource, pemanggilan operasi API, pelaksanaan operasi di konsol, pemberitahuan perubahan resource, dan pemberitahuan bahwa suatu resource dievaluasi tidak sesuai.

Pengembangan dan O&M

ARMS events

ARMS events mencakup tipe-tipe berikut: agent dijalankan, terjadi masalah deadlock, dan terjadi masalah out-of-memory.

CloudMonitor events

CloudMonitor events mencakup tipe-tipe berikut: operasi dilakukan oleh Alibaba Cloud pada suatu resource, operasi API dipanggil, dan operasi dilakukan di konsol.

PTS events

Performance Testing Service (PTS) events mencakup tipe-tipe berikut: operasi dilakukan oleh Alibaba Cloud pada suatu resource, operasi API dipanggil, dan operasi dilakukan di konsol.

Cloud Config events

Cloud Config events mencakup tipe-tipe berikut: operasi dilakukan oleh Alibaba Cloud pada suatu resource, operasi API dipanggil, operasi dilakukan di konsol, dan item konfigurasi diubah.

Resource Management events

Resource Management events mencakup tipe-tipe berikut: notifikasi perubahan resource dikirimkan dan notifikasi bahwa resource dievaluasi sebagai tidak sesuai dikirimkan.

Domain dan Situs Web

Domain Events

Domain events mencakup jenis-jenis berikut: operasi dilakukan oleh Alibaba Cloud pada suatu resource, pemanggilan operasi API, dan operasi yang dilakukan di konsol.

IoT

Peristiwa IoT Platform

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.

Aplikasi Perusahaan dan Layanan

BaaS events

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.

Layanan Perusahaan dan Komunikasi Cloud

Direct Mail events

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.

Informasi Lebih Lanjut

Serverless Devs tidak dapat digunakan untuk membuat pemicu acara untuk layanan Alibaba Cloud. Anda dapat membuat pemicu acara dengan memanggil operasi API atau menggunakan Konsol Function Compute. Untuk informasi lebih lanjut, lihat topik berikut: