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:

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 hello@filebase.com

Last updated