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

ソラコム挿しときゃ何とかなる〜第2章 SORACOM Arc 〜

1stship
July 27, 2021

ソラコム挿しときゃ何とかなる〜第2章 SORACOM Arc 〜

2021/7/27(火)のSORACOM UG Online #6にて発表したセッション「ソラコム挿しときゃ何とかなる〜第2章 SORACOM Arc 〜」です。

1stship

July 27, 2021
Tweet

More Decks by 1stship

Other Decks in Technology

Transcript

  1. ιϥίϜૠ͠ͱ͖ΌԿͱ͔ͳΔ
    ʙୈষ403"$0."SDʙ
    403"$0.6(0OMJOF
    ᢠݪҰฏ!TUTIJQ(JU)VC!TU@TIJQ5XJUUFS

    View full-size slide

  2. ࣗݾ঺հ
    w ໊લɿᢠݪɹҰฏ
    w ৬ۀɿ೔ஔిػ ܭଌثϝʔΧʔ
    ͷ੡඼։ൃ෦໳
    w 403"$0.ؔ࿈ϒϩάɿຊ "SD͸ຊ

    w 403"$0..7$ ίϯτϦϏϡʔλ
    ड৆
    w ޷͖ͳ403"$0.αʔϏεɿ#FBNɺ0SCJUɺ"SD

    View full-size slide

  3. ࠓ೔࿩͍ͨ͜͠ͱ
    w 403"$0.ͷັྗ 403"$0."SDͷັྗ

    w 403"$0.͕࢖͑ͳ͍ͭΒΈͱ403"$0."SD
    w 403"$0."SDͰՄೳʹͳͬͨ৽͍͠ߏ੒

    View full-size slide

  4. *P5ͱʮԿͱ͔͢Δʯྗ
    w *P5Ͱ͸σόΠεͷਓ͸Ϋϥ΢υͷ͜ͱɺΫϥ΢υͷਓ͸σό
    Πεͷ͜ͱ͕Θ͔Βͳ͍ɻࣾ಺ʹ΋஌ͬͯΔਓ͸͍ͳ͍ɻௐ
    ΂Δʹͯ͠΋جຊతͳ஌͕ࣝෆ଍ͯ͠Δ͠ɺ֎஫͢Δʹͯ͠
    ΋πς͕ͳ͍ɻ ͜ͱ͕ଟ͍ͷͰ͸ʁ

    w *P5αʔϏεͷ։ൃ୲౰ऀʹ͸ɺͦ͏͍ͬͨԿ΋Θ͔Βͳ͍ঢ়
    ଶͰ΋Կͱ͔͢Δྗ͕ٻΊΒΕ͍ͯΔ
    w ιϥίϜ͸*P5ͷ՝୊ΛʮԿͱ͔ͯ͘͠ΕΔʯ͜ͱ͕ଟ͍

    View full-size slide

  5. 403"$0.6(&YQMPSFSʹͯ

    View full-size slide

  6. ͋Ε͜Εઆ໌͖͠Εͳ͔ͬͨ

    View full-size slide

  7. 403"$0.Λ࢖͏ͱԿ͕͍͍ͷ͔ʁ
    w 4*.ʹΑΔ؆୯ɾ҆શͳೝূ
    w "1*ͰॊೈʹίϯτϩʔϧՄೳͳωοτϫʔΫ
    w γϯϓϧͳΠϯλϑΣʔεͰଟ༷ͳ࿈ܞ
    ࠓ೔͸൪໨͚ͩ࿩͠·͢

    View full-size slide

  8. σόΠεͱΫϥ΢υΛݸผʹରԠ
    "84
    "[VSF
    ($1
    ΦϯϓϨ
    ֤Ϋϥ΢υͷ
    ݸผௐࠪɺ
    ݸผରԠ͕ඞཁ
    ৽͍͠Ϋϥ΢υ
    ʹରԠ͢Δʹ͸
    σόΠεͷมߋ
    ͕ඞཁ
    ֤઀ଓํ๏ʹର
    Ԡͨ͠αʔϏε
    ͕ඞཁ
    ରԠ͢ΔαʔϏ
    ε͕ͳ͍ͱର৅
    ֎ʹͳΔʢ͔ಠ
    ࣮ࣗ૷͢Δʣ

    View full-size slide

  9. 403"$0.͕͋Δͱ
    "84
    "[VSF
    ($1
    ΦϯϓϨ
    403"$0.ͷ
    γϯϓϧͳΠϯ
    λϑΣʔε͚ͩ
    ஌͍ͬͯΕ͹͍
    ͍
    σόΠεΛมߋ
    ͠ͳͯ͘΋ɺ৽
    ͍͠Ϋϥ΢υʹ
    ରԠͰ͖Δ
    403"$0.͔Β
    ͷݺͼग़͞Εํ
    ͚ͩ஌͍ͬͯΕ
    ͹͍͍
    403"$0.Ͱϓ
    ϩτίϧม׵͠
    ͯ͘ΕΔ Ұ෦

    ΠϯλϑΣʔεͷ
    ໾ׂΛՌͨ͢
    Ϋϥ΢υରԠ͸
    Ϛωʔδυ
    ࡞Βͳ͍͍ͯ͘

    View full-size slide

  10. 403"$0.͸*P5քͷ64#
    w σόΠε͸403"$0.Λར༻ɺΫϥ΢υ͸403"$0.͔Βͷݺͼग़͠ʹԠ
    ࣮ͨ͡૷ɺ403"$0.͸ରԠ͚ͮɺͱ͍͏ؔ܎ʹͳΔ
    w σόΠεɺΫϥ΢υ͸͓ޓ͍Λ௚઀஌͍ͬͯΔඞཁ͕ͳ͘ɺ403"$0.͚ͩ
    Λ஌͍ͬͯΕ͹ྑ͍ɻ͜Ε͕"HOPTUJDɻσόΠε͸ίʔυͷมߋͳ͠ͰΫϥ
    ΢υରԠΛ௥ՃͰ͖Δ
    w ͜Ε͸64#Έ͍ͨͳ΋ͷɻϗετͱσόΠε͕ͦΕͧΕରԠ͍ͯ͠Ε͹ɺ͓
    ޓ͍ͷ͜ͱΛ௚઀஌Βͳͯ͘ྑ͍ɻ
    w ʮιϥίϜૠ͠ͱ͖ΌͳΜͱ͔ͳΔʯ͸ʮ64#͍ͭͯΓΌԿͱ͔ͳΔʯͱಉ
    ͘͡Β͍ͷҙຯɻͱΓ͚͋͑ͣͭͱ͚
    ιϥίϜ࠷େͷṖϫʔυʮ"HOPTUJDʯΛղ໌͢ΔIUUQTRJJUBDPNTUTIJQJUFNTCBCC

    View full-size slide

  11. ιϥίϜ
    ૠͤͳ͖Ό
    Ͳ͏͢Δͷ
    ೰Έ

    View full-size slide

  12. 403"$0.ͷ୅ସαʔϏε͸ແ͍
    Ϟϊ
    ωοτϫʔΫ Ϋϥ΢υ
    ୯ʹωοτϫʔΫΛఏڙ͢Δ
    αʔϏε͸͋Δ͕ɻɻ
    ʮσόΠε։ൃɾӡ༻Λ؆୯ʹͯ͘͠ΕΔʯωοτϫʔΫαʔϏε͸ແ͍
    ͜Ε͸୯ʹௐࠪෆ଍͔΋͠Ε·ͤΜɻ஌͍ͬͯͨΒڭ͑ͯཉ͍͠

    View full-size slide

  13. 403"$0.༗Γແ͠ͷߏ੒
    γϯϓϧͳΠϯλϑΣʔε Ϋϥ΢υରԠ͸Ϛωʔδυ
    ୯ͳΔ௨৴ܦ࿏
    4*.ʹΑΔڧݻͳೝূ
    σόΠεݸผʹඞཁͳೝূ৘ใ
    ॻ͖ࠐΈ໘౗࠮औϦεΫ

    Ϋϥ΢υ͝ͱʹݸผରԠ
    ཁ4%,Ͱ͋Δ͜ͱ͕ଟ͍
    ϓϩτίϧ͕೉͍͠



    σόΠεʹݻ༗ͷ৘ใΛ࣋ͨͳ͍
    σόΠεͷෛ୲͕େ͖͍ɻͭΒ͍

    View full-size slide

  14. ࢖͑Δ৔߹͸࢖͑͹͍͍ͷ͔ʁ
    w ʮ༗Γʯͱʮແ͠ʯΛൺ΂Δͱ࣮֬ʹʮ༗Γʯͷߏ੒͕ྑ͍͚Ͳɺ
    403"$0.࢖͑ͳ͍৔߹ʮແ͠ʯΛબ͹͟ΔΛಘͳ͍
    w ʮແ͠ʯͷߏ੒͕Ͱ͖Δͱɺʮ༗Γʯʮແ͠ʯͷ̎ͭΛϝϯς͢Δ͔ɺ
    403"$0.࢖͑Δ৔߹Ͱ΋ʮແ͠ʯͷߏ੒Λ࢖͏͔ͷೋ୒ΛഭΒΕΔ
    w ൑அ೉͍͚͠Ͳɺ̎ͭͷߏ੒Λϝϯς͢Δͷ͸େมͳͷͰɺʮແ͠ʯ
    ͷΈΛબͿɻ403"$0.࢖͍͍ͨͷʹɻ
    w ͜Μͳ͜ͱͳΒ403"$0.Λ஌Βͳ͖ΌΑ͔ͬͨɺͱ͍͏ؾ࣋ͪʹ
    Կͱ͔ͳΒΜͷ͔ʁ

    View full-size slide

  15. 403"$0.%JTDPWFSZʹͯ
    IUUQTXXXTMJEFTIBSFOFU403"$0.TPSBDPNDPOGFSFODFEJTDPWFSZEJTDPWFSZJPU

    View full-size slide

  16. 403"$0.,SZQUPOͰରԠͰ͖Δ
    IUUQTXXXTMJEFTIBSFOFU403"$0.TPSBDPNDPOGFSFODFEJTDPWFSZEJTDPWFSZJPU
    ҧ࿨ײ
    Ϋϥ΢υར༻࣌௨ͬͯͳ͍ΑͶ
    ͜͜͸ྑ͍

    View full-size slide

  17. 403"$0.,SZQUPOͷݶք
    ୯ͳΔ௨৴ܦ࿏
    403"$0.,SZQUPOͰ
    Ұ࣌త
    ೝূ৘ใΛऔಘՄೳ
    Ϋϥ΢υ͝ͱʹݸผରԠ
    ཁ4%,Ͱ͋Δ͜ͱ͕ଟ͍
    ϓϩτίϧ͕೉͍͠

    ,SZQUPOΛ࢖ͬͨ৔߹
    σόΠεͷෛ୲͸ґવେ͖͍
    w ,SZQUPOͰೝূ৘ใ͸औಘͰ͖Δ͕ɺΞϓϦέʔγϣϯαʔ
    ϏεͳͲͷར༻͸Ͱ͖ͳ͍ɻ͜ΕͰ͸ʮ$POOFDUJWJUZ
    "HOPTUJDʯͱ͸ݴ͑ͳ͍ͷͰ͸ʁ
    ͱࢥͬͨͷͰɻɻ

    View full-size slide

  18. Ծ૝ϓϨεϦϦʔεΛૹͬͯΈͨ
    ιϥίϜͷจԽʹଇΓ

    View full-size slide

  19. Ծ૝ϓϨεϦϦʔεΛૹͬͯΈͨ
    ιϥίϜͷจԽʹଇΓ

    View full-size slide

  20. ιϥίϜ$50҆઒͞Μͷճ౴
    w ࣮͸4*.ೝূͰ71/͢Δαʔ
    ϏεҊ΋͋Δ
    w ·ͣϓϩϏδϣχϯάʹߜͬͯ
    ,SZQUPOΛϦϦʔεͨ͠
    w σόΠεɺΫϥ΢υΛίωΫ
    ςΟϏςΟͰ੾Γସ͑Δඞཁ͕
    ແ͍Α͏ʹ͍͖͍ͯͨ͠

    View full-size slide

  21. ͦͯ͠ɺ
    ೥ͷ೥݄͕ྲྀΕɺ
    ͍ͭʹɻɻʂ

    View full-size slide

  22. 403"$0."SDొ৔ʂ

    View full-size slide

  23. ݱ࣮ͷ403"$0."SDͷϓϨεϦϦʔε

    View full-size slide

  24. 403"$0."SDͷϓϨεϦϦʔε
    403"$0.ϓϥοτ
    ϑΥʔϜศརͰ͢ΑͶ
    Ͱ΋ճઢͳ͍ͱ͜ΖͰ
    ࢖͑ͳ͍ͷ͸ࠔΓ·͢
    ͳͷͰͲΜͳ௨৴ख
    ஈͰ΋0,ͳαʔϏε
    ࡞Γ·ͨ͠Α
    "JSͱಉ͡Α͏ʹ࢖͑
    ΔΑ͏ʹؤுͬͨ
    ཉ͍͠ཁૉ͕શͯೖͬͨ׬ᘳͳαʔϏεʂ

    View full-size slide

  25. 403"$0."SDΛ࢖ͬͨ৔߹
    γϯϓϧͳΠϯλϑΣʔε
    ηϧϥʔճઢͱڞ௨

    Ϋϥ΢υରԠ͸Ϛωʔδυ
    ҆શͳ҉߸Խܦ࿏
    σόΠεݸผʹඞཁͳ71/઀ଓ৘ใԾ૝4*.
    ॻ͖ࠐΈ໘౗࠮औϦεΫ
    ˠ,SZQUPOͷར༻ͰܰݮՄೳ
    71/ΫϥΠΞϯτ
    w ηϧϥʔճઢ 403"$0."JS
    Λ࢖ͬͨ৔߹ͱಉ͡ΠϯλϑΣʔεΛར༻Մೳɻ
    403"$0.αʔϏε͕ͦͷ··࢖͑Δɻ
    w 71/ʹ݁ͼ͚ͭΔཁૉΛʮԾ૝4*.ʯͱ͠ɺ"JSͱಉ͡Α͏ʹ࢖͑Δͷ͕༗Γ೉͍
    w ௥Ճཁૉ͸71/ͷ઀ଓ৘ใͱΫϥΠΞϯτɻ͜Ε͸Ϋϥ΢υ͝ͱʹ༻ҙ͢Δඞཁ
    ͕ͳ͍ɻσόΠεͷ։ൃͷෛ୲͸͞΄Ͳ૿͑ͳ͍

    View full-size slide

  26. 403"$0."SDͰՄೳʹͳΔߏ੒
    w ηϧϥʔճઢ͕ಧ͔ͳ͍ͱ͜ΖͰͷ403"$0.ར༻
    w ηϧϥʔϞσϜΛ࣋ͨͳ͍σόΠεͰͷ403"$0.ར༻
    w ηϧϥʔճઢͱΠϯλʔωοτճઢͰͷ৑௕Խ
    w ෺ཧΠϯλϑΣʔεΛ༻ҙͰ͖ͳ͍؀ڥͰͷ403"$0.ར༻
    w ίϯςφͳͲͷԾ૝؀ڥͰͷ403"$0.ར༻
    ࠓճ͸ԼͭΛ঺հ͠·͢

    View full-size slide

  27. Ϋϥ΢υ؀ڥͰͷ403"$0.ར༻
    403"$0."SDΛ࢖ͬͯ"84-BNCEB͔Β403"$0.αʔϏεΛར༻͢ΔIUUQTRJJUBDPNTUTIJQJUFNTCBFDEDCFCEEE
    403"$0."SD͸σόΠε͚ͩ͡Όͳͯ͘Ϋϥ΢υͰ΋ಈ͔ͤΔΜͩΑʂͱ͍͏࿩IUUQTRJJUBDPNTUTIJQJUFNTBGEBEEECED
    "84-BNCEBͰ࢖͏ྫ
    &$΍'BSHBUFɺ$PEF#VJMEͳͲͰ΋࢖͑Δ
    w Ϋϥ΢υʹ෺ཧ4*.ૠ͢ͷ͸ෆՄೳͳͷͰࠓ·Ͱ͸Ͱ͖ͳ͔ͬͨɺΫϥ΢υͰ
    ͷ403"$0.ར༻͕Մೳʹ
    w ௨ৗͷར༻ͷଞɺ403"$0.αʔϏεΛ$*ʹ૊ΈࠐΉɺͳͲͷ༻్͕͋Γͦ͏

    View full-size slide

  28. ίϯςφ؀ڥͰͷ403"$0.ར༻
    403"$0."SDͱ%PDLFSͰ࡞ΔԾ૝σόΠεIUUQTRJJUBDPNTUTIJQJUFNTDEEFD
    w ίϯςφͷதʹԾ૝
    4*.ΛೖΕΔ͜ͱͰɺ
    ಉ͡෺ཧσόΠεͷத
    ʹෳ਺ͷ403"$0.
    ઀ଓΛ࡞ΕΔ
    w 403"$0.αʔϏε
    ͱ࿈ܞ͢ΔԾ૝σόΠ
    εͱͯ͠ίϯςφΠ
    ϝʔδΛఏڙɺͳΜͯ
    ͜ͱ΋Ͱ͖Δ͔΋
    ίϯςφͷݖݶʹ͸஫ҙ

    View full-size slide

  29. ࠓ೔࿩ͨ͜͠ͱ
    w 403"$0.͸Ͳ͜Ͱ΋࢖͍͍ͨ΄Ͳศརʂ͔ͩΒ
    403"$0."SD͕ٻΊΒΕ͍ͯͨɻ
    w 403"$0."SDͰ403"$0.͕࢖͑Δঢ়گ͕େ෯ʹ޿͕
    Δɻ403"$0.༗Γແ͠ͷͭͷߏ੒Λߟ͑ͳ͍͍ͯ͘ɻ
    ΍ͬͨͥʂ
    w ʮΫϥ΢υʯʮίϯςφʯͳͲɺࠓ·Ͱ403"$0.͕࢖͑ͳ
    ͔ͬͨͱ͜ΖͰ΋࢖͑ΔΑ͏ʹͳͬͨͷ͸໘ന͍
    ͱ͜ΖͰ"SDͷαʔϏεઆ໌ʹ͠Εͬͱೖ͍ͬͯΔʮӴ੕௨৴ʯؾʹͳΓ·͢ΑͶʁ

    View full-size slide

  30. "SDͳΒ
    ιϥίϜૠ͢ͷ΋
    Կͱ͔ͳΔ
    ݁࿦

    View full-size slide