Upgrade to Pro — share decks privately, control downloads, hide ads and more …

[Media-JAWS]サーバレスアーキテクチャによる 有料ライブ配信サービスの構築

Kazuki Miura
November 20, 2019

[Media-JAWS]サーバレスアーキテクチャによる 有料ライブ配信サービスの構築

有料ライブ配信構築のお話です。

#jawsug
#mediajaws

Kazuki Miura

November 20, 2019
Tweet

More Decks by Kazuki Miura

Other Decks in Technology

Transcript

  1. #jawsug #mediajaws ˟儗꟦כ✮㹀דׅկ鿪さח״׶㢌刿ׅ׷㜥さָ֮׶תֿׅ ה✮׭׀✪䪫ֻ׌ְׁկ  ꆃ 㕼 傈  Ꟛ㜥⳿䏄ـ٦أꟚ䏄

    ىصٓ؎ـװ⳿䏄13ة؎يזו ⼯⵸⚥ַ׵嚂׃ְ؎كٝز׾׋ֻׁ׿׀欽䠐׃גת ׅԒ  ً؎ٝ؎كٝز儎ך鿇 ؔ٦فصؚٝإٌٖص٦⳿怴罏ز٦ؙءّ٦ չ痥㔐וֲדى٦颣պ涪邌խקַ  ؜أز،٦ذ؍أز-*7&ىص⟰歗갫♶ず 넝堀峔㶨 랲葿ׅ׫׸ $IJNB 〢愮ⶌ 〢愮ⶌ OPOPD 䩧껷柰Ꟍず㥨⠓ 筁ꅿת׃׹ /03% ،ؙٕٔ؝٦ٕ %&1"1&1& ཁ݅ ʻனͷ෦ʼΛର৅ ̏೔ؒ ̎࣌ؒͣͭ ༗ྉϥΠϒ഑৴ ΞʔΧΠϒແ͠ ̍ສਓདྷͯ΋଱͑ΒΕΔ εέδϡʔϧ
  2. #jawsug #mediajaws ݄ Ր ਫ ໦ ۚ ౔ ೔ 

          ٳ ٳ        ٳ  ॕ       ٳ  ॕ       ٳ        ࠂ஌ ϦϦʔε ຊ൪ᶃ ຊ൪ᶄ ຊ൪ᶅ ௐࠪɾυΩϡϝϯτಡΜͰ৮ͬͯΈΔ ࣮૷ɾ୯ମςετ ࣮૷ɾ݁߹ςετ ࣾ಺εςʔδϯάςετɾमਖ਼ νΣοΫ νΣοΫ νΣοΫ όοΫΞοϓߏங εέδϡʔϧ
  3. #jawsug #mediajaws ݄ Ր ਫ ໦ ۚ ౔ ೔ 

          ٳ ٳ        ٳ  ॕ       ٳ  ॕ       ٳ        ࠂ஌ ϦϦʔε ຊ൪ᶃ ຊ൪ᶄ ຊ൪ᶅ νΣοΫ εέδϡʔϧ ग़ ग़ ग़ ग़ ग़ ग़ ग़ ग़ ʷ ग़ ʷ
  4. #jawsug #mediajaws )5#ओௐ੔ࣨ %JSFDU$POOFDU .FEJB-JWF .FEJB1BDLBHF $MPVE'SPOU 71$ DRM SaaS

    Users Πϕϯτձ৔ json XML octet-stream $MPVE'SPOU 4 -BNCEB "1*(BUFXBZ -BNCEB1SPYZ -BNCEB "1*(BUFXBZ &MFNFOUT -BNCEB "1*(BUFXBZ 3PVUF "$. 4FDSFUT.BOBHFS தܧं ߪೖঢ়ଶ֬ೝ -PDL iOS༻ ϦΫΤετ શମߏ੒
  5. #jawsug #mediajaws .FEJB-JWF .FEJB1BDLBHF + αʔόϨε ϑϧϚωʔδυ 4BB4࿈ܞ + 41"

    "1*(BUFXBZ -BNCEB + 4 $MPVE'SPOU ܾࡁ ೝূ ࠶ੜ %3.
  6. #jawsug #mediajaws DRM SaaS ಈը഑৴෦෼ ΞʔΩςΫνϟ )-4 %"4) )-4 %"4)

    4 $MPVE'SPOU "84&MFNFOUBM .FEJB-JWF "84&MFNFOUBM .FEJB-JWF %JSFDU$POOFDU 71$ 71$ */165 ಈ࡞֬ೝ༻.1 ίϯςϯπ*% ෆਖ਼Ξοϓϩʔυରࡦ :PV5VCF ߪೖલ֬ೝ ຊฤ #jawsug #mediajaws
  7. #jawsug #mediajaws DRM SaaS )-4 %"4) )-4 %"4) 4 $MPVE'SPOU

    "84&MFNFOUBM .FEJB-JWF "84&MFNFOUBM .FEJB-JWF %JSFDU$POOFDU 71$ 71$ */165 ಈ࡞֬ೝ༻.1 ίϯςϯπ*% ෆਖ਼Ξοϓϩʔυରࡦ :PV5VCF ߪೖલ֬ೝ ຊฤ ҆ఆ͕࠷༏ઌ ຊฤ࠶ੜ ดҬ઀ଓͰ ҆ఆੑΛ୲อ σΟϨΠͰ͸ͳ͘ ҆ఆੑΛٻΊͯ /55౦೔ຊ͞Μ
  8. #jawsug #mediajaws DRM SaaS )-4 %"4) )-4 %"4) 4 $MPVE'SPOU

    "84&MFNFOUBM .FEJB-JWF "84&MFNFOUBM .FEJB-JWF %JSFDU$POOFDU 71$ 71$ */165 ಈ࡞֬ೝ༻.1 ίϯςϯπ*% ෆਖ਼Ξοϓϩʔυରࡦ :PV5VCF ߪೖલ֬ೝ ຊฤ ߪೖલ ςετ࠶ੜ ߪೖޙ ຊฤ࠶ੜ ಉ͡ߏ੒Ͱ ಈ࡞֬ೝΛଅ͢
  9. #jawsug #mediajaws DRM SaaS )-4 %"4) )-4 %"4) 4 $MPVE'SPOU

    "84&MFNFOUBM .FEJB-JWF "84&MFNFOUBM .FEJB-JWF %JSFDU$POOFDU 71$ 71$ */165 ಈ࡞֬ೝ༻.1 ίϯςϯπ*% ෆਖ਼Ξοϓϩʔυରࡦ :PV5VCF ߪೖલ֬ೝ ຊฤ ҉߸Խ /&954$"1&͞Μͷ .VMUJ%3.,JUΛ࠾༻ ग़ԋऀͷؔ܎Ͱ %3.͸ඞਢͩͬͨ
  10. #jawsug #mediajaws "1*(BUFXBZ &MFNFOUT 4FDSFUT .BOBHFS ߪೖঢ়ଶ֬ೝ -PDL J04༻ ϦΫΤετ

    4 -BNCEB "1*(BUFXBZ "1*ܦ༝ͷ ΍ΓͱΓ KTPO 9.- PDUFUTUSFBN #jawsug #mediajaws
  11. #jawsug #mediajaws ࠶ੜຖʹ -BNCEBΛୟ͘ ෮߸ /&954$"1&͞Μ ʹ ࡞ͬͯ΋Β͍·ͨ͠ "1*(BUFXBZ &MFNFOUT

    4FDSFUT .BOBHFS ߪೖঢ়ଶ֬ೝ -PDL J04༻ ϦΫΤετ 4 -BNCEB "1*(BUFXBZ KTPO 9.- PDUFUTUSFBN 5)&0QMBZFSͰ pSTU QBZBTZPVHPz DVTUPNFS
  12. #jawsug #mediajaws "1*(BUFXBZ &MFNFOUT 4FDSFUT .BOBHFS ߪೖঢ়ଶ֬ೝ -PDL J04༻ ϦΫΤετ

    4 -BNCEB "1*(BUFXBZ KTPO 9.- PDUFUTUSFBN ܾࡁ ߪೖঢ়ଶอଘ -BNCEBܦ༝Ͱ ܾࡁॲཧ ٧ΊࠐΈ͗ͨ͢ʜ 4UFQ'VODUJPOT͋Δ͚Ͳ ֶश࣌ؒͷؔ܎Ͱ͜ͷߏ੒ʹ
  13. #jawsug #mediajaws "1*(BUFXBZ &MFNFOUT 4FDSFUT .BOBHFS ߪೖঢ়ଶ֬ೝ -PDL J04༻ ϦΫΤετ

    4 -BNCEB "1*(BUFXBZ KTPO 9.- PDUFUTUSFBN ߪೖঢ়ଶऔಘ J04͚ͩ -BNCEBܦ༝Ͱऔಘ MPDLDIFDL4FTTJPO  MPDLHFU6TFS*OGP  Ͱऔಘ
  14. #jawsug #mediajaws දࣔ͝ͱʹ ୟ͔ΕΔͷා͍ J04͚ͩ "1*ܦ༝ͰσʔλΛऔಘ MPDLDIFDL4FTTJPO  MPDLHFU6TFS*OGP 

    Ͱऔಘ 41" T ಡΈࠐΈ VTFS@NFUBEBUB MPDLDIFDL4FTTJPO "1*(BUFXBZ &OEQPJOU "1*(BUFXBZ J04 ࢖͑ͳ͍໰୊ (PPHMF $MPVE'VODUJPOT ೦ͷͨΊ -BNCEB J04࢖͑ͳ͍໰୊
  15. #jawsug #mediajaws SPA s3 "84 4FDSFUT.BOBHFS ,FZUPLFO֨ೲ "1*(BUFXBZ -BNCEB "1*(BUFXBZ

    &OEQPJOU ܾࡁ࣌ ॻ͖ࠐΈ VTFS@NFUBEBUB ܾࡁ ങ͚ͬͨͲ ݟΕͳ͍ɻ खಈରԠ Ͱ͖Δ༷ʹ "VUIʹίϐϖ͢Ε͹͍͚ ΔςΩετΛ࡞ͬͯૹ৴ Ұ൪ࠔΔͷ͕ -PDLDIFDL4FTTJPO ಡΈࠐΈ खಈ ෆ۩߹ରԠ
  16. #jawsug #mediajaws )5#ओௐ੔ࣨ %JSFDU$POOFDU .FEJB-JWF .FEJB1BDLBHF $MPVE'SPOU 71$ DRM SaaS

    Users Πϕϯτձ৔ json XML octet-stream $MPVE'SPOU 4 -BNCEB "1*(BUFXBZ -BNCEB1SPYZ -BNCEB "1*(BUFXBZ &MFNFOUT -BNCEB "1*(BUFXBZ 3PVUF "$. 4FDSFUT.BOBHFS தܧं ߪೖঢ়ଶ֬ೝ -PDL iOS༻ ϦΫΤετ શମߏ੒
  17. #jawsug #mediajaws HTB ओௐ੔ࣨ Direct Connect MediaLive MediaPackage CloudFront VPC

    DRM SaaS Users Πϕϯτձ৔ json XML octet-stream CloudFront S3 Lambda API Gateway Lambda Proxy Lambda API Gateway Elements Lambda API Gateway Route 53 ACM Secrets Manager தܧं ߪೖঢ়ଶ֬ೝ Lock ͜͜΄΅ίϐϖ άάΕ͹ͳΜͱ͔ͳΔ /P$PEF -PX$PEF iOS༻ ϦΫΤετ
  18. #jawsug #mediajaws ே̍ൃΊʂʂ 4FSWFSMFTTEBZT 5PLZP ָ͗ͯ͢͠ $G1ͩͪ͠Όͬͨ !෱Ԭ ! "

    ✔ ✔ ✔ ✔ Tickets One Day. One Track. One Community Get Tickets Speakers & 2019/11/02 13:05 1 / 1ϖʔδ Agenda ΧϯϑΝϨϯε͸12݄14೔(౔)ɺLINE FukuokaͰ։ ࠵͞Ε·͢ɻ ※λΠϜςʔϒϧ͸ௐ੔ͷՄೳੑ͕͋Γ·͢ Registration ͸͡Ίʹ / ॾઆ໌ 3೔ؒͰ࢖͍ࣺͯʂΠϕϯτ༻༗ྉϥ Πϒ഑৴αʔϏεͷߏங ࡾӜ Ұथ break Keynote Keisuke Nishitani (AWS) break B2Bاۀ͕CloudFunctionsͰC2C αʔϏεΛ্ཱͪ͛ͨ࿩ ੢ ෢࢙ WATANABE KENICHIRO 08:00 09:00 09:10 09:50 10:00 10:40 10:45