从 AWS Open Search 获取快照以进行备份

问题描述 投票:0回答:1

使用 S3 和 Kibana 从 AWS Open Search 获取快照时出现以下错误:

{
    "error": {
        "root_cause": [{
            "type": "security_exception",
            "reason": "no permissions for [cluster:admin/repository/put] and User [name=arn:aws:iam::999988887777:user/username, backend_roles=[], requestedTenant=null]"
    }],
        "type": "security_exception",
        "reason": "no permissions for [cluster:admin/repository/put] and User [name=arn:aws:iam::999988887777:user/username, backend_roles=[], requestedTenant=null]"
    },
    "status": 403
}

我使用 AWS 文档尝试了所有方法,但无法解决此错误。

amazon-web-services permissions
1个回答
0
投票

您遇到的错误表明与提供的 ARN 关联的 IAM 用户没有必要的权限来在 OpenSearch 中执行所需的操作。要解决此问题并使用 Kibana 启用从 OpenSearch 到 S3 的快照,您需要向 IAM 用户授予适当的权限。

有关说明和故障排除步骤,请参阅媒体文章 - https://medium.com/vectoscalar/how-to-trigger-snapshots-of-indices-in-aws-opensearch-and-store-them-in -s3-使用-ec2-979f6c8019f0

© www.soinside.com 2019 - 2024. All rights reserved.