Score:0

AWS S3 IllegalLocationConstraintException Wordpress Updraft Backup

it flag

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

Tim avatar
gp flag
Tim
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.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.