Before you use EventBridge, you must activate the service on its product page. This topic describes how to activate EventBridge. If you are a RAM user, you must be granted permissions by an Alibaba Cloud account before you can use the EventBridge console or EventBridge API to access EventBridge resources and use the resources to route events by means of SDKs.

Prerequisites

An Alibaba Cloud account is created.

Step 1: Activate EventBridge

  1. Log on to the Alibaba Cloud official website. Choose Products > Container & Middleware > EventBridge.
  2. On the EventBridge product page, click Activate Now.
  3. Read and agree to the EventBridge (Pay-as-you-go) Terms of Service by selecting the check box. Then, click Activate Now.
    After EventBridge is activated, you can log on to the EventBridge console.

Step 2: (Required for RAM users) Grant permissions to a RAM user

  1. Log on to the RAM console by using your Alibaba Cloud account.
  2. In the left-side navigation pane, choose Identities > Users.
  3. On the Users page, find the RAM user to which you want to grant permissions and click Add Permissions in the Actions column.
  4. In the Add Permissions panel, grant permissions to the RAM user.
    1. Select the authorization scope.
      • Alibaba Cloud Account: The authorization takes effect on the current Alibaba Cloud account.
      • Specific Resource Group: The authorization takes effect on a specific resource group.
        Note If you select Specific Resource Group for Authorized Scope, make sure that the required cloud service supports resource groups. For more information, see Services that work with Resource Group.
    2. Specify the principal.
      The principal is the RAM user to which permissions are to be granted. By default, the current RAM user is specified. You can also specify another RAM user.
    3. Select policies.
      Note You can attach a maximum of five policies to a RAM user at a time. If you need to attach more than five policies to a RAM user, perform the operation multiple times.
  5. Click OK.
  6. Click Complete.

EventBridge provides the following system policies. You can grant permissions to the RAM user based on the permission scope.

Policy Description
AliyunEventBridgeFullAccess The permissions to manage EventBridge. Such permissions are equivalent to the permissions that an Alibaba Cloud account has. A RAM user to which this policy is attached can publish events and use all the features of the EventBridge console.
AliyunEventBridgeReadOnlyAccess The read-only permissions on EventBridge. A RAM user to which this policy is attached can only read resource information in the EventBridge console or by calling API operations.
EventBridgeResourceCreatePolicy The permissions to create resources in EventBridge. A RAM user to which this policy is attached can create resources in the EventBridge console or by calling API operations.
EventBridgeResourceUpdatePolicy The permissions to edit resources in EventBridge. A RAM user to which this policy is attached can edit resources in the EventBridge console or by calling API operations.
EventBridgeResourceDeletePolicy The permissions to delete resources from EventBridge. A RAM user to which this policy is attached can delete resources in the EventBridge console or by calling API operations.
EventBridgePutEventsPolicy The permissions to publish events in EventBridge. A RAM user to which this policy is attached can publish events in the EventBridge console or by calling API operations.
Note The system policies cover a broad range of permissions. For example, after you attach the AliyunEventBridgeFullAccess policy that indicates full permissions to the RAM user, the RAM user can manage all resources of EventBridge. EventBridge also provides custom policies that allow you to grant fine-grained permissions to RAM users. For more information, see Custom policies.

What to do next

You can click Console to create resources. For more information, see Overview.