download free 30 days trial version buy bucket explorer
Documentation  Download  Purchase  Support  FAQs   Forum   ScreenShots & Demos

How to use Amazon S3 as an image hosting service?

This tutorial is now out-dated and it was applied to an older version of Bucket Explorer. Open How to use Amazon S3 to host web pages and media files to see the most recent version of the tutorial.

If you happen to be engaged in enterprises, organizations or professions that require image hosting as a necessary part of your business, you surely must be looking for web services that are efficient as well as economical.
We usually try to optimize our web hosting as economically as possible, if the site is crowded with images, we require larger spaces; this means more expenditure. Besides this, if the images are large or too many, we need more space. Naturally, the hosting server will charge as per our required space. He may impose some data transfer limitations, too.
Amazon S3 provides you the best way out, as it enables you to call your images from Amazon S3, instead of calling them from your hosting server.

All you need to do is to follow the steps given below :
Step [1]
Create an account on Amazon S3 service, download and Install Bucket Explorer from bucketexplorer.com because Amazon S3 is providing only web service interface for developers.
Step [2]
Start bucket explorer and create a bucket create amazon s3 bucket named like "images.bucketexplorer.com" ( bucket names are case sensitive, so try to use all lower case )
Step [3]
Now create a CNAME entry in your domain's DNS manager interface (images.bucketexplorer.com should point to s3.amazonaws.com)
Step [4]
Now you are ready to access your bucket using URL http://images.bucketexplorer.com/ - it will automatically be redirected to Amazon S3 (by your DNS server) and Amazon S3 knows that it should serve data from bucket named images.bucketexplorer.com.
Step [5]
You may not want to allow people to list all the files from your bucket, so use Bucket Explorer, and change the permissions on the bucket in a way that no one has read access except yourself. For doing this you need to follow the steps given below :

  • Step 5.1 : Select buckets and right click to choose the option " Update Bucket Access Control List "
    update amazon s3 acl option on right click menu of bucket
  • Step 5.2 : Give the " READ " permission to " ALL USERS " and " FULL CONTROL " permission to " OWNER " and click to save the Permission list.
    amazon s3 bucket access permission control box


Step [6]
Now; right click on image(s) and choose "Generate Web Url" option to generate accessible http URL. Like:
http://s3.amazonaws.com/images.bucketexplorer.com/image1.jpeg
generate amazon s3 web url option
Step [7]
Now; click on " Use Bucket Name as Virtual Host " button to automatically modify each URL(s) according to your CNAME entry like
http://images.bucketexplorer.com /image1.jpeg
generate public amazon s3 image url
Step [8]
Use it with your website wherever you want to link.


 

Give us your feedback