Creating a global endpoint in Amazon EventBridge
Complete the following steps to set up a global endpoint:
-
Make sure that you have matching event buses and rules in both the primary and secondary Region.
-
Create a Route 53 health check to monitor your event buses. For assistance in creating your health check, choose New Health Check when creating your global endpoint.
-
Create your global endpoint.
Once you have set up the Route 53 health check, you can create a global endpoint.
To create a global endpoint by using the console
Open the Amazon EventBridge console at https://console.amazonaws.cn/events/
. -
In the navigation pane, choose Global endpoints.
-
Choose Create Endpoint.
-
Enter a name and description for the endpoint.
-
For Event bus in primary Region, choose the event bus you’d like the endpoint associated with.
-
For Secondary Region, choose the Region you'd like to direct events to in the event of a failover.
Note
The Event bus in secondary Region is auto-filled and not editable.
-
For Route 53 health check for triggering failover and recovery, choose the health check that the endpoint will monitor. If you don't already have a health check, choose New Health check to open the Amazon CloudFormation console and create a health check using a CloudFormation template.
Note
Missing data will cause the health check to fail. If you only need to send events intermittently, consider using a longer MinimumEvaluationPeriod, or treat missing data as 'missing' instead of 'breaching'.
-
(Optional) For Event replication do the following:
-
Select Event replication enabled.
-
For Execution role, choose whether to create a new Amazon Identity and Access Management role or use an existing one. Do the following:
-
Choose Create a new role for this specific resource. Optionally, you can update the Role name to create a new role.
-
Choose Use existing role. Then, for Execution role, choose the desired role to use.
-
-
-
Choose Create.
To create a global endpoint by using the API
To create a global endpoint using the EventBridge API, see CreateEndpoint in the Amazon EventBridge API Reference.
To create a global endpoint by using Amazon CloudFormation
To create a global endpoint using the Amazon CloudFormation API, see AWS::Events::Endpoints in the Amazon CloudFormation User Guide.