{"action":"opened","issue":{"url":"https://api.github.com/repos/websharks/s2member-kb/issues/95","labels_url":"https://api.github.com/repos/websharks/s2member-kb/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/websharks/s2member-kb/issues/95/comments","events_url":"https://api.github.com/repos/websharks/s2member-kb/issues/95/events","html_url":"https://github.com/websharks/s2member-kb/issues/95","id":56932873,"number":95,"title":"Amazon S3/CloudFront Integration","user":{"login":"jaswsinc","id":1563559,"avatar_url":"https://avatars.githubusercontent.com/u/1563559?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswsinc","html_url":"https://github.com/jaswsinc","followers_url":"https://api.github.com/users/jaswsinc/followers","following_url":"https://api.github.com/users/jaswsinc/following{/other_user}","gists_url":"https://api.github.com/users/jaswsinc/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswsinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswsinc/subscriptions","organizations_url":"https://api.github.com/users/jaswsinc/orgs","repos_url":"https://api.github.com/users/jaswsinc/repos","events_url":"https://api.github.com/users/jaswsinc/events{/privacy}","received_events_url":"https://api.github.com/users/jaswsinc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/websharks/s2member-kb/labels/draft","name":"draft","color":"fef2c0"},{"url":"https://api.github.com/repos/websharks/s2member-kb/labels/videos","name":"videos","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-08T00:42:22Z","updated_at":"2015-02-08T00:42:22Z","closed_at":null,"body":"---\r\n##### KB Article Creation Checklist\r\n\r\n- [ ] Write initial draft for this KB Article; label this issue `draft` and either `questions` or `tutorials`\r\n- [ ] Add [required YAML configuration](https://github.com/websharks/team/wiki/KB-Articles-::-Required-YAML-Configuration)\r\n- [ ] Add Tags for this KB Article to the YAML config (see [YAML Keys (Explained)](https://github.com/websharks/team/wiki/KB-Articles-::-Required-YAML-Configuration#yaml-keys-explained))\r\n- [ ] Edit and finalize draft for publishing (remove `draft` label, add `draft-finalized` label)\r\n- [ ] Assign Issue to yourself and [create Markdown file](https://github.com/websharks/team/wiki/KB-Articles-::-Creating-the-Markdown-File) (remove `draft-finalized` label, add `pending`)\r\n- [ ] Project Lead: Review and Publish KB Article (remove `pending` label, add `published` label)\r\n\r\n##### Additional TODOs\r\n\r\n_Additional TODO list items go here._\r\n\r\n```yaml\r\ntitle: Amazon S3/CloudFront\r\ncategories: videos\r\ntags: file-downloads\r\nauthor: jaswsinc\r\ngithub-issue: \r\n```\r\n---\r\n\r\nhttps://www.youtube.com/watch?v=Gr87ZBJQE0I\r\n\r\n## Amazon S3 (Protected File Downloads)\r\n\r\n[Amazon Simple Storage Service](http://aws.amazon.com/s3/) (Amazon S3). Amazon S3 is storage for the Internet. It is designed to make web-scale computing easier for developers. Amazon S3 provides a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web. It gives developers access to the same highly scalable, reliable, secure, fast, inexpensive infrastructure that Amazon uses to run its own global network of web sites. s2Member has been integrated with Amazon S3, so that (if you wish), instead of using the `/s2member-files/` directory, you can store all of your protected files inside an Amazon S3 Bucket.\r\n\r\n## Amazon S3 + Amazon CloudFront (CDN + Media Server)\r\n\r\nAmazon Simple Storage Service (Amazon S3) combined with [Amazon CloudFront](http://aws.amazon.com/cloudfront/). Amazon CloudFront is a web service for content delivery. It integrates with other Amazon Web Services (i.e. Amazon S3 Storage) to give developers and businesses an easy way to distribute content to end users with low latency, and with high data transfer speeds. Amazon CloudFront delivers your static and streaming content using a global network of edge locations. Requests for your Amazon S3 Bucket Objects (i.e. your protected files) are automatically routed to the nearest edge location, so content is delivered with the best possible performance. s2Member has been integrated with both Amazon S3 and with Amazon CloudFront. So (if you wish), instead of using the `/s2member-files/` directory, you can store all of your protected files inside an Amazon S3 Bucket and serve them via Amazon CloudFront.\r\n\r\nOne of the great things about Amazon CloudFront, is its ability to stream/seek media files in the truest sense of the word. For sites delivering protected FLV/MP4/OGG/WEBM and other streaming audio/video file types over the RTMP protocol, Amazon CloudFront is our recommendation. RTMP streams allow site owners to stream their videos, but without ever exposing an MP4 video file that could potentially be redistributed by viewers. Videos streamed over RTMP are not downloadable. Perfecto!"}}