curl -XPUT 'xxxxx:9200/_snapshot/my_s3_repository?pretty' -H 'Content-Type: application/json' -d'
{
"type": "s3",
"settings": {
"bucket": "xxxxxxxxxx",
"region": "xxxxxxxxxxxx",
"server_side_encryption": true
}
}'
返回:
"error" : {
"root_cause" : [
{
"type" : "repository_verification_exception",
"reason" : "[my_s3_repository] path is not accessible on master node"
}
],
已在AWS上创建了存储桶,并添加了官方推荐的策略,一直失败,是哪里错了吗?
{
"type": "s3",
"settings": {
"bucket": "xxxxxxxxxx",
"region": "xxxxxxxxxxxx",
"server_side_encryption": true
}
}'
返回:
"error" : {
"root_cause" : [
{
"type" : "repository_verification_exception",
"reason" : "[my_s3_repository] path is not accessible on master node"
}
],
已在AWS上创建了存储桶,并添加了官方推荐的策略,一直失败,是哪里错了吗?
3 个回复
FFFrp
赞同来自:
xuliang482
赞同来自:
laohan - 会的越多,不会的越多
赞同来自:
在发送请求的时候,需要指定桶名称