Can't able register aws ES snapshot repository to filesystem

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.

BTW did you look at https://www.elastic.co/cloud and https://aws.amazon.com/marketplace/pp/B01N6YCISK ?

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 :slight_smile: ...

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.