Skip to content

Configuring Host URL and External Port

This document provides configuration instructions for setting up the external Host URL and external port for the Privacera Portal. Follow the steps outlined to properly configure these settings, which are essential for accessing the portal externally. Ensure that you have the necessary permissions and access rights to make these changes.

Configure External Host URL and Port

  1. SSH into the instance where Privacera Manager is installed.

  2. Navigate to the config directory with the following command:

    Bash
    cd ~/privacera/privacera-manager/config
    

  3. Copy the sample-vars if they are not already present in the custom-vars directory by running the following command:

    Bash
    cp -n sample-vars/vars.portal.yml \
    custom-vars/vars.portal.yml
    

  4. Update the PORTAL_HOST_NAME and PORTAL_EXTERNAL_PORT:

    a. Open the vars.portal.yml file in a text editor.

    Bash
    vi custom-vars/vars.portal.yml
    

    b. Update the PORTAL_HOST_NAME with your desired hostname.

    YAML
    PORTAL_HOST_NAME: "<PORTAL_HOST_NAME>"
    

    For example

    YAML
    PORTAL_HOST_NAME: "https://your.portal.hosturl"
    

    c. Update the PORTAL_EXTERNAL_PORT with your desired port number.

    YAML
    PORTAL_EXTERNAL_PORT: "<PORTAL_EXTERNAL_PORT>"
    

    For example, to change the portal port number to something other than 6868

    YAML
    PORTAL_EXTERNAL_PORT: "6060"
    
    d. Save and close the file.

Deploying the Service

  1. Generate the Helm charts. This step prepares the required Kubernetes configurations for deploying the Privacera services.

    Bash
    # This step usually takes a few minutes.
    ./privacera-manager.sh setup
    

  2. Apply the Helm charts. This will deploy the Privacera services to your Kubernetes cluster.

    Bash
    # This step usually takes a few minutes.
    ./pm_with_helm.sh upgrade
    

  3. Perform post-installation steps, such as generating the plugin tarball and updating Route 53 DNS. These steps are essential to finalize the deployment and ensure that all services are properly configured.

    Bash
    # This step usually takes a few minutes.
    ./privacera-manager.sh post-install
    

By following these steps, you will have successfully configured the PORTAL_HOST_NAME and PORTAL_EXTERNAL_PORT, and deployed the Privacera services with the updated configuration.

Comments