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

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 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?

Did you try RC1?

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