Links
Comment on page

Eventbridge

Collect and display real-time event data in AWS with DuploCloud
Amazon EventBridge collects and visualizes real-time logs, metrics, and event data in automated dashboards to streamline your cloud infrastructure and application maintenance.
By default, the metrics for a resource are available on the Metrics page in DuploCloud. Some metrics, however, need agents to be installed in the system to collect the information, such as AWS SSM Agent.
DuploCloud provides a way to automatically install these agents on all the hosts whenever they are provisioned. For more information, refer to the DuploCloud Security White Paper PCI and HIPAA Compliance with DuploCloud, and read the General section, Agent Models, to learn about installing agents for compliance controls and security frameworks.

Adding and updating an EventBridge rule

  1. 1.
    In the DuploCloud Portal, navigate to DevOps -> App Integration.
  2. 2.
    Click the EventBridge tab.
  3. 3.
    Click Add. The Add EventBridge Rule page displays; or to update an existing rule, select the (
    ) icon in the Actions column for the rule you want to update, and click Update. The Update EventBridge Rule page displays.
    Add EventBridge Rule page
  4. 4.
    In the Rule Name field, specify or change the rule name.
  5. 5.
    In the Description field, specify or change the rule description.
  6. 6.
    In the Schedule Expression field, enter or edit the interval for which you want this rule to run. Use the format: rate(x interval), where x is a numeric value and interval is seconds, minutes, hours, or days. Ensure that you include a blank space between the numeric value x and the interval.
  7. 7.
    From the State list box, select Enabled.
  8. 8.
    Click Submit. The rule is displayed in the EventBridge tab.

Adding and Viewing Targets for EventBridge

An EventBridge target is a resource or endpoint to which EventBridge sends an event when the event matches the event pattern defined for a rule. The rule processes event data and sends pertinent information to the target. To deliver event data to a target, EventBridge needs permission to access the target resource. You can define up to five targets for each rule.
You define targets and associated types in DuploCloud. DuploCloud supports types ECS Task and Lambda.
  1. 1.
    In the DuploCloud Portal, navigate to DevOps -> App Integration.
  2. 2.
    Click the EventBridge tab. The rules you defined are displayed.
  3. 4.
    In the Target tab, click Add. The Add Rule Target page displays.
    Target tab for an EventBridge rule with Target Type ECS Task
  4. 5.
    In the Name field, enter a target name.
  5. 6.
    From the Target Type list box, select a target type.
  6. 7.
    From the Task Definition Family list box, select a task definition family.
  7. 8.
    In the Task Version field, enter a numeric version number.
  8. 9.
    Click Submit. The Target you added is displayed in the Target tab.
    Target tab for an EventBridge rule displaying targets for Target Type ECS Task and Lambda