I’ve run Slicer on AWS Workspace with Windows and it works fine, with GPU support.
GPU OpenGL on Linux is always tricky, so maybe Workspaces doesn’t provide the right hooks.
If Google Cloud is an option for you, these instructions work well for me.
Probably the same approach would work fine with EC2 as well.