# Snapshot to S3 from elasticsearch cloud

**URL:** https://discuss.elastic.co/t/snapshot-to-s3-from-elasticsearch-cloud/231118
**Category:** Elasticsearch
**Created:** [May 5, 2020, 9:58am UTC](https://discuss.elastic.co/t/snapshot-to-s3-from-elasticsearch-cloud/231118 "2020-05-05T09:58:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Ilan\_Peretz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilan_peretz/32/67701_2.png) [@Ilan\_Peretz](https://discuss.elastic.co/u/Ilan_Peretz)
#### Post date: [May 5, 2020, 9:58am UTC](https://discuss.elastic.co/t/snapshot-to-s3-from-elasticsearch-cloud/231118/1 "2020-05-05T09:58:55Z")

</div>

hello,  
we're using [elastic.co](http://elastic.co) cloud service, platinum license.  
we want to snapshot logs to S3 bucket.  
repository-s3 is installed on the server.  
when using the devtools with this command:

```auto
 PUT /_snapshot/s3_snapshot1
{
  "type": "s3",
  "settings": {
    "bucket": "BUCKET_NAME",
    "region": "eu-west-1",
    "access_key": "XXXXXXXXXXXXXXXXXXXXXXXXX",
    "secret_key": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    "compress": "true"
  }
}

```

(of course, changing the keys and bucket)  
i get this error:

```auto
#! Deprecation: Using s3 access/secret key from repository settings. Instead store these in named clients and the elasticsearch keystore for secure settings.
{
  "acknowledged" : true
}

```

how do i do that? all guides i founds seems to talk about doing it from command line.

would appreciate your help!  
thanks

---

<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: [May 5, 2020, 10:13am UTC](https://discuss.elastic.co/t/snapshot-to-s3-from-elasticsearch-cloud/231118/2 "2020-05-05T10:13:56Z")

</div>

Welcome.

You can go to security settings and create the keystore and add the needed credentials.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/1/815748b90f59eddceeccbec74b23d72d77c91507.jpeg)

I'd recommend asking for official support if needed. Please see [https://www.elastic.co/cloud/elasticsearch-service/support](https://www.elastic.co/cloud/elasticsearch-service/support) on how to raise a support ticket for Elastic Cloud 🙂

---

<div class="post-metadata">

### Author: ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)
#### Post date: [May 5, 2020, 1:25pm UTC](https://discuss.elastic.co/t/snapshot-to-s3-from-elasticsearch-cloud/231118/3 "2020-05-05T13:25:33Z")

</div>

Hi @Ilan_Peretz

Here's the link to the UI referenced above: [https://www.elastic.co/guide/en/cloud/current/ec-configuring-keystore.html](https://www.elastic.co/guide/en/cloud/current/ec-configuring-keystore.html). Other than using this UI instead of the CLI, the steps should be the same

Alex

---

<div class="post-metadata">

### Author: ![Ilan\_Peretz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilan_peretz/32/67701_2.png) [@Ilan\_Peretz](https://discuss.elastic.co/u/Ilan_Peretz)
#### Post date: [May 5, 2020, 8:06pm UTC](https://discuss.elastic.co/t/snapshot-to-s3-from-elasticsearch-cloud/231118/4 "2020-05-05T20:06:34Z")

</div>

thanks, works!

---

<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: [May 19, 2020, 8:06pm UTC](https://discuss.elastic.co/t/snapshot-to-s3-from-elasticsearch-cloud/231118/5 "2020-05-19T20:06:39Z")

</div>

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