0

我正在使用 plesk 备份到 S3

我已经配置了备份,它可以在某些站点上运行,但在其他站点上却无缘无故地失败。除了存储位置之外,用户权限脚本似乎是相同的,所以这个有效:

{
  "Statement": [
    {
      "Effect": "Allow",
      "NotAction": [
        "s3:CreateBucket",
        "s3:DeleteBucket"
      ],
      "Resource": "arn:aws:s3:::thechurch.org.uk",
      "Condition": {}
    },
    {
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": "arn:aws:s3:::thechurch.org.uk/*",
      "Condition": {}
    },
    {
      "Effect": "Allow",
      "Action": "s3:ListAllMyBuckets",
      "Resource": "*",
      "Condition": {}
    }
  ]
}

但是这个没有:

{
  "Statement": [
    {
      "Effect": "Allow",
      "NotAction": [
        "s3:CreateBucket",
        "s3:DeleteBucket"
      ],
      "Resource": "arn:aws:s3:::thechurchtwo.com",
      "Condition": {}
    },
    {
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": "arn:aws:s3:::thechurchtwo.com/*",
      "Condition": {}
    },
    {
      "Effect": "Allow",
      "Action": "s3:ListAllMyBuckets",
      "Resource": "*",
      "Condition": {}
    }
  ]
}

普莱斯投掷

错误:在“https://s3.eu-west-2.amazonaws.com/churchtwo”上执行“CreateBucket”时出错;AWS HTTP 错误:客户端错误:PUT https://s3.eu-west-2.amazonaws.com/churchtwo导致403 Forbidden响应:

AccessDeniedAccess DeniedXXXXXX (截断...) AccessDenied (client): Access Denied - AccessDeniedAccess DeniedXXXXXXXXXXXXXX

我已经让它工作了几次,但似乎很幸运。S3 是否有什么东西会在超时时阻止连接,或者我的配置有误。

任何想法的帮助都会很棒!

4

0 回答 0