Amazon S3 plugin for WordPress

117 Comments

This WordPress plugin allows you to use Amazon’s Simple Storage Service to host your media for your WordPress powered blog.

Amazon S3 is a cheap and cost effective way to scale your site to easily handle large spikes in traffic (such as from Digg) without having to go through the expense of setting up the infrastructure for a content delivery network. Startup companies are embracing it for their online storage solution, and even bloggers are starting to use it to host their images and other static media (such as mp3 files for their podcasts).

Pricing is really cheap. There are no setup fees, no minimum costs, and you literally only pay for what you use, even if it’s just a couple cents a month. If you have a WordPress powered blog, and have a lot of media (such as images or mp3s), this plugin will help you easily utilize Amazon S3 for bandwidth and storage.

WordPress S3 screenshot

Once setup, this plugin transparently integrates with your WordPress blog. File uploads are automatically saved into your Amazon S3 bucket without any extra steps. Once saved, these files will be delivered by Amazon S3, instead of your web host. Any image thumbnails that get created are saved to Amazon S3 too. You’ll also find an “Amazon S3″ tab next to your regular “Upload” tab, which allows you to easily browse and manage files that were not upload via WordPress.

Author: Joe Tan (joetan54@gmail.com)
License: GPL

Requirements:

  • A WordPress powered blog hosted on your own server.
  • An Amazon S3 account (there are no setup or monthly fees if you want to just try it out).
  • PHP 5

Features:

  • Easily browse Amazon S3 hosted files, upload new files, and create new folders without having to leave the WordPress edit screen.
  • All your WordPress uploads are transparently saved into Amazon S3 for storage and delivery.
  • Infinitely scalable with no limits, use Amazon S3 to store as many files as you want.
  • Reduce the load on your server by offloading static media to Amazon’s content delivery network, with 99.99% availability.
  • Supports BitTorrent for large media files.
  • Supports virtual host names (eg: sub.example.com). See Amazon’s notes for more information.
  • Supports WordPress MU setups. Can be configured to automatically install and use one common Amazon S3 account for all blogs.

Installation:

  1. Download and unzip the plugin.
  2. Upload the entire “tantan” directory to the WordPress wp-content/plugins directory.
  3. Login to your WordPress admin, click “Plugins”, and then activate the “Amazon S3 for WordPress” plugin.
  4. Click “Options”, then “Amazon S3″ to bring up the configuration screen.
  5. Enter your AWS Access Identifiers to authenticate and link up the plugin with your Amazon account.
  6. Select an existing bucket, or create a new bucket. A bucket can be named whatever you want, but must be globally unique. If you want to use virtual hosting, enter in a subdomain as the bucket name and update your DNS settings. More info >
  7. Click “Save” and you’re done! You’ll now see an “Amazon S3″ tab next to your “Upload” tab in the WordPress edit screens.
  8. Bonus: Enable the”TanTanNoodles Version Checker” plugin to automatically get notified of when updates to this plugin are available.

Download the plugin

Support:
If you are having problems setting up or customizing this plugin, please visit the support group for help. Someone may have already posted a solution to your problem!

More Documentation: Modification History, Known Issues and Bugs

Bug Reports:
If you find a bug or have a feature request for this plugin, please post them to this Google Project page.

Developers:
Browse this plugin's source code at the Subversion repository.

Want more WordPress goodness? Check out some of my other plugins and scripts >

117 comments

  1. # prefabrik Dec 22, 2008

    good projected nice documents.

  2. Pingback: WordPress Plugins Used On The Michel Fortin Blog | The Michel Fortin Blog
  3. Pingback: Learn more about setting up Wordpress for your Nonprofit | Non-Profit Tech Blog
  4. # Kris Jan 04, 2009

    This doesn’t seem to work with WP 2.7. When I try to add any media file using the WP flash loader, I receive an “HTTP error.” Using the S3 link works fine.

    any suggestions?

  5. # Tom Aquinas Jan 04, 2009

    @ William. If your provider isn’t keep php updated, i’d find one that does.

  6. # Tom Perrone Jan 06, 2009

    Just tried this on WP 2.7 and keep getting the following error:

    Error : The difference between the request time and the current time is too large.

    I’ve tried the support forum link but it keeps coming back here. Any ideas?

    Thanks

    Tom

  7. # techseaport Jan 12, 2009

    How about a plugin that works with the free Coral CDN?

  8. Pingback: WordPress Plugins Used On The Michel Fortin Blog
  9. # mark robertson Jan 18, 2009

    I am having an issue with the plugin. Seems that when I upload an image, it successfully gets created in my bucket, the URL works, etc… but any images I upload using the plugin seem to be served blank – here is one – http://media.reelseo.com/wp-content/uploads/searchandreplace .png

    And another http://media.reelseo.com/wp-content/uploads/tania-yuki-comsc ore1.jpg

    Please advise. Thanks.

  10. # bebek resimleri Jan 18, 2009

    Are there any issues with this in that version.
    Great plugin. Thanks!

  11. Pingback: » Amazon S3 For Newbies-Part 2
  12. Pingback: Netjackal Rants » Daily Digest for 2009-01-31
  13. # Hilyin Feb 04, 2009

    Hi,

    Do you have any plans on a wp-uploads to s3 upload conversion/transfer tool. I have a few sites with a lot of files already in the blog system, having a tool to automatically move them and update links would be a great asset.

    Thank you,

    Hilyin

  14. # Chris Spooner Feb 20, 2009

    Anyone experiencing the blank Error message upon entering Access Keys, there is a solution here:

    http://code.google.com/p/wordpress-s3/issues/detail ?id=15

    Basically go create a bucket on your S3 account first.

  15. # E.Karnika Yashwant Feb 27, 2009

    thanks for the plugin

  16. # beyondesign Mar 01, 2009

    Mr. Tan is a genius, plain and simple. Not only does the plugin work as advertised, it exceeded my expectations this morning by uploading files to S3 when using WP’s Add Media feature. I’m in awe and will be donating as soon as I can find the link :D

    I can honestly say your work makes mine possible. Thanks again.

    beyondesign

  17. # Sean Mar 03, 2009

    Bumping Brandon’s Post, are there plans to integrate this plugin with CloudFront?

  18. # Joe Tan Mar 06, 2009

    Perhaps. I havn’t had time to fully look into it… I’ll post an update when I get it figured out!

  19. Pingback: dasistdasen.de » Linkmüllhalde für den 6. März ‘09
  20. Pingback: WordCast 51: Big-Wheeled Sedan | WordCast - The web's best podcast on WordPress and blogging

View all 117 comments

Leave a comment

Support:
If you are having problems setting up or customizing this plugin, please visit the support group for help. Someone may have already posted a solution to your problem!