Seemingly can't connect to endpointBase from AWS Server

Not answering to your exact problem, but why not just starting enterprise search from cloud.elastic.co in the same AWS region? You will have everything running in few seconds.

You have 14 days for free to test it.