Introduction
Welcome to the Backblaze guide for Bunny.net setup and Installation.
This document will show you step by step on 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. The following guide will take you step by step on how to set up Bunny.net.
Prerequisites
- Bunny.net Active account
- Backblaze B2 Bucket (public bucket or private bucket)
https://help.backblaze.com/hc/en-us/articles/1260803542610-Creating-a-B2-Bucket-using-the-Web-UI - Created App Key (used for Private Bucket origin only)
https://help.backblaze.com/hc/en-us/articles/360052129034-Creating-and-Managing-Application-Keys - Add files to that bucket to be able to get a friendly URL
If you need help with uploading files to Backblaze B2, please see our guide here.
Guide
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.
Please follow the steps below to acquire a friendly URL to configure the public bucket drop zone:
1) Click on Browse Files
2) Click next to any filename
3) Copy Friendly URL
4) After the URL is acquired, please follow the steps below to create a public drop zone:
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.
Follow the steps above to create a Pull Zone with a private bucket.
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.
ex: s3.us-west-002.backblazeb2.com
*** “us-west-002” is the region name you would enter in this step ***
7) Click Save
Articles in this section
- Object Lock FAQs
- 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?
- Using CORS in private buckets
- How does the startFileName parameter work on the b2_list file_names API?
- Does B2 require a SHA-1 hash to be provided with an upload?