Privacera Platform master publication

Override Databricks region URL mapping on AWS
:

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

Prerequisites

  • You installed Privacera on AWS

Procedure

  1. Log in to the system where you installed Privacera Manager, and then enter the following command:

    cd ~/privacera/privacera-manager
  2. To copy the default AWS region mapping file into the config/custom-properties directory, enter the following command:

    cp ansible/privacera-docker/roles/templates/dataserver/common/sample.dbx-region-url-mapping-aws.json  config/custom-properties/dbx-region-url-mapping-aws.json
  3. Edit the JSON mapping file. The configuration is of the following shape:

    {
      "regionToPrivateUrlMap": {
        "<AWS_REGION>": {
          "url": "<DATABRICKS_URL>"
        }
    }

    Replace <AWS_REGION> with the name of the AWS region and <DATABRICKS_URL> with the Databricks private URL for the region.

  4. To update your Privacera Manager installation, enter the following command:

    ./privacera-manager.sh update

Verification

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

  2. To run a shell on a Data Server pod, enter the following command:

    kubectl exec -it <POD_NAME>  bash -n <NAMESPACE>

    where:

    • POD_NAME: Specifies the name of a Data Server pod

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

  3. To confirm that your change is applied, enter the following command:

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