Big_Cake

晓雨杂记

也许我们会分别,但我们将永远不会忘记彼此
bilibili
github
twitter
zhihu
telegram
tg_channel

Freeloader's Benefit - Backblaze B2 Free 10GB Object Storage

Introduction#

Actually, I only heard about Backblaze earlier this year when I was frantically searching for freeloading object storage online.

Then I came across Backblaze B2, which offers free 10GB object storage + 1GB free daily download traffic.

It seems pretty awesome, what do you think? (

Overview#

Backblaze is a relatively well-established cloud storage provider founded in 2007. It is committed to providing users with affordable storage services.

You may have seen some of its reports, which provide detailed information about disk reliability, cumulative disk reliability, reliable disk manufacturers, and other messages related to mechanical hard drives.

But today, our topic is not about disk reliability blabla. We want to get our hands on its 10GB free storage.

Starting from this article, we will use Backblaze B2 + Cloudflare as the image hosting service. Please leave a comment in the comment section about the image loading speed.

Steps#

Register an Account#

Registration Link

Then enter your email and password, click on "Region" below to select the region where the storage service is located. You can choose either US West or EU Central.

I chose US West when I registered, which is the western United States. You can test which region has faster speed.

Register

Log in to your account, and we will be taken to the backend.

Create a Bucket#

Click on "Create a new bucket" to create a bucket with any name. I will use my blog's bucket for demonstration purposes.

Create a Bucket

After creating the bucket, click on "Bucket Settings" to configure the bucket.

Next, fill in {"cache-control":"max-age=31536000"} in Bucket Info to set the cache duration, preparing for setting up Cloudflare.

Bucket Info

Save the settings, click on the "Upload/Download" button, and you will be taken to the file management page.

Upload your files, click on the adjacent information button, and you will see the detailed information of the file.

Detailed Information

Connect to Cloudflare#

Cloudflare has a partnership with Backblaze, and using Cloudflare to connect to Backblaze B2 can eliminate traffic costs.

Take note of the Friendly URL's root domain, for example, mine is f004.backblazeb2.com.

Let's open the Cloudflare dashboard, log in to your account, and select the domain.

Choose CNAME as the record type, fill in a name you like for the name, and enter the root domain as the target. Enable the orange cloud.

Add DNS Record

After saving, open "Page Rules" and add a rule as shown in the image below:

Page Rules

After saving, everything is done!

Next, replace the root domain in the Friendly URL with your own Cloudflare-connected domain. Give it a try!

Showcase#

The following images and videos are loaded using Cloudflare + Backblaze B2, with the video resolution set to 720P.

Example Image

I strongly demand Mr. Plus to pay up here (haze

We can see that with the support of Cloudflare, the speed of Backblaze external links is still quite fast.

Using Microsoft Edge DevTools to inspect the elements, we found that both have hit the cache:

Cache

That's it, our setup is complete! Let's start experiencing it!

If you have ImgURL Pro, you can use Backblaze B2 as a shortcut for uploading images.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.