JCS for Elasticsearch does not support public network access to ES instance. If you need to provide external services through direct external access APIs, you can use machine + reverse proxy + security group to set a white list to provide external services.
# yum update //Update the library and necessary supports # wget http://nginx.org/download/nginx-1.13.6.tar.gz //Download nginx # tar -zvxf nginx-1.13.6.tar.gz //Decompress # cd nginx-1.13.6 # ./configure # make && make install //The executable files shall be installed at /usr/sbin/nginx (default configuration) # cd /usr/local/nginx/sbin/ # ./nginx //Enable nginx to configure the file location /usr/local/nginx/conf/nginx.conf
Create security group and associate Virtual Machine Associate Virtual Machines
The Security Group of Virtual Machine is all prohibited by default, so the white list of Input Traffic Rules and Output Traffic Rules need to be set in the Security Group Details. Upon completion, you can access the JCS for Elasticsearch cluster instance through the machine as an agent.