Hi I am trying to register aws ES snapshot repository to local filesystem. Can anyone please help me in registering the repository.
input
curl -XPUT http://search-ecs-alblogs-@@@@@.us-west-2.es.amazonaws.com/_snapshot/es_snap -d ' { "type": "fs", "settings": { "location":"home/user/backup" ,"compress":true , "access_key":"@@@@@@", "secret_key":"@@@@","region":"us-west-2","role_arn":"arn:aws:iam::@@@@@:user/Elasticsearch" } }
output
Message":"User: anonymous is not authorized to perform: iam:PassRole on resource: arn:aws:iam::$$$$$:user/Elasticsearch"}.
You should ask on AWS forums instead as I have no idea of how they are implementing this.
But I can say that normally when using S3 the type is not fs but s3.
Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL, Canvas, Logs UI, Infra UI and what is coming next ...
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.