Forum archive
tklbam cannot backup to s3
TKLBAM backups to S3 are simply not working for me. I would appreciate some guidance.
Here's what happens when I try the backup to S3:
Uploading s3://s3.amazonaws.com/tklbam-ezpl7752hiwwe27a/duplicity-full.20160126T191540Z.vol1.difftar.gpg to STANDARD Storage Upload 's3://s3.amazonaws.com/tklbam-ezpl7752hiwwe27a/duplicity-full.20160126T191540Z.vol1.difftar.gpg' failed (attempt #1, reason: error: [Errno 104] Connection reset by peer)
... over and over until it gives up. It does not appear to have even created the tklbam bucket.
What I've done:
I have a local install of a TKL image on a VM. Works great.
I have an AWS account and I believe I've set up the role/property stuff up properly. I've initialized TKLBAM with the API key. I even attached the AmazonS3FullAccess policy to the turnkeyhub role and it still failed:
Failed to create bucket (attempt #1) 'tklbam-ezpl7752hiwwe27a' failed (reason: error: [Errno 104] Connection reset by peer) ...
I installed s3cmd on the machine in question as was able to create buckets and poke around from the command line, so I know that the machine can theoretcially access S3. There's not a firewall in the way or something.
I'm able to use TKLBAM to backup to local storage.
Also it might be worth testing from the commandline inside your appliance. I.e. install awscli. Official AWS-cli install docs Arguably easier instructions.