Welcome to the Backblaze guide for Bunny.net setup and Installation.
This document will show you step by step, how to configure Bunny.net with Backblaze B2 Cloud Storage.
Bunny.net is a secure simple CDN that delivers fast content delivery, file replication, and optimization at lightning speeds globally. With Backblaze B2 and Bunny.net, we seamlessly allow you to share content without the worries of scalable performance tiers or limitations.
- Bunny.net Active account
- Backblaze B2 Bucket (public bucket or private bucket)
- Created App Key (used for Private Bucket origin only)
- Add files to that bucket to be able to get a S3 URL
If you need help with uploading files to Backblaze B2, please see our guide here.
Setup Guide for Public Bucket
After prerequisites, you are now ready to configure Bunny to point to your Backblaze B2 Cloud Storage and configure your BunnyCDN Pull Zone.
1) Click on Browse Files
2) Click next to any filename
3) Copy S3 URL and remove the path, leaving just the protocol and hostname, e.g. https://bunnypublictest.s3.us-west-002.backblazeb2.com/
4) After the URL is acquired, please follow the steps below to create a public drop zone using the URL from step 3:
Setup Guide for Private Bucket
All above steps are identical except you need an Application Key from Backblaze to set credentials in Bunny.net when a private bucket is created. Once you have all credentials you are now ready to configure Bunny to point to your Backblaze B2 Cloud Storage and configure your BunnyCDN Pull Zone.
Additional steps need to be configured under that new pull zone after acquiring “App Keys” from Backblaze to connect to your private bucket.
1) Click on Pull Zone
2) Click on Security
3) Click on S3 Authentication
4) Click to Enable AWS S3 Authentication
5) Add your Application Keys as follows
- Access Key is your Backblaze “KeyID"
- Secret Key is Backblaze “ApplicationKey”
6) The region name is located within the endpoint name of your bucket that was created.
*** “us-west-002” is the region name you would enter in this step ***
7) Click Save
Note: By default, Bunny.net passes a GET request to the root of the pull zone onto Backblaze B2 as an authenticated S3 API request. Backblaze B2 responds with a listing of up to 1,000 objects in the bucket, which Bunny.net returns to the caller. We strongly recommend that you disable this behavior. To do so, please go to settings and under security in the general tab enable Block Root Path Access. With this setting enabled, Bunny.net will respond to GET requests for the root of the pull zone with a 403 Forbidden error.
Articles in this section
- Object Lock FAQs
- Delivering Private Backblaze B2 Content Through Cloudflare CDN
- Bunny Integration Quick Start Guide
- Guide for using Fastly Compute @ Edge with Backblaze B2
- SSE Command Line and API Examples
- Does the B2 S3 Compatible API support Pre-Signed URLs?
- How to use Fastly CDN with B2
- Using the AWS SDK for Java (v2) with B2
- How to use the AWS SDK for Python with B2.
- Using the AWS SDK for PHP with Backblaze B2 Cloud Storage