May be it's related to this? https://github.com/elasticsearch/elasticsearch-cloud-aws#recommended-s3-permissions
--
David 
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 12 mai 2014 à 22:54, IronMan2014 sabdalla80@hotmail.com a écrit :
I have a cluster with 2 nodes which works fine.
I am running the latest Elastic search version, and I would like to use snapshot/restore API, but having hard time getting to work. Note, it works fine with "fs" type, its AWS I am having hard time with.
In my 2 instances, I have this in the config.yml files
cloud:
aws:
access_key: XXXXXX
secret_key: YYYYYYY
discovery:
type: ec2
I have created S3 bucket called it "my-bucket", Inbound rules allow most ports, 22, 80, 9200, 9300
Tried to register the bucket with ElasticSearch:
PUT /_snapshot/es_repository
{
"type": "s3",
"settings": {
"bucket": "my-bucket"
}
I get this error:
"error": "RemoteTransportException[[node 2][inet[/10.240.78.87:9300]][cluster/repository/put]]; nested: RepositoryException[[elasticsrch] failed to create repository]; nested: CreationException[Guice creation errors:\n\n1) Error injecting constructor, com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain\n at org.elasticsearch.repositories.s3.S3Repository.()\n at org.elasticsearch.repositories.s3.S3Repository\n at Key[type=org.elasticsearch.repositories.Repository, annotation=[none]]\n\n1 error]; nested: AmazonClientException[Unable to load AWS credentials from any provider in the chain]; ",
"status": 500
}
Any ideas?
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/3749a26a-75cb-4ae7-a3bb-8160a7030847%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0F2F0A65-69F5-4581-A3A1-5CAD8010D092%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.