cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to configure Databricks Connect to 'Assume Role' when accessing file from an AWS S3 bucket?

lsoewito
New Contributor

I have a Databricks cluster configured with an instance profile to assume role when accessing an AWS S3 bucket.

Accessing the bucket from the notebook using the cluster works properly (the instance profile can assume role to access the bucket).

However, when accessing the same bucket via Databricks Connect with the same cluster doesn't work. It throws 'InvalidMountException' with message '403 Forbidden'.

1 ACCEPTED SOLUTION

Accepted Solutions

Kaniz_Fatma
Community Manager
Community Manager

Hi @lsoewitoโ€‹ , Here's how you can secure access to S3 buckets using instance profiles:-

Databricks Connect on High Concurrency clusters is available only in Databricks Runtime 7.3 LTS and above.

View solution in original post

3 REPLIES 3

Anonymous
Not applicable

Hello, @lsoewitoโ€‹ - My name is Piper, and I'm a moderator for the Databricks community. Welcome and thank you for coming to us with your question. I'm sorry to hear that you're having trouble. Let's give your peers a chance to answer your question. We'll circle back if we need to. ๐Ÿ™‚

Kaniz_Fatma
Community Manager
Community Manager

Hi @lsoewitoโ€‹ , Here's how you can secure access to S3 buckets using instance profiles:-

Databricks Connect on High Concurrency clusters is available only in Databricks Runtime 7.3 LTS and above.

Kaniz_Fatma
Community Manager
Community Manager

Hi @lsoewitoโ€‹ , We haven't heard from you since my last response, and I was checking back to see if my suggestions helped you. Or else, If you have any solution, please share it with the community as it can be helpful to others. Also, please don't forget to click on the "Select As Best" button whenever the information provided helps resolve your question.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group