This repo shows how to use F5 DeviceID with NGINX+ for A/B testing. It uses the split_clients directive and keyvalue pair to dynamically update the split.
This epo builds infrastructure in AWS. You will need to have a working AWS account and a working version of terraform.
Read more here: https://codecowboydotio.github.io/nginx-a-b-testing/