Sync Docs
Sync HomeLaunch GradientBook Demo
  • Sync Gradient
    • The Gradient Platform
      • How Does it Work?
    • Discover Quickstart
    • Add Workspace
      • Create Sync API Key
      • Add Databricks Workspace
        • AWS Databricks Setup
          • EventBridge Setup
        • Azure Databricks Setup
      • Webhook Setup
    • Project Setup
      • Import Jobs to Projects
      • Verify and Run Jobs
      • Generate and Apply Recommendation
    • Advanced Use Cases
      • Install the Sync-CLI
      • Manual Workspace Setup
        • AWS Instance Profile
      • Apache Airflow for Databricks
      • Gradient Terraform Integration
    • Project Settings
    • Account Settings
    • ROI Reporting
    • FAQ
  • Tutorials & Best Practices
    • Running Gradient in Production
      • Production Auto-Enabled
      • Optimization Windows
      • Development Clones
    • Demos
  • Developer Docs
    • Resources
    • Sync Python Library
    • Gradient CLI Walkthrough
  • Security
    • Privacy and Security Compliance
  • Trust Center
    • Portal
  • Product Announcements
    • Product Updates
  • Need Help?
    • Troubleshooting Guide
Powered by GitBook
On this page
  • Step 1: Define rule detail
  • Step 2: Build event pattern
  • Step 3: Select target
  • Step 4: Review and create

Was this helpful?

Export as PDF
  1. Sync Gradient
  2. Add Workspace
  3. Add Databricks Workspace
  4. AWS Databricks Setup

EventBridge Setup

In this guide we are going to setup your AWS EventBridge to send EC2 related events to Gradient.

PreviousAWS Databricks SetupNextAzure Databricks Setup

Last updated 6 months ago

Was this helpful?

Gradient can use AWS EventBridge to accurately monitor your clusters at scale. It uses AWS EventBridge to capture events related to EC2 state changes and tag changes on a resource. These events look like:

To enable these events, you will need:

  • EventBridge Rules in the AWS console. You should have a default bus there already:

  • The Gradient workspace integration modal with the custom event pattern for EventBridge:

Unless specified you can use the default values from the AWS Console.

Start with clicking Create Rule in the AWS Console and let's go:

Step 1: Define rule detail

The only important settings here are Rule with an event pattern and your default bus, then click Next:

Step 2: Build event pattern

Under Event Source, select AWS events or Eventbridge partner events then scroll down to Creation Method:

Under Creation Method, select Custom pattern (JSON editor). You will need to copy the Event Pattern from the Gradient modal (from Step 2) and paste it under Event Pattern in the AWS console. Then click Next:

Step 3: Select target

Select EventBridge event bus and Event bus in a different account or Region, copy the bus ARN from the Gradient modal (from Step 3) and paste it under Event bus as target in the AWS console.

Click Skip to Review and create. You can add tags later if needed.

Step 4: Review and create

On this page you can review the rule settings entered previously, when done click Create rule to finish setting up the rule:

Once the rule is created go to the Gradient modal and complete the Databricks Workspace integration by clicking the Add button (or the Update button if you are editing an existing Databricks Workspace integration).

If you have any issues adding your workspace, or need to delete a workspace, please contact Sync at support@synccomputing.com. Deleting workspaces in Gradient will be supported soon.

EC2 state change
Tag change on resource