Connect to Databricks
Updated over a week ago

To connect Databricks to the Finout platform, please refer to the original Databricks guide for exporting billable usage in a CSV format: https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html

In this documentation, you will be guided on how to create an S3 bucket that is continuously updated with Databricks usage reports.

Grant Finout Access To Your Bucket

After creating the bucket, you need to grant Finout access to your bucket by creating an IAM role.

  1. Copy your “external-id” from the Finout console, or use a random one, preferably in the format of finout-XXXXXXX

  2. Click creating a new cross-account role in IAM to create a role for Another AWS account.

  3. In the Account ID field, enter: 277411487094.

  4. Select the Require external ID option, and enter the “external-id” you got from the previous section.

  5. Click Next until the review screen is displayed. Then configure it as shown below and click Next.

  6. Go to your newly created role.

  7. Copy the Role ARN and paste it into the Finout console.

  8. Click Add permissions and select Create inline policy.

  9. Select JSON, and paste this inside - While changing <BUCKET_NAME> with the bucket you create in the first section (or your existing CUR bucket, if you already have AWS as a Cost Center in Finout)

    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Effect": "Allow",
    "Action": [
    "s3:Get*",
    "s3:List*"
    ],
    "Resource": "arn:aws:s3:::<BUCKET_NAME>/*"
    },
    {
    "Effect": "Allow",
    "Action": [
    "s3:Get*",
    "s3:List*"
    ],
    "Resource": "arn:aws:s3:::<BUCKET_NAME>"
    }
    ]
    }

  10. Click Next until the review screen is displayed, then name it finout-access-policy.

  11. Click on Create policy to have your policy created for the IAM role.

  12. Send Finout the following details:

    1. The newly created role

    2. The external ID

    3. Bucket name

    4. Path in the bucket

    5. Region

  13. Provide Finout with the cost per DBU for each Databricks service

Still need help? Please feel free to reach out to our team at [email protected].

Did this answer your question?