Snapshot to IBM S3 compatible object storage


(Steve Szabo) #1

Is it possible to snapshot to IBM object store which is S3 compatible?

curl -s -XPUT http://hostname:9200/_snapshot/filebeat20180110 -H 'Content-Type: application/json' -d'
{
  "type": "s3",
  "settings": {
    "endpoint": "http://s3.tor01.objectstorage.service.networklayer.com/",
    "region": "tor01-standard",
    "bucket": "my-bucket",
    "compress": "true"
  },
  "indices": "filebeat-2018.01.10"
}'

This error seems to come from amazon not IBM:

amazon_s3_exception:
The AWS Access Key Id you provided does not exist in our records.
Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId

When I use an invalid endpoint it fails for the above reason, I would expect it to fail with bad hostname or something similar.