The connection with ES is Ok locally. Then we put the ES on a single server of Aliyun. The search speed becomes very slow. Everything else is the same except the difference between local and remote.
The ES version is 5.6.1. We use transport client java API in our project. The bandwith of the server is 1mb/s.