Configure AWS Region and Endpoint

The REGION property specifies the AWS region for the S3 bucket. By default, the DataServer uses the default region for all buckets. To force the DataServer to use the default region for all buckets, set the USE_REGIONAL_ENDPOINT property to true.

  1. To configure the AWS region and endpoint, include the following properties in the vars.dataserver.aws.yml file with appropriate value for your-s3-bucket-region:
    YAML
    1
    2
    3
    4
    5
    6
    7
    8
    DATASERVER_AWS_PROFILE_PROPERTIES:
    - PROFILE_NAME: "aws_account1"
      PROFILE_PROPERTIES:
        - # Set the AWS region. Default is us-east-1
        - REGION: "your-s3-bucket-region"
    
        - # Set true to force dataserver to use default region for all bucket 
        - USE_REGIONAL_ENDPOINT: "true"
    
  2. Once the properties are configured, refer to the Privacera Manager Quickstart.
  1. In PrivaceraCloud, navigate to Settings -> Applications.
  2. On the Connected Applications screen, select S3.
  3. On the screen, click the edit icon, and then click on Access Management -> BASIC tab.
  4. Add the AWS region for the S3 bucket in the AWS Region field.
  5. Click on ADVANCED tab and add the following property with the appropriate value for <your_profile_name>:
    Properties
    dataserver.aws.<your_profile_name>.use.regional.endpoint=true
    
  6. Click the Test Connection button to verify the connection.
  7. Once the connection is successful, click Save.

Comments