# Unable to access s3 bucket(snapshot and restore)

**URL:** <https://discuss.elastic.co/t/unable-to-access-s3-bucket-snapshot-and-restore/272676>\
**Category:** Elasticsearch\
**Tags:** docker, snapshot-and-restore\
**Created:** [May 11, 2021, 10:38am UTC](https://discuss.elastic.co/t/unable-to-access-s3-bucket-snapshot-and-restore/272676 "2021-05-11T10:38:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yash\_Shukla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yash_shukla/32/88585_2.png) [@Yash\_Shukla](https://discuss.elastic.co/u/Yash_Shukla)\
**Post date:** [May 11, 2021, 10:38am UTC](https://discuss.elastic.co/t/unable-to-access-s3-bucket-snapshot-and-restore/272676/1 "2021-05-11T10:38:23Z")

</div>

Hello everyone,  
I am setting up an EFK cluster(elasticsearch-kibana-fluentd) in the AWS eks cluster. currently i am facing a problem with the snapshot and backup option present in the kibana console -  
followed following steps -

1. created the custom image with the repository-s3 plugin installed(base version es-7.10.0)
2. created required policies for s3 full access with OIDC.
3. provided role arn annotations to the es service account.

current while testing up the repository I am getting following error -  
"reason": "amazon\_s3\_exception: Access Denied  
"[efk] path is not accessible on master node"

Please help us to resolve this issue.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 11, 2021, 11:07pm UTC](https://discuss.elastic.co/t/unable-to-access-s3-bucket-snapshot-and-restore/272676/2 "2021-05-11T23:07:31Z")

</div>

Welcome to our community! 😃

What were the commands that you used to setup the repo?  
What is the output from `GET /_snapshot`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 8, 2021, 11:07pm UTC](https://discuss.elastic.co/t/unable-to-access-s3-bucket-snapshot-and-restore/272676/3 "2021-06-08T23:07:54Z")

</div>

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