Using S3 to host static web pages or store objects used by other web pages can load content securely by configuring an S3 bucket to explicitly enable cross-origin requests. With the Cross-Origin Resource Sharing (CORS) policy enabled, assets such as web fonts and images stored in an S3 bucket can be safely referenced by external web pages, style sheets, and HTML5 applications.
Streaming Video Using CloudFront
Posting a video on your website is quite simple, but “Streaming” a video is not as easy as you might expect. There are a variety of services, such as YouTube, that do this for you, but they are not exactly what you want on your professional website. Beyond that, it can really slam your site to have a large video get downloaded by a lot of people.
Finally, if you have a large video, it is nice to be able to skip to the middle rather than sit around and wait for the entire thing to load. Streaming servers take care of this problem for you. Amazon’s CloudFront service is key.
Here’s a quick tutorial for how to do it.