Hi Kelly,
We are struggling with the same thing. We had Selenium 3.x running in AWS on an ecs cluster. We had the hub running and we have a selenium scalar service that would create nodes as we needed them. We do this by have a docker image for the different nodes chrome firefox etc. all defined in a task definition.
My issue is when we start the hub its up and running but when we start the nodes the hub gets 502 bad gateway and the nodes start-up and then die. They never register.
If you make any progress let me know ill do the same.