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

  1. Login on the EventBridge console.

  2. In the Navigation pane, choose API destinations.

  3. Click the Connections tab, and then select Create connection.

  4. Specify these attribute values:

    Destination type
    Other

Authorization type
API key

API key name
Kf-Api-Key

Value
KFUSE-API-VALUE

  1. Click Create.

Create EventBridge API Destination

  1. In the Navigation pane, choose API destinations.

  2. Choose to Create API destination.

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

  1. Click Create.

Create EventBridge Rule

  1. Login on the EventBridge console.

  2. In the navigation pane, choose Rules.

  3. Choose Create rule.

  4. Specify these attribute values:

Name

Description

Event bus
default

Rule type
Rule with an event pattern

  1. Click Next.

  2. 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\
  }]
}
  1. Click Next.

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

  1. Click Next.

  2. Click Next.

  3. Verify details of the rule and click Create rule.