backblaze.com Storage
A new very cheap s3 compatible storage, does anyone have information on how we could use it?
https://www.backblaze.com/apidocs/introduction-to-the-s3-compatible-api
I created a Bucket but I couldn't upload any image, maybe I missed something in the settings, do we have to change something in the code to set an alternative storge or only in the settings?
-
-
·
LeonidS
- ·
Hello @Romulus !
If they use the S3 type of storage you need to use the same variant as the Default storage engine. And then track with their support all meeting problems.
-
·
LeonidS
-
- · Romulus
-
·
In reply to LeonidS
- ·
this is the Endpoint: s3.us-east-005.backblazeb2.com
so how should we set it in settings? backblazeb2.com, s3.backblazeb2.com or s3.us-east-005.backblazeb2.com ?
-
- · Wise
- ·
Backblaze has been supported by UNA since 14 beta. It has its own configuration in studio (s3 backblaze).
Your bucket must be set to public.
You must change configuration to s3 backblaze. You must manually move all files in /storage (use the s3 command line tool).
Then you must go back to the database and manually set all the ones that still read local to the s3 backblaze config. Because UNA does not copy files automatically, and will not change storage engines with files in the directories.
If you set everything, it will work.
Any setting but the s3 backblaze under storage will fail.
-
- · Wise
- ·
You use the complete URL. in your case, s3.us-east-005.backblazeb2.com
-
- · Romulus
-
·
In reply to Wise
- ·
Thank you for the answer
-
- · Romulus
-
·
In reply to Wise
- ·
Do you know what the correct settings should be for it to work? I tried several options but none of them work, there are many possible combinations
Storage. Default storage engine (other than Local may require custom/additional setup)
Value available: what is the solution supported by UNA? No matter which of these settings I selected, all photos are upload locally.
- S3
- S3v4
- S3v4alt
AWS access key already setup
AWS secret key already setup
AWS bucket : our buchet id already setup
AWS custom domain (require custom DNS setup)
Endpoint (specify if other than Amazon, such as storage.googleapis.com, s3.wasabisys.com)
- s3.us-east-005.backblazeb2.com
Signature version (only S3v4alt storage supports both v2 and v4)
- v4
Region (for signature v4 only)
- s3.us-east-005
Authenticate using Amazon IAM Role (S3v4alt storage only)
- this setting is required ? I selected them but nothing happens, all the photos are uploaded to the local server
Enable ACLs (S3v4alt storage only)
- this setting is required ? I selected them but nothing happens, all the photos are uploaded to the local server
Force authenticated URLs for specific storages
-
- · Romulus
-
·
In reply to Wise
- ·
Do we need to make any changes in nginx config?
-
- · Wise
- ·
You should have s3 backblaze option. It is necessary for backblaze to work.
-
- · Wise
- ·
S3v4Backblaze. UNA 14 RC 1
-
- · Wise
-
·
In reply to Romulus
- ·
No. I have been using it for almost a year. It had issues, but Alex fixed it and created the BackBlaze option. It works perfectly "out of the box".
-
- · Wise
- ·
Also, you must manually move files, and manually set database for storage engine. UNA will NOT switch from Local if a file exists.
You must move them. Then goto storage database and change the engine manually.
-
- · Romulus
-
·
In reply to Wise
- ·
S3v4Backblaze. UNA 14 RC 1 This option does not exist i have onlly s3,s3v4 and s3v4alt I will look for the code for this version, I don't know why I don't have it
-
- · Romulus
-
·
In reply to Wise
- ·
Were i can find the code? I only have this options
-
-
·
Alex T⚜️
- ·
Please refer to this comment for the source code and instructions:
https://unacms.com/cmts-view/y1sgg3?sys=bx_forum&cmt_id=48434
-
·
Alex T⚜️
-
- · Romulus
-
·
In reply to Alex T⚜️
- ·
Authenticate using Amazon IAM Role (S3v4alt storage only)
Enable ACLs (S3v4alt storage only)
Are these two options necessary or not?
-
- · Wise
- ·
No
-
-
·
Alex T⚜️
-
·
In reply to Romulus
- ·
They aren't necessary, it's better to keep them in default state.
-
·
Alex T⚜️
-
- · PetsNexxt
-
·
In reply to Romulus
- ·
Have you been able to figure out why this option isn't available to you? I don't have this option either.
-
You can download it from here: https://unacms.com/cmts-view/y1sgg3?sys=bx_forum&cmt_id=48434. I’m not sure why this isn't already part of the core, as a website can’t effectively scale without a CDN. For any website, especially a social network, this is an essential component.