How to speed up Wasabi file delivery with BunnyCDN

BunnyCDN provides a fast and affordable way to to speed up file delivery from your Wasabi buckets. This guide will show you how to do this, in 3 easy steps.

1. Configure your Wasabi Bucket and upload some files

If you already have a Wasabi Bucket setup, and some data in it, you can skip this step. If you need a guide on how to do this, Wasabi have a tutorial video here.

2. Create a BunnyCDN Pull Zone

Now you've got Wasabi set up, and loaded some data into your Bucket, we can set up our Pull Zone and configure it to pull from your Bucket.

Our next step is to get our Wasabi URL for our bucket. The easiest thing to do is to navigate to: https://s3.wasabisys.com/BUCKETNAME/filepath. You'll then be redirected off to the region that hosts your Bucket. Once you're directed (your URL will look something like http://s3.us-west-1.wasabisys.com/bunnycdn/bunnycdn.png. In order to generate the URL you can use for the origin, all you need to do is take off the end path, and just leave the Bucket name (http://s3.us-west-1.wasabisys.com/bunnycdn/ in my case).

Once you have worked out your Wasabi Bucket name, you can now proceed to configure the Pull Zone.

Sign into BunnyCDN and create a new pull zone. On the Add Pull Zone page, create a name for your zone (this will also be the hostname for your zone), and then paste the URL from the step above into the Origin URL field, like the example below:

Once you have done that, select the pricing tier you want to use, and then press the Add Pull Zone button which will create the pull zone with your new Wasabi Bucket.

3. Test your new Pull Zone

Everything is now set up. BunnyCDN will automatically serve and cache files from your Wasabi Bucket, and deliver them from your newly created hostname. Once your new pull zone has finished syncing around the world, you can test if BunnyCDN is correctly configured with your new Wasabi Bucket. 

Once you've uploaded a file to your Bucket, you will be able to append the file name to the end of the BunnyCDN Pull Zone hostname you set up earlier. For example, I have a file called "bunnycdn.png" on my Container, so my URL would be:

http://wasabitest.b-cdn.net/bunnycdn.png

If everything was correctly set up, you should now see your uploaded file accelerated by BunnyCDN. In your application, you can now simply replace your URLs with the new CDN URL to enjoy much faster file delivery speeds.

 

Table of Contents

Was this article helpful?
12 out of 14 found this helpful