# ELK Migration

**URL:** <https://discuss.elastic.co/t/elk-migration/355698>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [March 19, 2024, 9:36am UTC](https://discuss.elastic.co/t/elk-migration/355698 "2024-03-19T09:36:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aniket\_Dubey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aniket_dubey/32/122260_2.png) [@Aniket\_Dubey](https://discuss.elastic.co/u/Aniket_Dubey)\
**Post date:** [March 19, 2024, 9:36am UTC](https://discuss.elastic.co/t/elk-migration/355698/1 "2024-03-19T09:36:13Z")

</div>

I have an Elasticsearch cluster on Elastic Cloud. I have another Elastic cluster on kubernetes (ECK). How do I take a snapshot from Elasticsearch cluster on Elastic Cloud and store it in S3 bucket and restore this on Elastic Cluster on Kubernetes.

(Since my Elasticsearch cluster is hosted on Elastic Cloud, I don't have direct access to the Elasticsearch configuration file because Elastic Cloud manages the infrastructure and configuration.)

How should I configure the snapshot repository to point to an S3 bucket where I want to store snapshots.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 19, 2024, 9:39am UTC](https://discuss.elastic.co/t/elk-migration/355698/2 "2024-03-19T09:39:40Z")

</div>

You need to add your S3 client settings to the secured keystore. See [Secure your settings | Elasticsearch Service Documentation | Elastic](https://www.elastic.co/guide/en/cloud/current/ec-configuring-keystore.html)

Then you can add your repository as you'd do "normally"...

Hope this helps

---

<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:** [April 16, 2024, 9:39am UTC](https://discuss.elastic.co/t/elk-migration/355698/3 "2024-04-16T09:39:56Z")

</div>

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