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. 

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