Granting access to storage
When you use AWS Databricks with Amazon S3
Modifications to the Databricks instructions
Instance profile for separate source and destination S3 buckets
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "S3SourceRoot",
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::<source-bucket>"
]
},
{
"Sid": "S3SourceSubdirectories",
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::<source-bucket>/*"
]
},
{
"Sid": "S3DestinationRoot",
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::<destination_bucket>"
]
},
{
"Sid": "S3DestinationSubdirectories",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObject",
"s3:PutObjectAcl"
],
"Resource": [
"arn:aws:s3:::<destination-bucket>/*"
]
}
]
}S3 bucket policy for cross-account access
Alternatives to the instance profile
Property/Key
Value
When you use Azure Databricks with ADLSv2
Last updated
Was this helpful?