AWS EventBridge Integration with Kloudfuse :: Kloudfuse Docs
AWS EventBridge Integration with Kloudfuse
Kloudfuse integrates with AWS EventBridge service. To successfully integrate AWS with Kloudfuse through EventBridge, complete these tasks:
Prerequisites
AWS requires an external endpoint with https. The default installation of Kloudfuse enables an ingress service with external IP enabled, but does not provide https support.
To configure an external IP, run the following command:
kubectl get svc | grep kfuse-ingress-nginx-controller
Copied!
For help setting up https on an external endpoint, contact our Support team.
Create EventBridge Connection
Login on the EventBridge console.
In the Navigation pane, choose API destinations.
Click the Connections tab, and then select Create connection.
Specify these attribute values:
Destination type
Other
Authorization type
API key
API key name
Kf-Api-Key
Value
KFUSE-API-VALUE
- Click Create.
Create EventBridge API Destination
In the Navigation pane, choose API destinations.
Choose to Create API destination.
Specify these attribute values:
Name
Description
API destination endpoint
Use the name of your external endpoint for Kloudfuse:
https://<external facing endpoint of Kfuse cluster>/ingester/eventbridge.
HTTP method
POST
Connection
Choose Use an existing connection, and supply the new connection from Create EventBridge Connection.
- Click Create.
Create EventBridge Rule
Login on the EventBridge console.
In the navigation pane, choose Rules.
Choose Create rule.
Specify these attribute values:
Name
Description
Event bus
default
Rule type
Rule with an event pattern
Click Next.
Specify these attribute values:
Event source
Other
Event pattern: Use the following code to send everything; change the pattern to match specific events:
{
"source": [{\
"exists": true\
}]
}
Click Next.
Specify these attribute values:
Target types
EventBridge API destination
API destination
Choose Use an existing API destination, and supply the new destination from Create EventBridge API Destination.
Execution role
Create a new for role for this specific resource
Click Next.
Click Next.
Verify details of the rule and click Create rule.