Chore: Replace AWS S3
with Backblaze B2
#98
Labels
chore
a tedious but necessary task often paying technical debt
help wanted
If you can help make progress with this issue, please comment!
priority-2
Second highest priority, should be worked on as soon as the Priority-1 issues are finished
T1d
Time Estimate 1 Day
tech-debt
A feature/requirement implemented in a sub-optimal way & must be re-written
technical
A technical issue that requires understanding of the code, infrastructure or dependencies
As noted in #91 and previously in dwyl/technology-stack#63
AWS S3
,while
reasonably 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
downloads
to exceedstorage
GBs
by10:1
meaning a 1mb image will be viewed 10 times, the most important cost is the downloads.
We already use
Cloudflare
for ourDNS
andDDoS protection
so we are familiar with the interface.But we haven't yet used their
CDN
service ... 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 B2
REST API
:New
Repo to capture theSPIKE
(tutorial) of uploading toB2
:https://github.com/dwyl/backblaze-b2-tutorial if that goes well we can proceed further. 🤞
B2
including:B2 API
Docs and figure out how to upload usingHTTPoison
code
) 💭B2
API
is reasonably straightforward we can create apackage
to abstract everything and use it inimgup
.The text was updated successfully, but these errors were encountered: