I want to use AWS S3 bucket for Elasticsearch snapshot/restore of indices.
I have read the official doc but I am unable to understand what all properties will be needed in my elasticsearch.yml
file to connect to my S3 bucket.
We have a ecosystem where I can order S3 bucket and have access & secret key.
This the error I am getting:
{
"name": "ResponseError",
"meta": {
"body": {
"error": {
"root_cause": [
{
"type": "repository_verification_exception",
"reason": "[IST_ELASTIC_BKP] path is not accessible on master node"
}
],
"type": "repository_verification_exception",
"reason": "[IST_ELASTIC_BKP] path is not accessible on master node",
"caused_by": {
"type": "i_o_exception",
"reason": "Unable to upload object [tests-KWtjRD-oS-qOGKiigGKqVg/master.dat] using a single upload",
"caused_by": {
"type": "sdk_client_exception",
"reason": "Failed to connect to service endpoint: ",
"caused_by": {
"type": "socket_timeout_exception",
"reason": "Connect timed out"
}
}
}
},
"status": 500
},
"statusCode": 500,
"headers": {
"x-opaque-id": "d9e795d3-6d23-4795-8e87-ab14810be355;kibana:application:management:",
"x-elastic-product": "Elasticsearch",
"content-type": "application/json;charset=utf-8",
"content-length": "571"
},
"meta": {
"context": null,
"request": {
"params": {
"method": "POST",
"path": "/_snapshot/IST_ELASTIC_BKP/_verify",
"querystring": "",
"headers": {
"user-agent": "Kibana/8.6.2",
"x-elastic-product-origin": "kibana",
"authorization": "Basic ZWxhc3RpYzpGWXFVVDIySkJEaTlIQ3pZUkEqNw==",
"x-opaque-id": "d9e795d3-6d23-4795-8e87-ab14810be355;kibana:application:management:",
"x-elastic-client-meta": "es=8.4.0p,js=16.18.1,t=8.2.0,hc=16.18.1",
"accept": "application/vnd.elasticsearch+json; compatible-with=8,text/plain"
}
},
"options": {
"opaqueId": "d9e795d3-6d23-4795-8e87-ab14810be355;kibana:application:management:",
"headers": {
"x-elastic-product-origin": "kibana",
"user-agent": "Kibana/8.6.2",
"authorization": "Basic ZWxhc3RpYzpGWXFVVDIySkJEaTlIQ3pZUkEqNw==",
"x-opaque-id": "d9e795d3-6d23-4795-8e87-ab14810be355",
"x-elastic-client-meta": "es=8.4.0p,js=16.18.1,t=8.2.0,hc=16.18.1"
}
},
"id": 1
},
"name": "elasticsearch-js",
"connection": {
"url": "https://10.107.94.218:9090/",
"id": "https://10.107.94.218:9090/",
"headers": {},
"status": "alive"
},
"attempts": 0,
"aborted": false
},
"warnings": null
}
}