• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question S3 backup - change S3 zone to eu-west

briveira

New Pleskian
Trying to use Backup to AWS S3.
How can I force to use an existing bucket in eu-west zone instead of it trying to create a new one in us-west (oregon)?

Thanks!
 
Create a S3 bucket in the eu-west zone manually in your AWS account. Use that bucket name in backup configuration like so:
Schermafbeelding 2021-12-23 om 11.37.46.png
 
But it does not work. It always tries to execute the "CreateBucket".
If it does exist, plesk shows an error:

Error: Error executing "CreateBucket" on "https://XXXXX.s3.eu-west-1.amazonaws.com/"; AWS HTTP error: Client error: `PUT https://XXXXX.s3.eu-west-1.amazonaws.com/` resulted in a `409 Conflict` response:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>BucketAlreadyOwnedByYou</Code><Message>Your previous request to crea (truncated...)
BucketAlreadyOwnedByYou (client): Your previous request to create the named bucket succeeded and you already own it. -
...
 
and if I delete the bucket, and allow Plesk to "CreateBucket" then it will create it in us-west-2 again
of course, AWS S3 is a global service, but GDPR practically forces us to create backups in EU
 
also, it detects the bucket exists, as if you try to put an incorrect path it will say it does not exist. But it tries to create the bucket everytime, so AWS just answers "BucketAlreadyOwnedByYou".
1640615830487.png
 
You're right. I've done some testing just now and seems that when you use the option "I will use the root account credentials (will not be stored)" Plesk will always try to create a bucket.

However when you use "I have created a restricted IAM user account" (and setup a IAM user in AWS for your bucket) you should be able use a bucket in any other S3 zone. At least thats how it works for me.
 
well, somehow I managed to apply changes and it has started using it :-?
a combination of error - retry, delete path, recreate bucket... Not sure why :(

I think it should be reviewed by the developers
 
Back
Top