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

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

  5. Click Create.

Create EventBridge API Destination

  1. Login on the EventBridge console.

  2. In the Navigation pane, choose API destinations.

  3. Choose to Create API destination.

  4. Specify these attribute values:

    Name

    <API destination name>

    Description

    <API destination 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.

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

    <Rule name>

    Description

    <Rule description>

    Event bus

    default

    Rule type

    Rule with an event pattern

  5. Click Next.

  6. 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
      }]
    }
    yaml
  7. Click Next.

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

  9. Click Next.

  10. Click Next.

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