Prerequisites

  1. CrowdHandler resources installed via CloudFormation quicklaunch link (generated in CrowdHandler control panel). 

Step 1: Create /ch/* CloudFront Behaviour

  1. Edit the CloudFront distribution that you would like to install CrowdHandler against.
  2. Create behavior as shown below, modifying your origin as appropriate.

Step 2: Deploy crowdhandler-originOverride Lambda function to CloudFront

  1. Navigate to the crowdhandler-originOverride Lambda function.
  2. Select Deploy to Lambda@Edge from the Actions Dropdown.
  3. Deploy as shown in the image below.

Step 3: Deploy crowdhandler-originResponse Lambda function to CloudFront

  1. Navigate to the crowdhandler-originResponse Lambda function.
  2. Select Deploy to Lambda@Edge from the Actions Dropdown.
  3. Deploy as shown in the image below.

Step 4: Deploy crowdhandler-viewerRequest Lambda function to CloudFront

  1. Navigate to the crowdhandler-viewerRequest Lambda function.
  2. Select Deploy to Lambda@Edge from the Actions Dropdown.
  3. Deploy as shown in the image below.

Step 5: Test your Integration Works