Using the repository below you can find the configuration scripts for cloud instances with GPUs to make possible usage of OpenGL GUI applications in TurboVNC and using VirtualGL:
https://github.com/agisoft-llc/cloud-scripts
These scripts can configure Ubuntu 16.04 on EC2 graphics instances to support running OpenGL applications in TurboVNC via VirtualGL.