Bunny Integration Quick Start Guide Bunny Integration Quick Start Guide

Bunny Integration Quick Start Guide

Daniel Pinheiro Daniel Pinheiro

 

Introduction

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.

 

Prerequisites

 

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.  

 

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/

 

image-2.jpeg

 

 

4) After the URL is acquired, please follow the steps below to create a public drop zone using the URL from step 3:

https://support.bunny.net/hc/en-us/articles/360018649972-How-to-speed-up-your-BackBlaze-B2-file-delivery-with-BunnyCDN

 

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.

  ex:  s3.us-west-002.backblazeb2.com

    ***  “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.