How can we help?
Table of Contents
< All Topics
Print

Deploy Paladin Cloud with HTTPS

Paladin Cloud’s default installation is HTTP-only. We also support HTTPS internal and HTTPS external. This guide will walk you through the steps to deploy Paladin Cloud in HTTPS Internal and External mode.

To get an ACM certificate, please follow this link.

Internal Deployment with HTTPS, Custom Domain, and Amazon Certificate Manager

Step 1: Access local.py, following the steps below:

  1. Open the terminal on the EC2 instance.
  2. Change the directory to the installer directory using the command:

cd CE/installer

  1.  Open local.py using the preferred text editor (e.g., vi):

             vi settings/local.py

Step 2: Update the following variables to deploy Paladin Cloud internally using HTTPS and a custom domain:

       `MAKE_ALB_INTERNAL = True`  
 `ALB_PROTOCOL = "HTTPS"` `SSL_CERTIFICATE_ARN = "arn:aws:acm:us-east-1:xxxxxxxxxxxxxxxxx"` `PALADINCLOUD_DOMAIN = "paladincloud.example.io"`

Step 3: Save the local.py file after updating the values.

Step 4: Run the Paladin Cloud upgrade command:

        sudo python3 manager.py upgrade

Note: Internal deployments can only be accessible within that VPC.

 

External Deployment with HTTPS, Custom Domain, and Amazon Certificate Manager

Step 1: Access local.py, following the steps below:

  1. Open the terminal on the EC2 instance.
  2. Change the directory to the installer directory using the command:

cd CE/installer

  1.  Open local.py using the preferred text editor (e.g., vi):

             vi settings/local.py

Step 2:

Update the following variables to deploy Paladin Cloud externally using HTTPS and a custom domain:

     `MAKE_ALB_INTERNAL = False` `ALB_PROTOCOL = "HTTPS"`
 `SSL_CERTIFICATE_ARN = "arn:aws:acm:us-east-1:xxxxxxxxxxxxxxxxx"` 
 `PALADINCLOUD_DOMAIN = "paladincloud.example.io"`

Step 3: Run the Paladin Cloud upgrade command:

        sudo python3 manager.py upgrade

Note: To perform an external deployment, you need to have a custom domain.