I did following steps in my cluster nodes.
-
Installed S3 repository plugin
-
s3.client.default.endpoint = endpoint
added in yml file -
added s3 keys
bin/elasticsearch-keystore add s3.client.default.access_key
bin/elasticsearch-keystore add s3.client.default.secret_key
-
Created Repo
curl -H 'Content-Type: application/json' -XPUT 'https://localhost:9200/_snapshot/elk_dev_s3_repository?verify=false&pretty' -d' { "type": "s3", "settings": { "bucket": "es_dev", } }'
{ "acknowledged" : true }
-
Created snapshot.
curl -H 'Content-Type: application/json' -XPUT https://localhost:9200/_snapshot/elk_dev_s3_repository/snapshot_1?wait_for_completion=true -d '{ "ignore_unavailable": true, "include_global_state": false}'
I got some issue while creating snapshot.
{ "error": { "root_cause": [ { "type": "amazon_s3_exception", "reason": "The request signature we calculated does not match the signature you provided. Check your key and signing method. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: txe2f69edfe8a54e90bdf72-005c752578; S3 Extended Request ID: null)" } ], "type": "amazon_s3_exception", "reason": "The request signature we calculated does not match the signature you provided. Check your key and signing method. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: txe2f69edfe8a54e90bdf72-005c752578; S3 Extended Request ID: null)" }, "status": 500 }
Please advise me..