We are using Amazon Elasticsearch and the client which are accessing this service is running in EC2 machine. For the security purpose, we are using IP based security so we have given the ec2 machine's IP in the ES security policy. Now the ec2 infrastructure started using the auto-scaling, so we are in trouble because of the new machine not able to access the ES services.
How to set the access policy so that new machine able to access the ES service.
we don't want to open the ES service publically.
we can't use the accessID/secret mechanism.
ARN not working for this as it for user access