Backblaze B2 might not be as well known as other services like Amazon S3 or Google Cloud Storage, but its features in comparison with its pricing make it an outstanding choice. In fact, I haven’t been able to find a Provider with lower prices for storing “Frequently Used” data. I tell you, Backblaze B2 is one of the best providers out there.

Disclaimer: Prices and features change all the time. Please let me know if there are any mistakes :)

Pros

Unbeatable price . 0,005 USD per GB/month for any data. That’s it; there’re no different storage classes

. 0,005 USD per GB/month for any data. That’s it; there’re no different storage classes The first 1 GB of downloads per day is free . Afterwards, it’s 0,01 USD per GB

. Afterwards, it’s 0,01 USD per GB Every file you upload is going to be available to download instantly . That simplifies significantly what other providers offer (e.g., “extra costs” or “retrieval time”)

. That simplifies significantly what other providers offer (e.g., “extra costs” or “retrieval time”) High durability. Backblaze B2 provides 99.999999% (8 9’s) of durability of objects over a given year. It takes advantage of the Backblaze Vaults architecture to spread the data evenly in 20 different Storage Pods.

Backblaze B2 provides 99.999999% (8 9’s) of durability of objects over a given year. It takes advantage of the Backblaze Vaults architecture to spread the data evenly in 20 different Storage Pods. They provide a command-line tool (b2) for uploading/downloading data from the terminal

for uploading/downloading data from the terminal If you ever need to restore your files locally, Backblaze offer the possibility to receive by mail an external disk with all your data (extra costs might occur)

(extra costs might occur) As part of the Free layer, users receive for free 10GB, forever

Cons

It doesn’t have extensive documentation . They have an API Reference, but it’s a bit lacking in comparison with Amazon S3 or Google Cloud Storage

. They have an API Reference, but it’s a bit lacking in comparison with Amazon S3 or Google Cloud Storage I miss SDKs for different programming languages . For the implementation below I had to make manual requests, which it’s not ideal

. For the implementation below I had to make manual requests, which it’s not ideal As of today, Backblaze only has two data centers in North America, although they have plans to build more

Nice, but why should I use it over the competition?

If you are a user who just wants to store backups in the cloud, due to the cost and simplified pricing, Backblaze B2 is one of the best options out there along with Wasabi

due to the cost and simplified pricing, Backblaze B2 is one of the best options out there along with Wasabi If you are a developer or a company that only wants to store data in the Cloud, Backblaze B2 gives you precisely that. No need to set up extra services or add complicated users permissions

How to use it with Javascript

How to install the libraries that you will need

npm install axios

2. How to Authenticate

3. How to create a Bucket

4. How to delete a Bucket

5. How to upload a File

6. How to download a File

7. How to delete a File

8. How to list all files in a Bucket