从AWS Open Search获取快照以备份。

huangapple go评论75阅读模式
英文:

Taking snapshot from AWS Open Search for backup

问题

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

{
    "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文档中的一切,但无法解决此错误。

英文:

While taking snapshot from the AWS Open Search using S3 and Kibana getting the following error -

{
    "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
}

I tried everything using the AWS documentation but unable to solve this error.

答案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-using-ec2-979f6c8019f0

英文:

The error you are encountering indicates that the IAM user associated with the provided ARN does not have the necessary permissions to perform the required action in OpenSearch. To resolve this issue and enable snapshots from OpenSearch to S3 using Kibana, you need to grant the appropriate permissions to the IAM user.

For instructions and troubleshooting steps, refer to the medium article - https://medium.com/vectoscalar/how-to-trigger-snapshots-of-indices-in-aws-opensearch-and-store-them-in-s3-using-ec2-979f6c8019f0

huangapple
  • 本文由 发表于 2023年6月8日 19:16:58
  • 转载请务必保留本文链接:https://go.coder-hub.com/76431282.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定