Bunny CDN
Learn how to configure Bunny CDN for use with Filebase.

What is Bunny CDN?

BunnyCDN is a Content Delivery Network provider.
A Content Delivery Network is a network of servers across a diverse selection of geographic locations that help improve the speed and quality of content delivery. CDNs allow for quick transfers of content types such as HTML web pages, images, videos, spreadsheets, and JavaScript applications. CDNs can also help mitigate and protect websites against Distributed Denial of Service attacks (DDoS).
Learn how to connect your Filebase bucket to BunnyCDN to increase file delivery speeds to and from your bucket.

Prerequisites:

  • Have a BunnyCDN account. You can create one here.
  • Sign up for a free Filebase account.
  • Have your Filebase Access and Secret Keys. Learn how to view your access keys here.
  • Create a Filebase Bucket. Learn how to create a bucket here.
  • Your Filebase bucket must be public. Learn how to make your bucket public here.

1. Once you have made your Filebase bucket public, you will need the public URL of the bucket.

The URL format is as follows, where bucket-name is the name of your bucket:
https://bucket-name.s3.filebase.com

2. Log in to your BunnyCDN account.

From the Dashboard, select ‘Add Pull Zone’ from the Welcome screen, or select ‘Pull Zones’ on the left side menu.

3. From the Manage Pull Zones screen, select ‘Add Pull Zone’ on the left.

4. Under ‘Name’, provide a name for your Pull Zone.

This will also be the hostname for your zone.

5. Under ‘Origin URL’, paste the public URL for your bucket from Step 1.

6. Select either ‘Standard Tier’ or ‘High Volume Tier’ based on your desired workflow, then select the pricing zones you’d like your data to be served from.

Click ‘Add Pull Zone’ when finished.

7. BunnyCDN will pull and cache the files located in your Filebase bucket and deliver them to your CDN hostname.

8. To test this configuration, copy your BunnYCDN hostname and append a filename for one of the files located in your bucket.

For example:
https://myfilebasebucket.b-cdn.net/0539.jpg
This URL should return the file.

9. BunnyCDN also supports adding S3 authentication to the security options for the pull zone.

To configure this, start by clicking on the pull zone.

10. Select ‘Security’ on the left menu under the pull zone name.

11. Select ‘S3 Authentication’, select the toggle button for ‘Enable AWS S3 Authentication’.

Configure the AWS S3 Authentication with the following:
AWS Key: Filebase Access Key
AWS Secret: Filebase Secret Key
AWS Region Name: us-east-1

12. Click ‘Save AWS Configuration’ to save this authentication information.

If you have any questions, please join our Discord server, or send us an email at [email protected]
Copy link
On this page
What is Bunny CDN?
1. Once you have made your Filebase bucket public, you will need the public URL of the bucket.
2. Log in to your BunnyCDN account.
3. From the Manage Pull Zones screen, select ‘Add Pull Zone’ on the left.
4. Under ‘Name’, provide a name for your Pull Zone.
5. Under ‘Origin URL’, paste the public URL for your bucket from Step 1.
6. Select either ‘Standard Tier’ or ‘High Volume Tier’ based on your desired workflow, then select the pricing zones you’d like your data to be served from.
7. BunnyCDN will pull and cache the files located in your Filebase bucket and deliver them to your CDN hostname.
8. To test this configuration, copy your BunnYCDN hostname and append a filename for one of the files located in your bucket.
9. BunnyCDN also supports adding S3 authentication to the security options for the pull zone.
10. Select ‘Security’ on the left menu under the pull zone name.
11. Select ‘S3 Authentication’, select the toggle button for ‘Enable AWS S3 Authentication’.
12. Click ‘Save AWS Configuration’ to save this authentication information.