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:ย 

Using instance profile for sns message publish with PassRole

PremPrakash
New Contributor II

Hi, 

I want to attach instance profile to compute and  publish message on SNS without using credentials. 

Is that possible? has anyone used it. Will Boto3 support it?

1 ACCEPTED SOLUTION

Accepted Solutions

Alberto_Umana
Databricks Employee
Databricks Employee

Hi @PremPrakash,
You can use the instance profile attached to your compute resources to publish messages to SNS. This is because the instance profile provides the necessary permissions to interact with AWS services.

Ensure that the instance profile has the appropriate IAM policies attached to allow publishing messages to SNS. The required permissions typically include sns:Publish.

Please refer to: https://docs.databricks.com/en/admin/workspace-settings/manage-instance-profiles.html

View solution in original post

2 REPLIES 2

Alberto_Umana
Databricks Employee
Databricks Employee

Hi @PremPrakash,
You can use the instance profile attached to your compute resources to publish messages to SNS. This is because the instance profile provides the necessary permissions to interact with AWS services.

Ensure that the instance profile has the appropriate IAM policies attached to allow publishing messages to SNS. The required permissions typically include sns:Publish.

Please refer to: https://docs.databricks.com/en/admin/workspace-settings/manage-instance-profiles.html

PremPrakash
New Contributor II

Yes, I have tried it, it is working. 

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now