Using S3 Bucket for Init Scripts in Databricks Clusters with FGAC¶
This section describes how to upload the privacera_custom_conf.zip and initialization script files, specifically ranger_enable.sh and ranger_enable_scala.sh, to the S3 location in the Databricks environment.
This is applicable only Self Managed and Data Plane deployment of Privacera
Pre-requisites¶
- The EC2 instance where Privacera Manager is installed should have the permission to copy init scripts to the S3 bucket.
Setup¶
- SSH into the instance where Privacera Manager is installed.
- Go to the
configdirectory.Bash - Run the following command to open the
vars.databricks.plugin.ymlfile to be edited.Bash - To upload
ranger_enable.sh,ranger_enable_scala.shandprivacera_custom_conf.zipfiles to the S3 location, update the following properties in thevars.databricks.plugin.ymlfile: - Once the properties are configured, run the Privacera Manager to update the configurations and upload to S3
Run the following command to run the post install steps:
The init script is not uploaded automatically. Download the connector bundle, upload the script it contains to the S3 path, then set the cluster's init script Source to S3 - see Upload the init script.
Note
The cluster's instance profile needs s3:GetObject permission on that path.
- Prev topic: Advanced Configuration