
If you have questions, problems or found an error contact me. Thats it you site should now be reachable. The destination is the previously configured Worker. Pay at Backblaze is significantly lower than some of its highest paying competitors, like Cloudflare. As route you define your just created hostname eg /*. The average employee at Backblaze makes 111,822 per year. To create a worker route, on the domain start page you need to go to Workers and build you Worker Route. The last step is to create a DNS entry with proxy enabled and route your domain to the Worker. To do so you can reach the final site on. Before finally routing our domain on the Worker you should test it. I emailed Backblaze just to make sure if they will not restrict my cloudflare account if i use a lot of trafic trough their cdn.
#Backblaze cloudflare free
Now you can give the worker a name and deploy the thing. Backblaze charges you 0.005 per GB and free output if i use cloudflare to retrive my data.

But you definitely need to change the baseURL variable to the previously copied Friendly-URL. Just copy the script into the Worker editor and if applicable change it to your needs. The following script is used to forward pathnames to the corresponding index.html: I want to inter-connect Firestore, Backblaze B2 and Cloudflare CDN. My question is how do I interconnect all of this I havent built the functionality to post yet but user object is already created. To create a Worker on the startpage after the login you click on Workers and then Create Worker. I want to use Backblaze B2 to store the content (image/video) posted by the user and Cloudflare as a CDN. I assume that a domain has already been setup at Cloudflare. The configuration of the Backblaze bucket is now done and you can continue with the configuration of the Cloudflare Workers. We need this information to load data from Backblaze with the Cloudflare Workers.
#Backblaze cloudflare full
You need to copy there the Friendly URL without the full path and filename eg. When your data has been successfully uploaded to Backblaze you should be able to use th ion any file and get the details of that file. You can do this either over the webinterface or you use the Command-Line Tool The next step is to upload your website-data. Setup Backblazeīut now to the actual instructions: First of all you need to create at Backblaze a public bucket: Create Backblaze B2 Bucket They can change http requests for example to load an index.html if a path is given. To deal with these issues the Cloudflare WorkersĬome into the game. Another smaler thing is that there is no fancy site for 404 errors. If a sitepath is given B2 is not automatically searching for index files and therefore does not search for an index.html. Unfortunately with Backblaze B2 it is not as easy as it is with AWS S3 to host a static page. So I thought why not host a static page there, similar to what is possible this AWS S3.
#Backblaze cloudflare how to
, explaining how to create a CDN with a public bucket at Backblaze B2 and a domain at Cloudflare. To create something like this, there is a help article in the Backblaze help section Only with these two tools you can create a CDN for free. If you are using Backblaze and Cloudflare together it is even cheaper, because you are saving the 0.01 USD transfer cost. For only 0.005 USD per GB Storage and 0.01 USD per GB transfer per month it is much cheaper than other S3 services. 600TB of data from Amazon S3 and Glacier into Backblaze B2 Cloud Storage. Only if you use more than that it costs you something, but remains within a manageable range. With Advanced Caches Unlimited Application Installation Cloudflare Add-on. If you stay below 100k reguests per 24h and don’t use more than 10GB storage your website would even be free.

They're quite strict about differentiating free accounts from paid accounts.These days to host static website you do not need a webspace or vps. If you want to serve videos via Cloudflare, you really do need a paid account. Cloudflare claims to provide services for over 25 million internet properties, with points of presence. Even if you set the Content-Type: text/css for your video files (which will break any video player that determines the protocol based on content type), Cloudflare do see all the traffic and they'll notice that you're serving huge "CSS" files that are actually videos. Backblaze currently stores over an exabyte of data. File extensions don't actually mean anything on the internet content type is entirely determined by the MIME headers. This is still going to get you suspended with a free account. For a limited time, Backblaze is offering Cloudflare customers who transfer at least 10 TB of data from Amazon S3 to Backblaze FREE migration and 0 data transfer fees. Said: and change video segment extension to. Save on Cloud Storage with Cloudflare and Backblaze Switch from Amazon S3 to Backblaze and pay 0 migration fees and enjoy 0 egress charges.
