Using CloudFront and S3 at SMARTSTUDY

  • Published on
    23-Jun-2015

  • View
    1.716

  • Download
    4

Embed Size (px)

DESCRIPTION

Cloudfront 'Using CloudFront with S3 on Mobile App Services at SMARTSTUDY' .

Transcript

  • 1. Amazon CloudFront Amazon S3 Mobile App Services SMARTSTUDY / Oct 8, 2013 Using with on at

2. SMARTSTUDY 3. , ? , . . Study 4. Were ? 2010 6 , 36 . 5. Education ? . , , , . 6. REQUISITES 7. Enlarged . , , . 8. Globally , . 9. Fast , . 10. Redundant , . 11. Inexpensive , . 12. We have to serve enlarged contents globally as fast as possible with high redundancy, inexpensively. 13. We have to serve enlarged contents globally as fast as possible with high redundancy, inexpensively. enlarged globally fast redundant inexpensive 14. HOW TO USE 15. Amazon Simple Storage Service . . S3 16. S3 vs Disk S3 Disk Object store Physical device 17. S3 vs EBS S3 EBS Object store Block store 18. S3 vs Glacier S3 Glacier Object store Backup store * * 3-5 19. EBS vs S3 vs Glacier EBS S3 Glacier 10 ~10 1 1* 1 1 * EBS via EC2 20. Amazon CloudFront : Content Delivery S3 , CloudFront . CloudFront 21. Origin to Edge HTTP / HTTPS , Edge , Edge , , , Origin . 22. Response Origin / S3 Copy from Near Edge Origin to Edge Forward Look up cache Far Edge CloudFront Request 23. Contents to S3 REST API Tools GUI app File System Command line tool S3 Bucket 24. S3 Tools Cyberduck s3fs s3cmd GUI File System CLI / - Invalidation 25. S3 Tools s3cmd aws-cli Python / httplib Python / boto S3 + CloudFront All AWS Michal Ludvig AWS 26. s3cmd Sync . Multipart Upload . CloudFront Invalidation . 27. Origin / S3 Far Edge Invalidation Near Edge Invalidation Invalidation CloudFront Invalidation Request Flush caches 28. Performance 60GB, 3 . : i7 2500K + SATA Disk : Tokyo region bucket 8 . . 29. Tips Multipart Upload MD5 , Sync . Invalidation , . Invalidation 3. s3cmd cfinvalinfo . 30. Parallel upload Multipart Upload , Upload Id , . , S3 . s3cmd-parallel . 31. WHERE TO USE 32. , Storage API HTTP Live Streaming (HLS) 33. Origin / S3 s3cmd Media Deploy Server Transcoder Contents to S3 Media Server 34. Contents to S3 Origin / S3 s3cmd Deploy Server Transcoder Media Server Transcoder Package (npk) Streamable video content Meta data / Thumbs GNU Flash mpeg / libavMPEG-2 Flash / SWF 35. Storage API Server Request Request Origin / S3 boto Storage API AD API Server Event API Server 36. HTTP Live Streaming Origin / S3 Low level segments Mid level segments High level segments Index le (m3u8) s3cmd Segmenter Original Video HLS Key Server HLS Key Pairs REST 37. THEN 38. We have to serve enlarged contents globally as fast as possible with high redundancy, inexpensively. enlarged globally fast redundant inexpensive 39. 40. CDN 350Mbps/M $ 6.00/Mbps = $ 2,100 CloudFront 10TB/M $ 0.190/GB = $ 1,900* * Bucket Edge 41. 42. 10TB Reserved Capacity Pricing 43. 2 CDN 350Mbps/M $ 6.00/Mbps = $ 2,100 Reserved Capacity CloudFront 10TB/M = $ 1,075* * Bucket Edge 44. Monthly Fee Dec 2012 Sep 2013 CF Fee S3 Fee Transmitted in GB Ratio $4672 $2413 $23 $21 28390 23533 0.165 0.103 45. WRAP UP 46. . . ! 47. CloudFront . Invalidation 10 . . 48. , . . 49. Gnash http://www.gnu.org/software/gnash/ FFmpeg http://www.ffmpeg.org/ qtfaststart https://github.com/danielgtaylor/qtfaststart npk https://github.com/lqez/npk s3cmd http://s3tools.org/ 50. Amazon CloudFront Amazon S3 Mobile App Services SMARTSTUDY / Oct, 2013 Using with on at

Recommended

View more >