Skip to main content

Privacera Documentation

Table of ContentsTable of Contents

Override Databricks region URL mapping for Privacera Platform on AWS

You can override the default configuration that maps AWS regions to Databricks private URLs.

  • Install Privacera on AWS

  1. Log in to the system where you installed Privacera Manager.

  2. Run the following command:

    cd ~/privacera/privacera-manager
  3. Run the following command to copy the default AWS region mapping file into the config/custom-properties directory:

    cp ansible/privacera-docker/roles/templates/dataserver/common/sample.dbx-region-url-mapping-aws.json  config/custom-properties/dbx-region-url-mapping-aws.json
  4. Edit the JSON mapping file. The configuration is of the following shape. Replace <AWS_REGION> with the name of the AWS region and <DATABRICKS_URL> with the Databricks private URL for the region.

      "regionToPrivateUrlMap": {
        "<AWS_REGION>": {
          "url": "<DATABRICKS_URL>"
  5. Update Privacera Manager.

    ./ update
  1. Log in to a system where you can run kubectl commands.

  2. Run the following command to run a shell on a Data Server pod where:

    • POD_NAME: Specifies the name of a Data Server pod

    • NAMESPACE: Specifies the name of the namespace where the pod is running

    kubectl exec -it <POD_NAME>  bash -n <NAMESPACE>
  3. Run the following command to confirm that your change is applied:

    cat privacera-dataserver/conf/dbx-region-url-mapping-aws.json
  4. To exit the shell, enter exit.