Skip to main content

Privacera Documentation

Set up Discovery on AWS for Privacera Platform

This topic shows you how to set up the AWS configuration for installing Privacera Discovery in a Docker and Kubernetes (EKS) environment.

IAM policies for Discovery on AWS

To use the Privacera Discovery service, ensure the following IAM policies are attached to the Privacera_PM_Role role to access the AWS services.

The policy to create AWS resources is required only during installation or when Discovery is updated through Privacera Manager. This policy gives permissions to Privacera Manager to create AWS resources like DynamoDB, Kinesis, SQS, and S3 using terraform.

  • ${AWS_REGION}: AWS region where the resources will get created.


CLI configuration for Discovery on AWS

  1. SSH to the instance where Privacera is installed.

  2. Run the following commands.

    cd ~/privacera/privacera-manager
    cp config/sample-vars/ config/custom-vars/
    vi config/custom-vars/
  3. Edit the following properties. For property details and description, refer to the Configuration Properties below.


    To configure a bucket, add the property as follows, where bucket-1 is the name of the bucket:


    To configure a bucket containing a folder, add the property as follows:

    DISCOVERY_BUCKET_NAME: "bucket-1/folder1"
  4. Uncomment/Add the following variable to enable Autoscalability of Executor pods:

  5. (Optional) If you want to customize Discovery configuration further, you can add custom Discovery properties. For more information, refer to Set custom Discovery properties on Privacera Platform.

    For example, by default, the username and password for the Discovery service is padmin/padmin. If you choose to change it, refer to Add custom properties using Privacera Manager on Privacera Platform.

  6. Run the following commands.

    cd ~/privacera/privacera-manager
    ./ update

Configuration properties for Discovery on AWS





Set the bucket name where Discovery will store its metadata files


[Properties of Topic and Table names](../pm-ig/

Topic and Table names are assigned by default in Privacera Discovery. To customize any topic or table name, refer to the link.

Enable realtime scan

An AWS SQS queue is required, if you want to enable realtime scan on the S3 bucket.

After running the PM update command, an SQS queue will be created for you automatically with the name, privacera_bucket_sqs_{{DEPLOYMENT_ENV_NAME}}, where {{DEPLOYMENT_ENV_NAME}} is the environment name you set in the vars.privacera.yml file. This queue name will appear in the list of queues of your AWS SQS account.

If you have an SQS queue which you want to use, add the DISCOVERY_BUCKET_SQS_NAME property in the file and assign your SQS queue name.

If you want to enable realtime scan on the bucket, see Configure S3 for real-time scanning on Privacera Platform.