0

I have successfully connected with S3 and updraft backup but I got a problem.

S3 settings test result: Failure: Region: ap-southeast-3: We successfully accessed the bucket, but the attempt to create a file in it failed. Please check your access credentials. (UpdraftPlus_S3::putObject(): [IllegalLocationConstraintException] The ap-southeast-3 location constraint is incompatible for the region specific endpoint this request was sent to.)

Here is my policy JSON

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "s3:GetBucketLocation",
                "s3:ListAllMyBuckets"
            ],
            "Resource": "arn:aws:s3:::*"
        },
        {
            "Effect": "Allow",
            "Action": "s3:*",
            "Resource": [
                "arn:aws:s3:::XXX",
                "arn:aws:s3:::XXX/*"
            ]
        }
    ]
}

since I'm new use S3, please someone tell me what I missed here. Thank you

Yohanim
  • 157
  • 1
  • 3
  • 10
  • ap-southeast-3 / Jakarta is an optional region, it has to be enabled in the AWS console. There's a few other things it could be. Access / secret key, bucket policy, IAM policy, Service Control Policies, something about the client side configuration. AWS is fairly complex, you might consider using BackBlaze B2 which advertises S3 compatibility, but is simpler and cheaper. – Tim Oct 25 '22 at 18:02

0 Answers0