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

IoTデバイスのつらみ isaaxで解消しましょう

IoTデバイスのつらみ isaaxで解消しましょう

Armadillo IoT G3Lを使った一気通貫ハンズオン勉強会での発表内容

Tomoyuki Sugita

August 21, 2018
Tweet

More Decks by Tomoyuki Sugita

Other Decks in Technology

Transcript

  1. IoTσόΠεͷͭΒΈ
    isaaxͰղফ͠·͠ΐ͏
    2018.08.21 Tue @WingArc 1st
    Isaax ਿా஌ࢸ

    View full-size slide

  2. ࣗݾ঺հ
    ਿా஌ࢸ!UPNPUPNPCJMF
    w ৬ྺ
    w ֶੜىۀՈ
    w ΫοΫϏζגࣜձࣾ։ൃ෦
    w גࣜձࣾ94)&--Ϗδωε։ൃ
    w ͦͷଞ
    w ೥݄ɺେࡕϚϥιϯΛ׬૸
    w ίϛϡχςΟ׆ಈɿ

    $PEFS%PKP*P5-5+"846(*P5ઐ໳ࢧ෦
    w Ϗʔϧͱ೔ຊञ͕େ޷͖Ͱ͢
    w 1)1ͱ+BWBTDSJQU͕Ͱ͖·͢

    View full-size slide

  3. ΤϯδχΞͷͨΊͷ
    8PSE1SFTT։ൃೖ໳
    ٕज़ධ࿦ࣾ
    ͔Βग़൛
    ஶॻ ڞஶ
    ͷ঺հ

    View full-size slide

  4. ✦ *P5-5WPM
    ✦ JTBBY6(͘͞ΒΫϥϒڞ࠵*P5ษڧձ
    ✦ /PEF3&%6(0TBLBษڧձ
    ✦ 3BTQCFSSZ+BN#JH#JSUIEBZ8FFLFOEJO50,:0
    ✦ 4*FS*P5-5WPM
    ✦ *4*%ࣾ಺ษڧձ
    ✦ 4*FS*P5-5WPM
    ✦ JSFUࣾ಺ษڧձ
    ✦ Ϋϥ΢σΟΞϯࣾ಺ษڧձ
    ✦ 4*FS*P5-5WPM
    ✦ ηϥΫΈΜͳͷ৘೤େֶ
    ✦ ৘ใՊֶઐ໳ֶߍ
    ✦ *P5-5º*P5"-(:"/ ͋Δ͡ΌΜ
    Նͷେ-5ࡇΓʂ!"#$4*P5τ
    ϥοΫ
    ✦ 4*FS*P5-5WPM
    ✦ *P5-5WPM
    ✦ ৘ใՊֶઐ໳ֶߍ
    ✦ "1*.FFUVQ5PLZPʮ*P5"1*-5ʯ
    ✦ 4*FS*P5-5WPM
    ࠷ۙͷࣾ֎Ͱͷొஃྺ

    View full-size slide

  5. גࣜձࣾ94)&--ʢΤΫγΣϧʣ
    ઃཱ ೥݄
    ࣄۀ *P5޲͚ιϑτ΢ΣΞϋʔυ΢ΣΞ։ൃ੡඼σβΠϯ
    ࢿຊۚ ԁ
    ैۀһ਺ ໊ʢඇৗۈϝϯόʔؚΉʣ
    ॴࡏ஍ ౦ژ౎඼઒۠੢ޒ൓ాɹ߸
    63- IUUQTYTIFMMJP
    ओཁגओ άϩʔόϧɾϒϨΠϯ߸౤ࢿࣄۀ༗ݶ੹೚૊߹
    גࣜձࣾి௨ࠃࡍ৘ใαʔϏεʢ*4*%ʣ
    ,%%*৽نࣄۀҭ੒߸౤ࢿࣄۀ༗ݶ੹೚૊߹
    .4*7$7౤ࢿࣄۀ༗ݶ੹೚૊߹
    զʑͷಇ͖Ͱɺզʑͷੜ׆Λվળ͠ੈքΛΑΓࣗ༝ʹ

    View full-size slide

  6. ϝσΟΞܝࡌ࣮੷

    View full-size slide

  7. isaaxΛ࢖͏ͱIoTσόΠεͷ։ൃ͕؆୯
    ։ൃ
    ίʔυΛ1VTI
    Ξοϓσʔτ

    View full-size slide

  8. JTBBYΛ࢖͏ͱ*P5σόΠεͷ։ൃ͕؆୯
    ͭͶʹɺ
    ͢΂ͯΛ࠷৽ʹʂ
    ։ൃ؀ڥͰ্ख͘
    ಈ͍ͨ΋ͷΛ1VTI

    View full-size slide

  9. ͓෇͖߹͍ͷ͋ͬͨۀք
    ɾΫϥ΢υηΩϡϦςΟ
    ɾεϚʔτ޻৔
    ɾ঎ࣾ
    ɾ௨৴Πϯϑϥ
    ɾυϩʔϯ
    ɾ*P5ϝʔΧʔ
    *P5Ҋ݅΋৭ʑ΍Γ·ͨ͠

    View full-size slide

  10. *P5Ҋ݅ͷ঎ஊΛز౓΋΍ͬͯ
    ࣮ࡍʹฉ͍͓ͨ࿩

    View full-size slide

  11. "͜Ε͔Β*P5Λ׆༻͍ͨ͠
    #΋͏*P5Λ׆༻͍ͯ͠Δ
    ͓٬༷ͷύλʔϯ͸େ͖͘ύλʔϯ
    ͬͪ͜ͷ࿩

    View full-size slide

  12. ੒ޭͨ͠*P5͸Θ͔ͣˋ
    Ҿ༻ɿ4෼ͷ3ۙ͘ͷIoTϓϩδΣΫτ͸ʮࣦഊʯʁɹ͔ͦ͠͠ͷઌʹᴷᴷγείௐࠪɿʮ੒ޭཁૉʯͱύʔτφʔΤίγεςϜͷؔ܎ - ˏIT
    http://www.atmarkit.co.jp/ait/articles/1705/25/news092.html

    View full-size slide

  13. ʮͷ੒ޭ͓ͨ͠٬༷Ͱ΋
    ͜Μͳ೰Έ͕͋Γ·͢ʯ
    ͱ͍͏͜ͱΛ͓࿩͠·͢

    View full-size slide

  14. έʔεελσΟɿେखϝʔΧʔ

    View full-size slide

  15. έʔεελσΟɿେखϝʔΧʔ
    ژ౎ͷࢁԞʹωοτϫʔΫΧϝϥΛ਺୆ઃஔ͠·ͨ͠
    ˞Πϝʔδ

    View full-size slide

  16. έʔεελσΟɿେखϝʔΧʔ
    ઌ೔ɺηΩϡϦςΟΞοϓσʔτ͕ඞཁʹͳΓࢁͷ্·Ͱొͬ
    ͯΞοϓσʔτ͖ͯ͠·ͨ͠ɻ
    ˞Πϝʔδ

    View full-size slide

  17. ͤΊͯɺ71/ுͬͯ
    ϦϞʔτͰϩάΠϯͰ͖Δ
    Α͏ʹ͠Α͏

    View full-size slide

  18. ࢁͷ্ʹߦ͔ͳͯ͘΋44)Ͱ͖ΔΑ͏ʹ
    ͜Μͳ͔Μ͡
    άϩʔόϧ*1
    44)
    ΞοϓσʔτίϚϯυ࣮ߦ
    @ΦϑΟε @ࢁͷ্

    View full-size slide

  19. ࢁͷ্ʹߦ͔ͳͯ͘΋44)Ͱ͖ΔΑ͏ʹ
    ͦ΋ͦ΋ϦϞʔτͰSSHͰ͖Δͷͬͯ
    ޚࣾͷηΩϡϦςΟϙϦγʔతʹେৎ෉ʁ
    άϩʔόϧ*1
    44)
    ΞοϓσʔτίϚϯυ࣮ߦ
    @ΦϑΟε @ࢁͷ্

    View full-size slide

  20. έʔεελσΟɿγεςϜϕϯμʔ

    View full-size slide

  21. έʔεελσΟɿγεςϜϕϯμʔ
    ೔ຊશࠃʹ*P5ήʔτ΢ΣΠΛ਺ඦ୆ઃஔ͠·ͨ͠
    ˞Πϝʔδ

    View full-size slide

  22. έʔεελσΟɿγεςϜϕϯμʔ
    άϩʔόϧ*1
    44)
    ୆ͣͭ44)ͰϩάΠϯͯ͠ػೳ௥Ճͨ͠ΓɺηΩϡϦςΟ
    ΞοϓσʔτΛ࣮ߦ͍ͯ͠·͢ɻͻͱΓͷਓ͕ɻ
    44)
    44)
    44)

    View full-size slide

  23. ͻͱΓͷਓ͕ʂ

    View full-size slide

  24. έʔεελσΟɿγεςϜϕϯμʔ
    ৽͍͠ηϯαʔ͕૿͑ͨͱ͖͸ݱ஍ʹߦ͘͜ͱ΋͋Γ·͢
    ˞Πϝʔδ

    View full-size slide

  25. άϩʔόϧ*1
    44)
    ͔ͤͬ͘͜͜·Ͱ࢓૊Έ࡞ͬͨͷʹ
    44)
    44)
    44)
    έʔεελσΟɿγεςϜϕϯμʔ

    View full-size slide

  26. έʔεελσΟɿγεςϜϕϯμʔ
    ඈͿΜͰ͢Ͷ
    ˞Πϝʔδ

    View full-size slide

  27. άϩʔόϧ*1
    44)
    ͔ͤͬ͘͜͜·Ͱ࢓૊Έ࡞ͬͨͷʹ
    44)
    44)
    44)
    έʔεελσΟɿγεςϜϕϯμʔ
    ͦ΋ͦ΋ϦϞʔτͰSSHͰ͖Δͷͬͯ
    ޚࣾͷηΩϡϦςΟϙϦγʔతʹେৎ෉ʁ
    ʢ2ճ໨ʣ

    View full-size slide

  28. ຊ൪Քಇͨ͠γεςϜͷ
    ϝϯςφϯε͸
    ࢥ͍ͷ΄͔େมͰ͢

    View full-size slide

  29. ΋ͬͱָ͠·͠ΐ͏

    View full-size slide

  30. JTBBYΛ࢖͍ͬͯΕ͹ʜ
    ΦϑΟε͔Β
    ೔ຊதͷσόΠεΛ
    Ξοϓσʔτ
    ։ൃ؀ڥͰ্ख͘
    ಈ͍ͨ΋ͷΛ1VTI

    View full-size slide

  31. ࢁʹొΔସΘΓʹ

    View full-size slide

  32. HJUQVTI͚ͩͰࡁ·ͤΑ͏

    View full-size slide

  33. άϩʔόϧ*1
    44)
    44)
    44)
    44)
    44)ؤுΔସΘΓʹ

    View full-size slide

  34. (JUQVTIͰࡁ·ͤ·͠ΐ͏

    View full-size slide

  35. ݱ஍ʹඈͿมΘΓʹ
    ˞Πϝʔδ

    View full-size slide

  36. (JUQVTIͰࡁ·ͤ·͠ΐ͏
    ˞Πϝʔδ

    View full-size slide

  37. ͨͬͨͷεςοϓͰ࣮ݱͰ͖Δ
    (JUϓϩδΣΫτͱJTBBYϓϩδΣΫτΛඥ෇͚Δ
    σόΠεʹJTBBYΤʔδΣϯτΛΠϯετʔϧʢϫϯϥΠφʔʣ
    ։ൃͨ͠σόΠεΞϓϦέʔγϣϯΛ(JUʹ1VTI͢Δ͚ͩ
    (JU͔ΒσόΠε·Ͱ͸JTBBY͕ࣗಈͰ΍ͬͯ͘ΕΔ

    View full-size slide

  38. ຊ൪Քಇ͢Δ·Ͱͷϑϩʔ
    ։ൃϑΣʔζ
    ͱʹ͔͘σόΠε͕ಈ͘Α͏ʹ͢Δɻ
    σόΠεʹ௚઀઀ଓͯ͠։ൃɻ
    ্ख͘ಈ͍ͨίʔυΛ(JUʹίϛοτɻ
    1P$ϑΣʔζ
    ϓϩμΫγϣϯ
    ϑΣʔζ
    ։ൃ؀ڥ ݕূ؀ڥ
    ݕূ؀ڥͰςετͨ݁͠ՌΛݩʹ
    ։ൃ؀ڥͰΞϓϦέʔγϣϯͷमਖ਼ɻ
    ؅ཧ͢ΔσόΠε͸̎ʙ୆ఔ౓ɻ
    ։ൃ؀ڥ
    ݕূ؀ڥ
    ຊ൪؀ڥ
    ग़ՙޙͷσόΠεΛ௚઀ϝϯςφϯε
    ͢Δ͜ͱ͕ۃ୺ʹ೉͘͠ͳΔɻ
    JTBBYͰݕূ؀ڥʹσϓϩΠɻ
    ΞϓϦͷόάमਖ਼΍ηΩϡϦςΟߋ৽
    ͸JTBBY͚ͩͰ׬݁ɻ

    View full-size slide

  39. ໌ޙ೔ޒ൓ాͰϋϯζΦϯ΍Γ·͢
    IUUQTJTBBYVHDPOOQBTTDPNFWFOU
    DPOOQBTTͰड෇த̇

    View full-size slide

  40. *TBBY*P5ΤϯδχΞཆ੒Ωοτ
    IUUQTYTIFMMJPJTBBYJPUFOHJOFFSLJU
    ຖ݄ಧ͘ΩοτͰ*P5։ൃΛϚελʔ͠Α͏ɾֹ݄ສԁ

    View full-size slide

  41. (-ͷ؀ڥม਺ΛϦϞʔτͰߋ৽ͯ͠Έ·͢
    ͨͩ͠ɺ
    (-ʹϦϞʔτϩάΠϯ͸͠·ͤΜ
    ࠓ͔Β΍Δ͜ͱ

    View full-size slide

  42. "SNBEJMMPʹϩάΠϯ
    $ ssh [email protected]
    password: atmark
    atmark@armadillo:~$ su
    ύεϫʔυ: root

    View full-size slide

  43. JTBBYEͷΠϯετʔϧ
    # curl -fsSL get.isaax.io | sh -s stable
    eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ
    0IjoicHJvamVjdCIsInBsIjp7ImNsIjoiMWJiNjJ
    iOGQtZjk1Yy00NzE1LThkYmItZjk1NzVhNzc1ZDg
    3IiwicCI6IjFjM2Q1ZjEwLTBiMzUtNDM4Yy05ZjR
    iLTNlOGYzODc4NjNiNCJ9fQ.Htg79jMq_770p21N
    5yPlyC5i_Ui0b1PVxlvM0hMr_D4

    View full-size slide

  44. ΞϓϦέʔγϣϯͷ಺༰͸ͪ͜ΒΛݟͯͶ
    IUUQTHJUIVCDPN"CJEFBM%FNP"SNBEJMMP
    *P5(-@*4""9
    ͜ͷॠؒ(-ʹΞϓϦέʔγϣϯ͕഑৴͞Ε·ͨ͠

    View full-size slide

  45. Έͳ͞Μͷ४උ͸͜͜·Ͱ

    View full-size slide