Upgrading the Enforcer
  • 09 Nov 2023
  • Dark
    Light

Upgrading the Enforcer

  • Dark
    Light

Article Summary

Upgrading the Enforcer Manually

Notice!
If your current AWS Lambda enforcer version is v2.14.0 or below, please turn to your HUMAN contact person for support. If your AWS Lambda enforcer version is v3.0.0 and above, please upgrade by following the steps below.

HUMAN's AWS Lambda Enforcer is composed of anywhere between one to three AWS Lambda functions. The steps below are geared toward the required HUMANEnforcer Lambda function, but they are the same for the HUMANFirstParty and HUMANActivities Lambda functions as well.

  1. In the AWS Console, navigate to your HUMANEnforcer Lambda function.
  2. In the top right corner, click Actions and then Export Function. When prompted, download the deployment package and save it locally on your computer. (This will download your existing HUMANEnforcer Lambda function as a .zip file, which is crucial not only for backup purposes but also to conserve your existing configuration and customizations.)
  3. In the code tab on the right, click the Upload From button and select .zip.
  4. Upload the HUMANEnforcer.zip file provided to you by HUMAN and click Save. This will delete the old HUMANEnforcer Lambda function and install the upgraded version.
  5. Replace the content of the newly uploaded custom/config.js and custom/custom.js files with the content of the older HUMANEnforcer Lambda function downloaded in step #2. (This will transfer over your configurations and customizations to the upgraded enforcer.)
  6. Click the Deploy button to save the changes to AWS.
  7. After testing the upgraded HUMANEnforcer Lambda function, deploy the function to Lambda@Edge by publishing a new version and associating the published version with your Cloudfront distribution.

Was this article helpful?

What's Next