Skip to main content

Privacera Documentation

Configure data plane for PrivaceraCloud

This topic describes how to configure data plane for PrivaceraCloud using Privacera Manager.

Prerequisites

Ensure that the following prerequisites are met before enabling PrivaceraCloud in your data plane:

  1. You must have a PrivaceraCloud account. For more information, see PrivaceraCloud setup.

  2. Download Privacera Manager installation package. For more information, see Privacera Manager package.

  3. Contact Privacera Support to enable Privacera services in PrivaceraCloud mode.

  4. Identify the Privacera components, such as Connectors, Discovery, PEG required to be installed in data plane.

  5. Obtain the API key from the PrivaceraCloud Portal and save it. For more information, see Obtain API Key from PrivaceraCloud.

  6. Obtain the required Ranger Admin URL from the PrivaceraCloud Portal and save it, see Obtain URL from PrivaceraCloud.

Procedure

Perform the following steps to configure data plane for PrivaceraCloud using Privacera Manager:

  1. SSH to the Privacera Manager jump server.

  2. Run the following command to change directory to Privacera manager:

    cd ~/privacera/privacera-manager/
  3. Add required .yml extension files into custom-vars/ folder as stated in the following steps:

    Note

    The required .yml extension files to install Privacera services in PrivaceraCloud mode, are as follows:

    • vars.kubernetes.yml

    • vars.aws.yml (Applicable only for AWS environment)

    • vars.azure.yml (Applicable only for Azure environment)

    • vars.gcp.yml (Applicable only for GCP environment)

    1. Run the following command to copy vars.kubernetes.yml file from sample-vars/ to custom-vars/ folder:

      cp config/sample-vars/vars.kubernetes.yml config/custom-vars/
      
    2. Run the following command and update the K8S_CLUSTER_NAME property in vars.kubernetes.yml file:

      vi config/custom-vars/vars.kubernetes.yml
    3. Run the following command to copy cloud specific .yml file from sample-vars/ to custom-vars/ folder:

      Note

      DO NOT run the command to update the Privacera Manager at this point.

      • For AWS Platform

        cp config/sample-vars/vars.aws.yml config/custom-vars/
      • For Azure Platform

        cp config/sample-vars/vars.azure.yml config/custom-vars/
      • For GCP Platform

        cp config/sample-vars/vars.gcp.yml config/custom-vars/
  4. Run the following command to copy the vars.privacera-cloud.yml file from the sample-vars/ directory to the custom-vars/ directory.

    cp config/sample-vars/vars.privacera-cloud.yml config/custom-vars/
  5. Run the following command to edit the the vars.privacera-cloud.yml file:

    vi config/custom-vars/vars.privacera-cloud.yml
  6. Update the following property with the URL you obtained in the Obtain PrivaceraCloud Base URL step:

    PRIVACERA_CLOUD_BASE_URL: "<PLEASE_CHANGE>"
  7. Update the following property for the PrivaceraCloud API key you obtained in the PrivaceraCloud API Key step:

    Note

    For security reasons, use Privacera or Ansible Vault for this property.

    PRIVACERA_CLOUD_API_KEY: "<PLEASE_CHANGE>"
  8. Copy all other variable files from sample-vars/ to custom-vars/ folder to configure Privacera data management services in data plane. For more information, Deploy Privacera components in data plane.