Having some issues configuring scout with my AWS ES,
here is my scout.php config :
'elasticsearch' => [
'index' => 'yyy',
'config' => [
'hosts' => [
[
'host' => search-yyy.eu-west-1.es.amazonaws.com,
'port' => 80,
'scheme' => 'https',
'user' => 'myIAM-UserName',
'pass' => 'myIAM-secret',
],
],
],
],
And i configured my ES access policy like this :
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::XXX:user/myIAM-user",
"arn:aws:iam::XXX:root"
]
},
"Action": "es:*",
"Resource": "arn:aws:es:eu-west-1:XXX:domain/yyy/*"
}
]
}
It looks like i can't connect (i'm getting the following error) :
No alive nodes found in your cluster
Anyone who made this work could help me ?
80
instead of9200
. I guess changing this param in config should help. – Skysplit