All Products
Search
Document Center

Cloud Phone:Subscribe to Cloud Phone events using EventBridge

Last Updated:Dec 01, 2025

EventBridge is the event hub for Alibaba Cloud. It automatically captures key information when an event occurs, completes, or fails. EventBridge uses rules to route this information to specified targets, such as Function Compute and message queues. This feature lets you quickly build event-driven applications, which improves O&M efficiency and system reliability. You can use EventBridge to monitor the status of Cloud Phone tasks in real time. This removes the need for polling, which saves computing resources and reduces system complexity. This topic describes how to use EventBridge to automatically discover and track Cloud Phone events.

Prerequisites

EventBridge must be enabled. If it is not, log on to the EventBridge console, click Enable For Free, and follow the on-screen instructions to enable EventBridge and grant permissions.

This topic uses DingTalk (acs.dingtalk) as the service type for the event target. To do this, you must create a custom DingTalk robot. For more information, see the DingTalk developer documentation.

Procedure

Note

This feature is in invitational preview. To use this feature, submit a ticket to contact the support team to activate it.

Manually subscribe in the EventBridge console

  1. Log on to the EventBridge console. In the navigation pane on the left, click Event Buses. In the top menu bar, select Singapore from the region drop-down list.

  2. On the Event Buses page, click default (the default event bus).

  3. On the default page, click Event Rules in the navigation pane on the left, and then click Create Rule.

  4. In the Configure Basic Info step, specify a Name and Description, and then click Next Step.

  5. In the Configure Event Pattern step, select acs.cloudphone Cloud Phone for Event Source and an Event Type as needed. For information about the supported event types, see the table below.

    Supported event types

    Event

    Task Type

    Event Type

    Description

    Instance restart completed

    RebootInstance

    cloudphone:Instance:RebootInstanceCompleted

    An event is reported to this event type when the restart succeeds or fails.

    Instance reset completed

    ResetInstance

    cloudphone:Instance:ResetInstanceCompleted

    An event is reported to this event type when the reset succeeds or fails.

    Instance startup completed

    StartInstance

    cloudphone:Instance:StartInstanceCompleted

    An event is reported to this event type when the startup succeeds or fails.

    Instance shutdown completed

    StopInstance

    cloudphone:Instance:StopInstanceCompleted

    An event is reported to this event type when the shutdown succeeds or fails.

    Image update completed

    UpdateImage

    cloudphone:Instance:UpdateImageCompleted

    An event is reported to this event type when the image update succeeds or fails.

    File sending to instance completed

    SendFile

    cloudphone:Instance:SendFileCompleted

    An event is reported to this event type when sending the file succeeds or fails.

    File fetching from instance completed

    FetchFile

    cloudphone:Instance:FetchFileCompleted

    An event is reported to this event type when fetching the file succeeds or fails.

    Data backup completed

    BackupFile

    cloudphone:Instance:BackupFileCompleted

    An event is reported to this event type when the data backup succeeds or fails.

    Data recovery completed

    RecoverFile

    cloudphone:Instance:RecoverFileCompleted

    An event is reported to this event type when the data recovery succeeds or fails.

    Application installation completed

    InstallApp

    cloudphone:Instance:InstallAppCompleted

    An event is reported to this event type when the application installation succeeds or fails.

    Application uninstallation completed

    UninstallApp

    cloudphone:Instance:UninstallAppCompleted

    An event is reported to this event type when the application uninstallation succeeds or fails.

    Remote command execution completed

    RunCommand

    cloudphone:Instance:RunCommandCompleted

    An event is reported to this event type when the remote command execution succeeds or fails.

  6. In the Configure Targets step, set Service Type to DingTalk acs.dingtalk. Enter the Address and Secret Key, click Example, leave the other parameters at their default settings, and then click Create.

    Note

    The preceding steps use DingTalk (acs.dingtalk) as an example. For more information about other push scenarios, see Event targets.

  7. After a Cloud Phone event is completed, on the default page, click Event Tracking in the navigation pane on the left. Set Event Source to asc:cloudphone and click Query to view the complete Cloud Phone events. To view specific callback details, click Event Trace.

References