Using DigitalOcean Spaces or Amazon S3 for file storage

Using DigitalOcean Spaces or Amazon S3 for file storage

No permission to download
Tell me, if the objects in the bucket have the encryption algorithm AES-256 (aws:kms), with this configuration as in the example, will they be displayed on the forum? Because if you enter open a file with the encryption algorithm AES-256 (aws:kms), the browser will give the answer that access is denied. Or is there something else that needs to be added to the configuration?
 
Last edited:
Does anyone have a working backblaze config they can share? I've got the data working but cannot get internal_data to work.

Also, I've got 2 buckets set up - one for internal_data and one for data but the key won't let me select multiple buckets. It seems like it's either one or all buckets which is a bit of a concern especially if I've got other buckets that are not relevant.

Am I missing something here? I've used cloudflare before and the permissions were far more granular. I guess that's one of the reasons for difference in cost?
 
I have a DigitalOcean issue that just came up.

I just upgraded to XF 2.3.7 with Php 8.4.13, and I also had a server migration at the same time.

I removed the XF Addon for DigitalOcean, and the config.php is still the same as it was before the upgrades and migration.

I thought everything was going great. With the forum closed everything worked great for me.

As soon as I opened the forum and added a load, my S3 connection went away and all my images were broken, when I closed the forum, things returned to normal.

The error in my logs shows:
Aws\S3\Exception\S3Exception: Error executing "ListObjectsV2"

Further on it shows: AWS HTTP error: cURL error 7: Failed to connect

Any ideas?
 
I have a truly dumb question. I currently use Bunny CDN. Obviously, my own server is the origin server fro all CDN served files so the origin server disk space is filling up with mostly images. If I enable Digital Ocean Spaces should I disable Bunny CDN and just use DO for everything or can I still serve my filkes through Bunny AND store them in DO? Does this make sense ?
 
I have a truly dumb question. I currently use Bunny CDN. Obviously, my own server is the origin server fro all CDN served files so the origin server disk space is filling up with mostly images. If I enable Digital Ocean Spaces should I disable Bunny CDN and just use DO for everything or can I still serve my filkes through Bunny AND store them in DO? Does this make sense ?

Yes, keep using Bunny.

DO is just sending your server the attachment files for it to spit back out, as if it was actually hosting the files itself. Bunny is caching those files on its edge servers for your end users, acting as an actual CDN, and hopefully preventing your server from needing to do any processing at all.
 
Back
Top Bottom