How to set my aws elastic ip address in hosts?

Can you simply curl from another machine your instance?

Check the logs and make sure that 9200 port is bound to the right IP address. Check also if you have any firewall...