Try for free

Setting Up Bunny CDN

Setting up Bunny CDN for use with Media Cloud is probably the easiest of all the cloud storage providers we support.

Note: Bunny CDN doesn't support ACLs which makes URL signing for specific files impossible.  Therefore if you are hoping to use Bunny with WooCommerce for digital downloads, or EDD or some other digital download plugin - it's not recommended to use Bunny for that purpose.  For every other kind of site, though, Bunny is our own #1 choice.

Step 1.  Create a Storage Zone

Get started by logging into the Bunny CDN dashboard.  If you don't have an account with Bunny CDN, you can create one here.

Once in the dashboard, it should look something like this:

Step 1  - Bunny CDN Dashboard

Click on the Storage link on the left hand side (#1) and then click on Add Storage Zone (#2).  When you click on that you'll be presented with this screen:

Step 2  - Create Storage Zone

In the Storage Zone Name field supply a name for your zone.  You can use alphanumeric characters, dashes and underscores but no spaces.

Down a little further click on the Main Storage Region.  This region should be closest to wherever your WordPress server is.

Next, you'll need to select one or more regions to replicate your data to.  This step is optional but highly recommended.

Finally, scroll to the bottom of the page and click on the big orange Add Storage Zone button.

Step 2. Get Your API Key

After you've clicked that button, you'll be taken to your newly created storage zone's details page.

Step 2 - Get API Key

To get our API key, click on the FTP & API Access link.  Towards the bottom of that screen you'll see a section marked Password.  Click on the copy icon next to the first entry marked Password.  This is your API key.   Store it somewhere safe until we set up Media Cloud further down the tutorial.

After you've saved your API key, we're going to need to create a pull zone.  This is the CDN part of Bunny CDN.  Click on the black Connect Pull Zone button in the upper right to move onto the next step.

Step 3. Add a Pull Zone

When you click the Connect Pull Zone button you'll be presented with a pop-up dialog that looks like this:

Step 3a -  Add Pull Zone

Simply click on the big orange button marked Add Pull Zone.  That will take you to this page:

Step 3b - Add Pull Zone

On the add pull zone screen, enter in whatever name you want for the CDN domain. You can add your own domain later on, for now you'll want to use the domain that Bunny provides.

Make sure that Origin Type is set to Storage Zone and that Storage Zone is set to the storage zone we made in the first step.

Select any other options you want and then scroll to the bottom and click the big orange Add Pull Zone button.

Step 4. Get Pull Zone URL

After you've clicked Add Pull Zone and your pull zone has been created, you'll see this screen:

Step 4   Get Pull Zone URL

In the Linked Hostnames copy the domain name as we'll be using it in the next step.

Step 5. Setting Up Media Cloud

In your WordPress admin, navigate to Settings in the Media Cloud admin menu and select Cloud Storage.

  1. Set the Storage Provider to Bunny CDN.
  2. In the Provider Settings panel:
    1. Enter in the API Key that you got in step 2 into the API Key field.
    2. Enter the name of your storage zone from step 1 in the  Storage Zone field.
    3. In the Pull Zone URL enter in the domain name but make sure that you add https:// to it.  For example, if your pull zone URL is then make sure you set the value of this field to
    4. Set Region to whatever region you selected when you created your storage zone.
  3. Scroll back to the top of the settings page and toggle Enable Cloud Storage to on.
  4. Click on Save Changes.

Once you've saved your changes you should run the System Test in the Media Cloud menu in your WordPress admin.