-
Notifications
You must be signed in to change notification settings - Fork 21
Chore: Replace AWS S3 with Backblaze B2 #98
Copy link
Copy link
Open
Labels
T1dTime Estimate 1 DayTime Estimate 1 Daychorea tedious but necessary task often paying technical debta tedious but necessary task often paying technical debthelp wantedIf you can help make progress with this issue, please comment!If you can help make progress with this issue, please comment!priority-2Second highest priority, should be worked on as soon as the Priority-1 issues are finishedSecond highest priority, should be worked on as soon as the Priority-1 issues are finishedtech-debtA feature/requirement implemented in a sub-optimal way & must be re-writtenA feature/requirement implemented in a sub-optimal way & must be re-writtentechnicalA technical issue that requires understanding of the code, infrastructure or dependenciesA technical issue that requires understanding of the code, infrastructure or dependencies
Description
Activity
Metadata
Metadata
Assignees
Labels
T1dTime Estimate 1 DayTime Estimate 1 Daychorea tedious but necessary task often paying technical debta tedious but necessary task often paying technical debthelp wantedIf you can help make progress with this issue, please comment!If you can help make progress with this issue, please comment!priority-2Second highest priority, should be worked on as soon as the Priority-1 issues are finishedSecond highest priority, should be worked on as soon as the Priority-1 issues are finishedtech-debtA feature/requirement implemented in a sub-optimal way & must be re-writtenA feature/requirement implemented in a sub-optimal way & must be re-writtentechnicalA technical issue that requires understanding of the code, infrastructure or dependenciesA technical issue that requires understanding of the code, infrastructure or dependencies
Type
Projects
- StatusShow more project fields🔖 Ready for Development
As noted in #91 and previously in dwyl/technology-stack#63

AWS S3,whilereasonably straightforward to use, is significantly more expensive thanBackblaze B2:https://www.backblaze.com/b2/cloud-storage-pricing.html
For an image service where we expect the
downloadsto exceedstorageGBsby10:1meaning a 1mb image will be viewed 10 times, the most important cost is the downloads.
We already use

Cloudflarefor ourDNSandDDoS protectionso we are familiar with the interface.But we haven't yet used their
CDNservice ... it appears to be included with no extra monthly bandwidth cost ...https://www.cloudflare.com/en-gb/plans/
I cannot understand how there is - or at least appears to be - no incremental cost

for bandwidth/downloads through
Cloudflare CDN:https://www.cdnplanet.com/compare/cloudfront/cloudflare/
Todo
Backblaze B2REST API:NewRepo to capture theSPIKE(tutorial) of uploading toB2:https://github.com/dwyl/backblaze-b2-tutorial if that goes well we can proceed further. 🤞
B2including:B2 APIDocs and figure out how to upload usingHTTPoisoncode) 💭B2APIis reasonably straightforward we can create apackageto abstract everything and use it inimgup.