In an ELB setup there shouldn’t be a single server linked to the ROOT_URL.
All requests should be made to the load balancer which then forwards the request among all the available instances (ie. balancing the load). With sticky sessions turned on, that means each subsequent request from a client will be forwarded to the same server it was originally assigned.
Not that that would even matter for dynamic imports, any of the servers would be capable of fulfilling the dynamic import request from any client.
Failure should only happen when the import request is sent to a different domain.
Because of the load balancer, all the instances should be serving on that same domain with the same ROOT_URL, so the ELB or instance choice won’t affect this.
However, if you are setting the ROOT_URL to be the ip address of each instance, that would break it, as the domain is changed and the browser will throw a CORS error.
That all said, I think this is a bug and dynamic import should work when the domain changes, as some folks are using Meteor for multiple domains from the one app. I know it used to work, and then stopped with the change from DDP to HTTP POST, and there has been discussion in Meteor issues about this.
While I think I should work, I didn’t open with that because it’s likely there’s something wrong with your ELB setup and wanted to explain how ELBs normally function first