Upgrading to the Akamai EdgeWorker Enforcer v4
Overview
The HUMAN Akamai EdgeWorker Enforcer requires Property Manager Rules and Variables, the EdgeWorker, and NetStorage to work together. Migrating to version 4 of the Akamai EdgeWorker Enforcer will require changes to all these components. See below for more detailed information about how to upgrade all the different components of the Enforcer.
Updating the NetStorage Files
Follow these instructions to upgrade your NetStorage configuration to work with the Akamai EdgeWorker Enforcer v4.
- Obtain the new static files from the HUMAN Security Akamai EdgeWorker Enforcer NPM package. NetStorage files are located in the
lib/netstorage/px
directory of the NPM package. - Navigate to the NetStorage service in the Akamai portal.
- Navigate to the File Manager in NetStorage.
- Click into the
px
folder. - Upload the provided files into the folder. If necessary, remove the old files.
Updating the Property Manager Rules and Variables
- Navigate to the Akamai Property on which the HUMAN enforcer is installed.
- Since published properties are not editable, create a new version of the property.
- Make the required revisions to the Akamai Property rules and variables. See provided screenshots of the rules required for the Akamai EdgeWorker installation. Save the property.
- When ready, navigate to the activate tab and activate the property on either staging or production.
Updating the EdgeWorker
- Use the HUMAN Security Akamai EdgeWorker Enforcer Template to create a new EdgeWorker bundle.
- Navigate to the EdgeWorkers service in the Akamai portal.
- Select the relevant EdgeWorker.
- Create a new version of the EdgeWorker. Upload the zipped bundle provided.
- When ready, activate the new version on either staging or production.
Note the following changes in the custom functions: