# How to use the AWS S3 plugin on ES 2.x?

**URL:** <https://discuss.elastic.co/t/how-to-use-the-aws-s3-plugin-on-es-2-x/32383>\
**Category:** Elasticsearch\
**Created:** [October 16, 2015, 11:40am UTC](https://discuss.elastic.co/t/how-to-use-the-aws-s3-plugin-on-es-2-x/32383 "2015-10-16T11:40:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![WoJ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/woj/32/4518_2.png) [@WoJ](https://discuss.elastic.co/u/WoJ)\
**Post date:** [October 16, 2015, 11:40am UTC](https://discuss.elastic.co/t/how-to-use-the-aws-s3-plugin-on-es-2-x/32383/1 "2015-10-16T11:40:17Z")

</div>

Hello,

I am trying to use S3 for my ES 2.x data snapshots. The plugin is installed:

```
# ls /usr/share/elasticsearch/plugins/cloud-aws
aws-java-sdk-core-1.10.12.jar aws-java-sdk-s3-1.10.12.jar commons-logging-1.1.3.jar jackson-annotations-2.5.0.jar
aws-java-sdk-ec2-1.10.12.jar cloud-aws-2.0.0-beta2.jar httpclient-4.3.6.jar jackson-databind-2.5.3.jar
aws-java-sdk-kms-1.10.12.jar commons-codec-1.6.jar httpcore-4.3.3.jar plugin-descriptor.properties

```

When trying to [set up ES to use an S3 repository](https://github.com/elastic/elasticsearch-cloud-aws#s3-repository) I get

```
{"error":{"root_cause":[{"type":"repository_exception","reason":"[my_s3_repository] failed to create repository"}],"type":"repository_exception","reason":"[my_s3_repository] failed to create repository","caused_by":{"type":"illegal_argument_exception","reason":"Unknown [repository] type [s3]"}},"status":500}# 

```

What could be the cause of the error?

---

<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:** [October 16, 2015, 12:10pm UTC](https://discuss.elastic.co/t/how-to-use-the-aws-s3-plugin-on-es-2-x/32383/2 "2015-10-16T12:10:26Z")

</div>

Did you try RC1?

---

<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:** [October 16, 2015, 12:11pm UTC](https://discuss.elastic.co/t/how-to-use-the-aws-s3-plugin-on-es-2-x/32383/3 "2015-10-16T12:11:33Z")

</div>

Ah I see. It was beta2.  
Update to RC1.

---

<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:** [July 5, 2017, 11:44pm UTC](https://discuss.elastic.co/t/how-to-use-the-aws-s3-plugin-on-es-2-x/32383/4 "2017-07-05T23:44:22Z")

</div>


