Having issues adding an AWS S3 endpoint/datastore

trilljester

Active Member
Oct 9, 2018
18
1
43
51
Hi all,

I'll preface this by saying that my PBS is behind a firewall with a proxy server, and I -think- that may be causing me grief, but I can't seem to get a bucket list for my AWS S3 instance, and choose the bucket I set up for this test.

Here's my s3.cfg:

Code:
s3-endpoint: s3-testing-backups
    access-key <redacted>
    endpoint {{bucket}}.s3.us-west-2.amazonaws.com
    region us-west-2
    secret-key <redacted>

I created a bucket named testbucket-pbs-1 on AWS.

When I run a simple CLI test I get the following:


Code:
proxmox-backup-manager s3 check s3-testing-backups testbucket-pbs-1
Error: head object failed

Caused by:
    0: client error (Connect)
    1: error connecting to https://testbucket-pbs-1.s3.us-west-2.amazonaws.com/ - tcp connect error: Connection refused (os error 111)

I've read on other threads to change the endpoint to just be s3.us-west-2.amazonaws.com instead of having the bucket name in there as the URL endpoint, but that failed as well.

I'm guessing our outbound proxy information needs to be set somewhere, how do I do this via the PBS GUI or CLI?

Thanks for any assistance!