ELK Migration

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.

You need to add your S3 client settings to the secured keystore. See Secure your settings | Elasticsearch Service Documentation | Elastic

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

Hope this helps