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

IoT系サービス総まとめ+CDK関連アップデート/regrowth-iot-and-cdk

380bcd2ab751f5838abd8219df53e5fe?s=47 tomoki10
December 08, 2021

 IoT系サービス総まとめ+CDK関連アップデート/regrowth-iot-and-cdk

Classmethodのイベント「re:Growth」の発表で用意した内容です。
re:Inventで発表されたIoTサービスとCDKの話をまとめました。

380bcd2ab751f5838abd8219df53e5fe?s=128

tomoki10

December 08, 2021
Tweet

Transcript

  1. *P5ܥαʔϏε૯·ͱΊ $%,ؔ࿈Ξοϓσʔτ  $9ࣄۀຊ෦*P5ࣄۀ෦ ࠤ౻ஐथ

  2. ࣗݾ঺հ  w ࠤ౻ஐथ w Ϋϥεϝιουגࣜձࣾ w $9ࣄۀຊ෦*P5ࣄۀ෦ w લ৬ɿ4*FSͷ4&Λ೥ऑ

    w ݱࡏɿΠϯϑϥ݉αʔόʔαΠυ݉FUD w ޷͖ͳ"84αʔϏεɿ "84-BNCEBɺ"84$MPVE%FWFMPQNFOU,JU $%, @tomoki10 @tmk2154
  3. ຊൃදͷ಺༰  ࠓճͷൃදͷྲྀΕ w"84ͷ*P5ܥαʔϏε͸ͲΜͳ໨తͰ૿͍͑ͯΔͷ͔ wීஈ"84*P5ؔ࿈ͷαʔϏεΛ։ൃͰ࢖͍ͬͯΔΤϯδχΞͷࢹ఺Ͱ SF*OWFOUͰൃද͞ΕͨαʔϏεΛ঺հ w"84$%,ʹ͍ͭͯͲ͏ͯ͠΋࿩͔ͨͬͨͷͰ঺հ ର৅ͱͳΔࢹௌऀ w*P5ܥαʔϏε͕৭ʑൃදग़͚ͨͲ΋͏গ͠ৄࡉ͕஌Γ͍ͨํ w"84$%,ͷϢʔβ

  4. Ξοϓσʔτ໨࣍  w*P5ܥαʔϏεΞοϓσʔτ w "84*P53PCP3VOOFS w "84*P5(SFFOHSBTT w (SFFOHSBTT4PGUXBSF$BUBMPH w

    4ZTUFNT.BOBHFSͷίϯϙʔωϯτ௥Ճ w "84*P54JUF8JTF$PME4UPSBHF w "84*P55XJO.BLFS w "841SJWBUF( w "84*P5&YQSFTTMJOL w "84*P5%FWJDF.BOBHFNFOU'MFFU *OEFYJOH͕ͭͷσʔλιʔεʹ௥ՃରԠ w 'SFF3504Ͱͷ"84*P5΁ͷ઀ଓΛ؆୯ʹߦ ͑ΔσϞΛఏڙ w 'SFF3504ͷ֦ுϝϯςφϯεΛൃද w$%,Ξοϓσʔτ w $%,W͕͍ͭʹϦϦʔε w $%,$POTUSVDU)VC͕("
  5.  ͓Θͼ ෼͡Όશ෦͸ແཧͰͨ͠🙇

  6. ໨࣍मਖ਼൛ గਖ਼ઢͷ͍ͭͯͳ͍෦෼͚ͩ࿩͠·͢  w*P5ܥαʔϏεΞοϓσʔτ w "84*P53PCP3VOOFS w "84*P5(SFFOHSBTT w (SFFOHSBTT4PGUXBSF$BUBMPH

    w 4ZTUFNT.BOBHFSͷίϯϙʔωϯτ௥Ճ w "84*P54JUF8JTF$PME4UPSBHF w "84*P55XJO.BLFS w "841SJWBUF( w "84*P5&YQSFTTMJOL w "84*P5'MFFU8JTF w "84*P5%FWJDF.BOBHFNFOU'MFFU *OEFYJOH͕ͭͷσʔλιʔεʹ௥ՃରԠ w 'SFF3504Ͱͷ"84*P5΁ͷ઀ଓΛ؆୯ʹߦ ͑ΔσϞΛఏڙ w 'SFF3504ͷ֦ுϝϯςφϯεΛൃද w$%,Ξοϓσʔτ w $%,W͕͍ͭʹϦϦʔε w $%,$POTUSVDU)VC͕("
  7. "84*P5ܥαʔϏεͷ։ൃͷྲྀΕ  ֤αʔϏεͷಛ৭ w"84ͷαʔϏεʜجຊϚΠΫϩαʔϏεΛҙࣝͯ͠ߏங w*P5ܥͷαʔϏεʜ*P5αʔϏε։ൃͷϢʔεέʔεʹ͋ͬͨػೳΛ։ൃ *P5ͷαʔϏε։ൃ͸ΤϯδχΞϦϯάͷ૯߹֨ಆٕ AWS IoT Core IoT

    sensor AWS Cloud σόΠεଆ ϑϩϯτଆ ૹ৴ ໋ྩ ՄࢹԽ ໋ྩ ֤αʔϏεݻ༗Ͱͳ݁͘ߏ͓ܾ·ΓͰඞཁͳύλʔϯ͕͋Δ ࠩผԽʹܨ͕Βͳ͍෦෼͸ԣ۲Ͱ؅ཧͰ͖ΔαʔϏε͕ٻΊΒΕ͍ͯΔ … …
  8. "84*P53PCP3VOOFS 1SFWJFX  ϩϘοτ։ൃऀ͕Πϯϑϥ؅ཧͳ͠ͰɺγϛϡϨʔγϣϯΛ࣮ߦɺεέʔϦϯάɺ ࣗಈԽ͕Ͱ͖ΔΫϥ΢υϕʔεͷγϛϡϨʔγϣϯαʔϏε ը૾Ҿ༻ݩɿhttps://aws.amazon.com/jp/blogs/news/preview-aws-iot-roborunner-for-building-robot-fleet-management-applications/

  9. "84*P53PCP3VOOFS 1SFWJFX  ϩϘοτ։ൃऀ͕Πϯϑϥ؅ཧͳ͠ͰɺγϛϡϨʔγϣϯΛ࣮ߦɺεέʔϦϯάɺ ࣗಈԽ͕Ͱ͖ΔΫϥ΢υϕʔεͷγϛϡϨʔγϣϯαʔϏε before "ϕϯμʔ ϩϘοτͷ ؅ཧγεςϜ #ϕϯμʔ

    ϩϘοτͷ ؅ཧγεςϜ Aϕϯμʔ ϩϘοτ܈ Bϕϯμʔ ϩϘοτ܈ ϕϯμʔݻ༗ͷϩϘ/γεςϜͰ ؅ཧ͕೉͍͠ɻಠࣗʹ౷߹؅ཧγ εςϜΛ࡞Δͷ΋खؒ ؅ཧऀ ؅ཧऀ *P5 3PCP 3VOOFS after "ϕϯμʔ ϩϘοτͷ ؅ཧγεςϜ #ϕϯμʔ ϩϘοτͷ ؅ཧγεςϜ Aϕϯμʔ ϩϘοτ܈ Bϕϯμʔ ϩϘοτ܈ RoboRunnerܦ༝Ͱૢ࡞΍؂ࢹΛ ந৅Խ͠ϩϘοτΛָʹ؅ཧ
  10. "84*P53PCP3VOOFS 1SFWJFX  νϡʔτϦΞϧͷλεΫϚωʔδϟߏஙྫ ը૾Ҿ༻ݩɿhttps://docs.aws.amazon.com/iotroborunner/latest/dev/gettingstarted-tutorials.html

  11. "84*P53PCP3VOOFS 1SFWJFX  νϡʔτϦΞϧ΍഑෍͞Ε͍ͯΔιʔεΛಡΜͰൃදऀ͕ղऍͨ͠಺༰Λ௥ه ϕϯμʔݻ༗ͷಈ࡞Λٵऩͯ͠؅ཧγεςϜ΍ϩϘοτ΁ͷૢ࡞Λ൓ө ௥هը૾Ҿ༻ݩɿhttps://docs.aws.amazon.com/iotroborunner/latest/dev/gettingstarted-tutorials.html AWS Lambda ϕϯμʔAͷ ϩϘοτ؅ཧγεςϜ

    Amazon SQS AWS IoT Greengrass OR 4DSJQU ந৅Խ͞Ε໋ͨྩΛݸผϕϯμʔ޲͚ʹมߋ ϕϯμʔBͷ ϩϘοτ؅ཧγεςϜ ؅ཧऀ ૢ࡞ ૢ࡞ ૢ࡞ λεΫ෼ׂ λεΫׂ౰/ղআ ࠲ඪͷߋ৽ ΞΫγϣϯͷߋ৽ …
  12. "84*P5(SFFOHSBTT  (SFFOHSBTT4PGUXBSF$BUBMPH͕ެ։ར༻Մೳʹʂ "84νʔϜ΍(SFFOHSBTTͷίϛϡχςΟ͕࡞੒ͨ͠ίϯϙʔωϯτ͕ར༻Մೳ ࠩผԽʹܨ͕Γʹ͍͘։ൃ෦෼Λखܰʹ࣮૷ՄೳʹͳΔ GitHub্Ͱίϯϙʔωϯτ͕ެ։ ίϯϙʔωϯτͷྫ • σόΠεΧϝϥ͔ΒKinesisVideoStream΁ͷసૹ •

    ΤοδଆͰͷGrafanaʹΑΔσʔλՄࢹԽ • ΤοδଆͰͷ࣌ܥྻDB(InfluxDB)ͷར༻ • σόΠεͰGreengrassΛಈ͔ͨ͢Ίͷ࠷খߏ੒ • DeviceDefender΁ͷ௨஌ • σόΠεͷNW઀ଓঢ়گΛ؂ࢹ/ߋ৽ https://github.com/aws-greengrass/aws-greengrass-software-catalog
  13. (SFFOHSBTTͷύϒϦοΫίϯϙʔωϯτʹ4ZTUFNT.BOBHFS"HFOUͷ ίϯϙʔωϯτ͕௥Ճ ར఺ɿσόΠεଆʹೖͬͯ44."HFOUͷΞΫςΟϕʔγϣϯ͕ෆཁʹͳͬͨ σόΠεͷ؅ཧʹ44.Λར༻͢ΔͨΊͷෑډ͕Լ͕ͬͨʂ "84*P5(SFFOHSBTT  AWS IoT Greengrass AWS

    Systems Manager ։ൃऀ σόΠεଆ AWS Cloud
  14. "84*P54JUF8JTF  w"84*P54JUF8JTF͕$PME4UPSBHFʹରԠ w"84*P54JUF8JTFͱ͸ ࢈ۀػثͷେن໛ͳσʔλΛऩूɺϞσϧԽɺՄࢹԽͳͲΛߦ͏αʔϏε w4JUF8JTF͸ैདྷ4JUF8JTF಺ͷ࣌ܥྻ%#͔"NB[PO5JNFTUSFBNʹσʔλ͕ อଘ͞Ε͍ͯͨɻ4ͳͲʹൺ΂Δͱׂߴͳઃఆʹͳ͍ͬͯͨ˞  before after

    ։ൃऀ ͕࣌ؒա͗ͨΒෆཁͳσʔλ͕ ଟ͍ͷʹߴ͍ͳ͋ AWS IoT SiteWise AWS Cloud ࣌ܥྻ %# ˞"844JUF8JTFͷσʔλετϨʔδՁ֨ɿIUUQTBXTBNB[PODPNKQJPUTJUFXJTFQSJDJOH AWS IoT SiteWise AWS Cloud ࣌ܥྻ %# Amazon S3 6࣌ؒͰୀආ ։ൃऀ ͳΜ͔҆͘ͳͬͨ
  15. "84*P55XJO.BLFS 1SFWJFX  wσδλϧπΠϯͱ͸ ݱ࣮ͷੈք͔Βऩू༷ͨ͠ʑͳσʔλΛɺ·ΔͰ૒ࢠͰ͋Δ͔ͷΑ͏ʹɺίϯ ϐϡʔλ্Ͱ࠶ݱ͢Δٕज़ͷ͜ͱ˞ wσδλϧπΠϯͷ࡞੒ʹ͸ҎԼΛ౷߹࣮ͯ͠૷͢Δඞཁ͕͋ͬͨ wσόΠεσʔλ͔ΒͷϦΞϧλΠϜʹσʔλιʔεΛऔಘ͢Δ࣮૷ wϏδϡΞϧΞηοτ %Ϟσϧ

    μογϡϘʔυͷ࣮૷ w্هσʔλιʔεͱΞηοτμογϡϘʔυͷ݁߹ w෼ੳ.-πʔϧʹΑΔঢ়ଶͷऩू༧ଌ ˞Ҿ༻ݩɿʮσδλϧπΠϯͱ͸ʁҙຯɾఆٛc*5τϨϯυ༻ޠc/55ίϛϡχέʔγϣϯζʯIUUQTXXXOUUDPNCJ[POHMPTTBSZKUEJHJUBMUXJOIUNM
  16. "84*P55XJO.BLFS 1SFWJFX  w "84*P55XJO.BLFS͕୲͏ػೳ w σʔλιʔεͱ઀ଓ͢ΔͨΊͷσʔλίωΫλʔΛఏڙ w ϞσϧϏϧμʔͰϏδϡΞϧΞηοτΛఏڙ w

    (SBGBOB΍.BOBHFE(SBGBOBʹΑΔμογϡϘʔυͷ࡞੒ࢧԉ Amazon Kinesis Video Streams AWS IoT SiteWise ֎෦ Ϧιʔε Amazon EC2 ࣗલ͔֎෦ιϑτ΢ΣΞ Ϟσϧ Ϗϧμʔ ίωΫλʔ γʔϯίϯ ϙʔβʔ Amazon Managed Service for Grafana Amazon Kinesis Video Streams AWS IoT SiteWise ֎෦ Ϧιʔε Amazon Managed Service for Grafana *P55XJO .BLFS AWS Lambda before after ը૾Ҿ༻ݩɿhttps://aws.amazon.com/jp/blogs/news/introducing-aws-iot-twinmaker/
  17. "84*P5&YQSFTTMJOL  w "84্΁ͷηΩϡΞͳ઀ଓΛઃఆࡁͷίωΫςΟϏςΟσόΠε͕ఏڙ w ैདྷͷ໰୊ w ޻৔ग़ՙ࣌ʹηΩϡΞΤϨϝϯτ΁"84઀ଓ༻ͷূ໌ॻͷ࢓ࠐΈ͕ඞཁ w ग़ՙޙ΋ηΩϡϦςΟ΍ωοτϫʔΫ༻ͷϥΠϒϥϦͷߋ৽͕ඞཁ

    w "84*P5&YQSFTTMJOLͷར఺಺༰ w σόΠε։ൃؚΊ͔ͯΒ্ཱͪ͛Δ৔߹͸ɺূ໌ॻΛຒࠐࡁͰग़ՙग़དྷΔͷͰ։ൃ΍ӡ༻ͷखؒΛ࡟ݮ w σόΠεͷߋ৽͸*P5+PC΍05"ɺ*P5%FWJDF.BOBHFNFOUɺ*P5%FWJDF%FGFOEFSͰՄೳ σόΠεൢചձࣾͷ৘ใΛݟΔͱɺ*P5$PSFશൠͷαʔϏε͸઀ଓग़དྷͦ͏˞  w ଞʹ͸4ɺ&$ɺ4BHF.BLFS΋ར༻Մೳ ※ࢀߟσόΠεɿhttps://devices.amazonaws.com/detail/a3G0h00000E2MC1EAN/AWS-IoT-ExpressLink-SARA-R5-Starter-Kit
  18. "84*P5&YQSFTTMJOL  w"841BSUOFS%FWJDF$BUBMPHͰର৅σόΠεΛߪೖՄೳ ※ࢀߟURLɿhttps://devices.amazonaws.com/search?page=1&sv=iotxplnk

  19. "84*P5'MFFU8JTF 1SFWJFX  wं྆σʔλͷχΞϦΞϧλΠϜऔಘɾม׵ɾసૹʹಛԽͨ͠αʔϏε wϢʔεέʔε wࣗಈӡసͷίϯϐϡʔλϏδϣϯͷτϨʔχϯά wं྆σʔλͷ඼࣭໰୊Λݕग़ͯ͠อଘ͠ૌুʹඋ͑Δ wंମ৘ใͱఱީ৘ใ͔Β&7ͷ૸ߦՄೳڑ཭Λਪఆ wಓ࿏ঢ়ଶͷมԽΛυϥΠόʔʹ௨஌

  20.  ͔͜͜Β"84$%,

  21. "84$%,W("🎉  w"84ϦιʔεΛͳΕͨϓϩάϥϛϯάݴޠͰߏஙͰ͖Δ"84$%,ͷW͕͍ͭ ʹϦϦʔε͞Ε·ͨ͠ʂʂʂ wWͷར఺ w"84αʔϏε͝ͱʹόϥόϥʹΠϯϙʔτ͢Δ͜ͱ͕ෆཁޡͬͯόʔδϣϯ ҧ͍ͰΠϯϙʔτͯ͠ΤϥʔʹͳΔݱ৅Λ๷ࢭ˞  w&YQFSJNFOUBMͳػೳ͕෼཭͞Εɺޡͬͯ࢖༻͢Δ͜ͱΛ๷ࢭ wϑϥά؅ཧ͞Ε͍ͯͨ௥Ճػೳ

    ৽͍͠CPPUTUSBQͳͲ ͕σϑΥϧτͰ࣮ߦ w%FQSJDBUFEʹͳ͍ͬͯͨػೳύϥϝʔλ͕࡟আ͞Εޡͬͨ࢖༻Λ๷ࢭ ˞ࢀߟɿIUUQTTQFBLFSEFDLDPNUPNPLJLOPXIPXGSPNJOJUJBMEFWFMPQNFOUUPPQFSBUJPOPOIPXUPVTFBXTDEL TMJEF
  22. "84$%,$POTUSVDU)VC("🎉  w$POTUSVDU)VCͱ͸ w"84΍044ίϛϡχςΟɺΫϥ΢υϓϩόΠμʔ͕ެ։͢Δ$%,ͷύοέʔ δΛڞ༗͢ΔͨΊͷϓϥοτϑΥʔϜ https://constructs.dev/ Ϋϥ΢υϓϩόΠμʔ͕ެ։͍ͯ͠Δྫ • DataDogͱ࿈ܞ https://github.com/DataDog/datadog-cdk-constructs

    ίϛϡχςΟ͕ެ։͍ͯ͠Δྫ • ϦʔδϣϯؒΫϩεελοΫࢀর࣮૷ͷ؆қԽ https://constructs.dev/packages/cdk-remote-stack/ • IAM Policy࣮૷ͷ؆қԽ https://constructs.dev/packages/cdk-iam-floyd/ • GitLab Runnerͷ࡞੒ https://constructs.dev/packages/cdk-gitlab-runner/ • σʔλͷೖ͍ͬͯΔS3όέοτͷ࡟আ https://constructs.dev/packages/cdk-s3bucket-ng/
  23. None