How to map a sub-domain to an Amazon S3 bucket in order to hold your website static data.
Amazon S3 is a . You can create a bucket in order to put your resources in it. A bucket is like a . You can then access an item using the following URL(you need to make the item public first).
This article will show you how to map a sub-domain to an Amazon S3 bucket.
First login to your Amazon Console
, and name it exactly like your sub domain. In this case I choose static.inoneo.com:
By default the resource is private (only accessible by you).
The final step is to map your sub-domain with the bucket. To do so :
That's it, you can now try accessing your previously uploaded resource using your sub-domain.
Now, in your website, simply link the resource using your sub-domain directly in the HTML, for example to display an image stored in S3:
<img src=""></img> comments powered by Disqus