I am trying to connect from an ec2 instance to AWS Elasticsearch using scout-elasticsearch-laravel but it is failing.
my steps :-
added host to .env
SCOUT_DRIVER=elastic ( I tried elasticsearch also )
SCOUT_ELASTIC_HOST=https://vpc-cofxxx-xxx.xxxxxx.ap-south-1.es.amazonaws.com
i can curl the aws es endpoint and it works
right now it is giving below error :-
No alive nodes found in your cluster
But like I said curl is working and cluster health is in green.
I do not understand what I have misconfigured so any assistance will be appreciated.