I am having a problem setting up backup and restore part of AWS on S3.
I have 2.1.1 AWS plugin & ElasticSearch V1.1.0
My yml:
cloud:
aws:
access_key: #########
secret_key: #####################
discovery:
type: ec2
When I try to register a repository:
PUT /_snapshot/es_repository{
"type": "s3",
"settings": {
"bucket": "esbucket"
}}
I get this error, it complains about loading my credentials! Is this
ElasticSearch problem or AWS?
Note I am running as root user "ubuntu" on Ec2 and also running AWS with
root privileges as opposed to IAM role, not sure if it's a problem or not.
"error": "RepositoryException[[es_repository] 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.<init>(Unknown Source)\n
while locating org.elasticsearch.repositories.s3.S3Repository\n while
locating org.elasticsearch.repositories.Repository\n\n1 error]; nested:
AmazonClientException[Unable to load AWS credentials from any provider in
the chain]; ",
"status": 500
}ode here...
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/89c4ac87-6f88-4b1a-a87e-c4482600b21c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.