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

Host flash website, movies and presentations from Amazon S3

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 flash based website 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 flash hosting as economically as possible, if the site is crowded with flash movies and presentations, we require larger spaces; this means more expenditure. Besides this, if the flash movies (FLV files) 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 flash movies 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 " demos.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 ( demos.bucketexplorer.com should point to s3.amazonaws.com )
Step [4]
Now you are ready to access your bucket using URL http://demos.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 demos.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 Amazon S3 Bucket Access Control List "
    right click option on bucket to update amazon s3 acl
  • 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 flash movie(s) and choose " Get Public Url " option to generate accessible http URL. Like:
http://s3.amazonaws.com/demos.bucketexplorer.com/demo1.swf
option to generate amazon s3 web url
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://demos.bucketexplorer.com /demo1.swf
generate public url for image on amazon s3
Step [8]
Use it within your website html source code wherever you want to link.
Step [9]
Please note that Amazon's pricing is truly "on demand" so you have to pay for every GET request and the bandwidth. If you don't want to pay for bandwidth consumed by the spiders, just add a robots.txt which disallows robots to crawl your bucket's data. Something like this http://demos.bucketexplorer.com/robots.txt

Related Topics:


 

Give us your feedback