早起き、学習、AWS!/20200623-jawsug-asa

Ea29e2b19d11b48f867ae71d6a6de5df?s=47 opelab
June 23, 2020

 早起き、学習、AWS!/20200623-jawsug-asa

AWS-UG朝会 #10 ( https://jawsug-asa.connpass.com/event/179035/ )での発表資料です。

Ea29e2b19d11b48f867ae71d6a6de5df?s=128

opelab

June 23, 2020
Tweet

Transcript

  1. Operation Lab ӡ༻ઃܭϥϘ ӡ༻ઃܭϥϘ߹ಉձࣾ ૣى͖ɺֶशɺ"84 1  γχΞΞʔΩςΫτ೾ా໺༟Ұ

  2. Operation Lab ӡ༻ઃܭϥϘ +"846(ேձͷ͖͔͚ͬ ೥य़ 2 ͸ͨͷ͞ʔΜ ໨ࠇͰேษڧձ͠·ͤΜ? ͍͍ͬ͢Ͷʔ LambdaͷCLIϋϯζΦϯ΍Γ͍ͨ

    4"͞Μ ೾ా໺ ૣى͖ɺֶशɺ"84
  3. Operation Lab ӡ༻ઃܭϥϘ ੈքͰ࠷ॳʹே͕དྷΔϦʔδϣϯ͸ 3 Ͳ͜Ͱ͠ΐ͏ ૣى͖ɺֶशɺ"84

  4. Operation Lab ӡ༻ઃܭϥϘ ੈքͰ࠷ॳʹே͕དྷΔϦʔδϣϯ͸ 4 • BQTPVUIFBTU γυχʔ  •

    (.5  • BQOPSUIFBTU ౦ژ  • (.5  ౦ژ͸ۇࠩͰҐ ૣى͖ɺֶशɺ"84
  5. ࢀߟ"84$-*ͷϦϦʔε • ͍͍ͩͨ65$͔࣌Β࣌ࠒʹϦϦʔε • ͭ·Γɺ೔ຊ࣌ؒޕલ͔࣌Β࣌ࠒʹ૬౰ Operation Lab ӡ༻ઃܭϥϘ 5 ੈքͰ൪໨ʹૣ͘࢖͑Δ

    ૣى͖ɺֶशɺ"84 "84$-*͸ɺࠓேޕલ࣌ϦϦʔε
  6. Operation Lab ӡ༻ઃܭϥϘ ੈքͰ൪໨ʹே͕དྷΔ౦ژϦʔδϣϯͰ͸ 6 ૣى͖ɺֶशɺ"84 ૣى͖͸͓ಘ ੈքͰ൪໨ʹ৽ػೳ ৽αʔϏε͕࢖͑Δ Մೳੑ͕ߴ͍

  7. Operation Lab ӡ༻ઃܭϥϘ ͨͿΜੈքͰ࠷ॳͷ4ϦϦʔεप೥ύʔςΟ ே 7 ૣى͖ɺֶशɺ"84

  8. Operation Lab ӡ༻ઃܭϥϘ +"846(ேձͷྺ࢙ ೥ͷΈ 8 ૣى͖ɺֶशɺ"84 CLIϋϯζΦϯ -BNCEBϒϧʔϓϦϯτΛ࢖ͬͨ

  9. Operation Lab ӡ༻ઃܭϥϘ +"846(ேձϩΰͷ஀ੜ 9 ૣى͖ɺֶशɺ"84 ͋Γ͕ͱ͏͍͟͝·͢ ӡӦνʔϜڮຊ͞Μ੡࡞

  10. Operation Lab ӡ༻ઃܭϥϘ Ϋϥ΢υΤϯδχΞͷະདྷ  Ϋϥ΢υਓࡐҭ੒ηϛφʔɹ ։ൃνʔϜʹ͓͚Δ"84ֶशํ๏ͱ"84ೝఆͷ༗ޮ׆༻๏ https://speakerdeck.com/opelab/20170905-the-study-aws-storategy-for-on-premise-engineers

  11. Operation Lab ӡ༻ઃܭϥϘ • ͍ͭɺͲ͜Ͱ΋࢖͑Δٕज़Λɺৗʹֶ΂Δ؀ڥʹͳͬͨɻ ΦϯϓϨWTΫϥ΢υ࣌୅ͷΤϯδχΞ૾ • ʮ*5ࢿ࢈ʯΛ૿΍͢࢓ࣄ͕Ֆܗͩͬͨ ࢿ࢈Խ •

    ৽ٕज़Λ਎ʹ෇͚ΔͨΊʹ͸ɺ;͞Θ͍͠ݱ৔ʹ͍Δඞཁ͕͋ͬͨɻ ࢓ࣄ ֶश • Ϗδωεͷച্ݪՁͱͯ͠*5ٕज़Λ࢖͏࢓ࣄ͕ओྲྀʹ අ༻Խ ૣى͖ɺֶशɺ"84
  12. Operation Lab ӡ༻ઃܭϥϘ ΤϯδχΞͷʮઐ໳ੑʯͷมԽ ࠓޙ໨త ՝୊ղܾ ࢦ޲΁ ಓ۩͸୯ͳΔʮखஈʯ • *5ࢿ࢈͸ຊ౰ͷҙຯͰਵ࣌ௐୡͱͳΔɻ

    • ࡞ΓࠐΈ͔Β࢖͍ࣺͯ΁ • *5ࢿ࢈Λ࢖ͬͯʮԿΛ͍ͨ͠ͷ͔ʯ͕ৗʹ໰ΘΕΔɻ • खஈॏࢹ͔Β໨తॏࢹ΁ • มԽͷܹ͍࣌͠୅ʹৗʹٻΊΒΕΔͷ͸εϐʔυײɻ • ࣮֬ੑΑΓ΋ਝ଎ੑ ૣى͖ɺֶशɺ"84
  13. Operation Lab ӡ༻ઃܭϥϘ εΩϧͷ٬؍Խ Ϋϥ΢υͷಛ௃ • Ϋϥ΢υωΠςΟϒ࣌୅͸ɺ୭Ͱ΋ಉ͡ج൫ʹ৮ΕΔ͜ͱ͕Ͱ ͖ΔΑ͏ʹͳͬͨɻ • Ϋϥ΢υ্ͷߏஙεΩϧʹ͍ͭͯ͸ɺग़୊

    ಛఆͷཁ݅ ʹରͯ͠ ͲΜͳઃఆ +40/ ϑΝΠϧΛॻ͍ͯ͘Δ͔ɺͰ٬؍Խ͕Մೳɻ εΩϧͷғ͍ࠐΈ ൿ఻ ͸Ͱ͖ͳ͍࣌୅ʹ ैདྷ͸ɺಛఆͷϋʔυ΢ΣΞ΍ϛυϧ΢ΣΞ΍ΞϓϦέʔγϣϯͷܦݧΛੵΉʹ͸ɺ ͦΕΒΛอ༗͢Δݱ৔Ͱͷܦݧ΍ܦݧऀ͔ΒͷεΩϧసૹ͕ඞཁͩͬͨɻ Ή͠Ζ৘ใൃ৴͢Δਓʹ৘ใ͕ू·Δ ૣى͖ɺֶशɺ"84
  14. Operation Lab ӡ༻ઃܭϥϘ ༨ஊΫϥ΢υ࣌୅ͷ࢒ࠅͳਅ࣮ ՝୊ ಛఆͷཁ݅ ʹରͯ͠ͲΜͳઃఆ +40/ ϑΝΠϧΛॻ͍ͯ͘Δ͔ɺͰ٬؍Խ͕Մೳɻ Ϋϥ΢υ؀ڥͰ͸ɺ୭Ͱ΋ಉ͡ج൫ʹ৮ΕΔ͜ͱ͕Ͱ͖Δɻ

    ΫϨδοτΧʔυຕ͋Ε͹ɺߴߍੜ΋ϕςϥϯΤϯδχΞ΋ ٕज़తʹಉ͡౔ඨ্Ͱಆ͑Δ࣌୅ʹͳͬͨɻ +40/ຕॻ͔ͤΕ͹ɺߴߍੜ΋ϕςϥϯΤϯδχΞ΋ ٕज़తʹಉ͡౔ඨ্ͰධՁͰ͖Δ࣌୅ʹͳͬͨɻ ࣮ࡍͷ஌ࣝͱܦݧ͚ͩͰධՁ͞ΕΔ࣌୅ʹ ܦݧ೥਺͸ؔ܎ͳ͍ ૣى͖ɺֶशɺ"84 :".-Ͱ΋0,
  15. Operation Lab ӡ༻ઃܭϥϘ "84ֶशͷத௕ظઓུ  Ϋϥ΢υਓࡐҭ੒ηϛφʔɹ ։ൃνʔϜʹ͓͚Δ"84ֶशํ๏ͱ"84ೝఆͷ༗ޮ׆༻๏ https://speakerdeck.com/opelab/20170905-the-study-aws-storategy-for-on-premise-engineers

  16. ࢀߟεʔύʔΤϯδχΞʹͳΔ • ·ͣ͸ɺͱʹ͔͘ʮ࣮ࡍʹ৮ͬͯΈΔʯ͜ͱ͕ୈҰาɻ • ཭Εͨ෼໺Λ͍͔ͭ͘ܦݧ͍ͯ͠ΔͱɺࠩผԽ͠΍͍͢ɻ • *5ʹ͍ͭͯ͸ɺந৅Խೳྗ ઃܭೳྗ ͱ۩ମԽೳྗ ࣮૷ೳྗ

    ͷ όϥϯε͕ॏཁɻ • ௧͍໨ʹ͋ͬͨܦݧ͸ಛʹಘ೉͍ࡒ࢈ʹͳΔɻ Operation Lab ӡ༻ઃܭϥϘ ͍ΘΏΔεʔύʔΤϯδχΞ͔Ͳ͏͔͸ɺ ஌͍ͬͯΔ͔ɺܦݧ͍ͯ͠Δ͔ɺ͕େ͖͍ɻ ˞ൃදऀ͸εʔύʔΤϯδχΞͰ͸͋Γ·ͤΜɻ ૣى͖ɺֶशɺ"84
  17. ࢀߟࢥߟΛॊೈʹ࣋ͭ • Ϋϥ΢υͱΦϯϓϨϛεͰࣅͨ֓೦͸ྑ͘ग़ͯ͘Δɻ • ͔͠͠શ͘ಉ͡ɺͱ͍͏͜ͱ͸͋·Γແ͘ɺͲ͔͜ʹΫϥ΢υΒ ͕͠͞જΜͰ͍Δɻ • Ϋϥ΢υٕज़ʹ৮ΕΔ৔߹͸ɺݠڏʹࢹ໺Λ޿࣋ͭ͘͜ͱ΋େࣄ • 71$͸ΦϯϓϨΤϯδχΞʹ͸਌͠Έқ͍͕ɺܦݧऀͷํ͕ࢥ͍

    ࠐΈͰτϥϒϧʹͳΓ΍͍͢ɻ Operation Lab ӡ༻ઃܭϥϘ ஌͍ͬͯΔ͔ɺܦݧ͍ͯ͠Δ͔ɺ͕େ͖͍ɻ ͷͰ͕͢ɺ؍೦ʹറΒΕͨΓࢥ͍ࠐΈ͸ةݥɻ ૣى͖ɺֶशɺ"84
  18. த௕ظઓུ"84ͱ෇͖߹͍͸͡ΊΔ Operation Lab ӡ༻ઃܭϥϘ ͱʹ͔͘ɺ"84ͱ෇͖߹͍͸͡ΊͯΈΔɻ • ૣΊʹʮ"84ͱ෇͖߹͍͸͡ΊͯΈΔʯ͜ͱ͕େࣄͰ͢ɻ • ೥ʹαʔϏεͩͬͨ΋ͷ͕ࠓ͸໿αʔϏεɻ •

    ࢝ΊΔͷ͕஗͚Ε͹஗͍΄Ͳॳظͷֶशίετ͸ߴ͘ͳΔͨΊɺ ࠳ં͢ΔՄೳੑ͕ߴ͍ɻ ϒʔετ͢ΔͳΒެࣜτϨʔχϯά͕༗ޮ ૣى͖ɺֶशɺ"84
  19. Operation Lab ӡ༻ઃܭϥϘ த௕ظઓུυΩϡϝϯτͱ෇͖߹͏ • "84͕ੵۃతʹٕज़తͳτϐοΫ΍ϊ΢ϋ΢Λެ։ɻ༗ঈα ϙʔτͷ༗ແΛ໰Θͣެࣜ৘ใΛಘ΍͍͢؀ڥʹͳͬͨɻ • ࠷ۙ͸ɺ೔ຊޠԽ͕ૣظʹߦͳΘΕΔέʔε΋૿͍͑ͯΔɻ •

    αϙʔτͷճ౴΋جຊతʹެ։υΩϡϝϯτͷ಺༰ͱͳ͍ͬͯ Δɻ ٕज़తͳ৘ใ͸ɺ·ͣެࣜυΩϡϝϯτ͔Β શͯಡΈࠐΜͰखΛಈ͔ͤ͹ɺ୭Ͱ΋ࠃ಺༗਺ͷ "84ΤϯδχΞʹͳΕΔɻ 1%'Ͱ֓ࢉສϖʔδఔ౓ ૣى͖ɺֶशɺ"84
  20. Operation Lab ӡ༻ઃܭϥϘ த௕ظઓུϏδωεͰ࢖ͬͯΈΔ • "84શͯͷϓϩμΫτΛར༻͢Δͷ͸ݱ࣮Ͱ͸ͳ͍ɻ • ϏδωεͰ࢖͑ͦ͏ͳϓϩμΫτΛ୳ͯ͠ɺద༻ͯ͠ΈΔͱ͜Ζ ͔Β࢝ΊΔͱɺͦͷαʔϏεͷಛ௃͕ݟ͑ͯ͘Δɻ •

    Ҷຮࣜʹɺؔ࿈ϓϩμΫτʹखΛग़͍ͯ͘͠ͱɺͦͷྖҬͰ͸ ਺গͳ͍"84ϓϩϑΣογϣφϧʹͳΕΔɻ ϏδωεͰ࢖͑ͦ͏ͳϓϩμΫτΛͭ·Έ৯͍͢Δ ബ͘޿͘"84͕࢖͑ΔΑ͏ʹͳͬͯ΋ࠩผԽʹͳΓͮΒ͘ͳͬͨɻ ಛ௃͋Δ࢖͍ํͰ͖Δਓ͕ڧ͍ɻ ૣى͖ɺֶशɺ"84
  21. Operation Lab ӡ༻ઃܭϥϘ $-*ϋϯζΦϯΨΠυ͔Β

  22. ϋϯζΦϯֶशʹ͓͍ͯ༏ઌ͢΂͖͜ͱ • ʮ׬ྃ͢Δ͜ͱʯΛ࠷༏ઌ͢Δ͜ͱɻ શମ೺Ѳ  • ඞͣ෮श͢Δ͜ͱɻ Πϯϓοτ  •

    ࣗ෼ͳΓʹΧελϚΠζͯ͠ΦϦδφϧखॱʹ͠ ͯΈΔ͜ͱɻ Ξ΢τϓοτ Operation Lab ӡ༻ઃܭϥϘ 22 http://prototype-handson-cli.s3-website-ap-northeast-1.amazonaws.com/guide-handson-cli-prototype/index.html
  23. ʮ׬ྃ͢Δ͜ͱʯΛ࠷༏ઌ͢Δ͜ͱ શମ೺Ѳ ϋϯζΦϯʹ͓͍ͯ࠷΋େࣄͳ͜ͱ͸ɺʮखॱ௨ΓਐΊͨΒɺ૝ ఆ௨Γͷ݁Ռ͕ಘΒΕͨʯ͜ͱΛମײ͢Δ͜ͱͰ͢ɻ Θ͔Βͳ͍఺͕ͨ͘͞Μ͋ͬͯ΋ɺͱʹ͔͘Ұճ࠷ޙ·ͰਐΊͯ ͍ͩ͘͞ɻ ͦΕʹΑͬͯɺϋϯζΦϯશମͰͲΜͳ͜ͱΛ΍͍ͬͯΔͷ͔ɺ ͲΜͳΞ΢τϓοτ͕ಘΒΕΔͷ͔Λ೺Ѳ͢Δ͜ͱ͕Ͱ͖·͢ɻ શମΛ၆ᛌ͢Δ͜ͱ͕Ͱ͖·͢ɻ Operation

    Lab ӡ༻ઃܭϥϘ 23 http://prototype-handson-cli.s3-website-ap-northeast-1.amazonaws.com/guide-handson-cli-prototype/index.html
  24. ඞͣ෮श͢Δ͜ͱ Πϯϓοτ ճ׬ྃͤ͞Δ͜ͱͰɺखॱͷશମߏ଄ͱ۩ମతͳΞ΢τϓοτΛ ֬ೝͰ͖͍ͯΔͷͰɺ͋ͱ͸ɺϫϯεςοϓͣͭ෮श͢Δ͜ͱͰɺ ޮ཰ྑ࣮֬͘ʹ஌ࣝΛ਎ʹ͚ͭΔ͜ͱ͕Ͱ͖·͢ɻ ͦͷͱ͖ʹɺʮશͯΛ೺Ѳ͠Α͏ʯͱ͢ΔͷͰ͸ͳ͘ɺʮΘ͔Γ΍ ͍͢ʯͱ͜Ζ͔Βॱ࣍ཧղ͍ͯ͘͠ͷ͕ɺ࣋ଓ͠΍͘͢ɺ࣮຿ʹ׆ ༻͠΍͍͢ͷͰ͓͢͢ΊͰ͢ɻ Operation Lab

    ӡ༻ઃܭϥϘ 24 http://prototype-handson-cli.s3-website-ap-northeast-1.amazonaws.com/guide-handson-cli-prototype/index.html ϋϯζΦϯʹΑΔֶशͰ࠷΋ॏཁͳͷ͸ɺ͜ͷʮ෮शʯͰ͋Γɺ ෮शΛ΍Δਓͱ΍Βͳ͍ਓͷࠩ͸ͱͯͭ΋ͳ͘େ͖͍Ͱ͢ɻ
  25. ࣗ෼ͳΓʹΧελϚΠζͯ͠ΦϦδφϧखॱʹͯ͠ΈΔ͜ͱ Ξ΢τϓοτ ΠϯϓοτͰ஌͕ࣝ਎ʹ͍ͭͨͱͯ͠΋ɺ·ͩςϯϓϨʔτ͕ѻ͑ Δஈ֊Ͱɺࣗಈं໔ڐͰݴ͏ͱԾ໔ڐ͕औΕͨஈ֊Ͱ͢ɻ ࣮ࡍʹ࿏্ʹग़ΔΑ͏ʹɺΠϯϓοτ·ͰͰಘΒΕͨ஌ࣝΛجʹΦ ϦδφϧखॱΛ࡞੒ͯ͠Έ·͠ΐ͏ɻ Operation Lab ӡ༻ઃܭϥϘ 25

    http://prototype-handson-cli.s3-website-ap-northeast-1.amazonaws.com/guide-handson-cli-prototype/index.html ࣗྗͰॻ͍ͨखॱ௨ΓʹϦιʔεߏங͕Ͱ͖ΔΑ͏ʹͳͬͨΒɺԾ໔ڐ͸ ଔۀͰ͠ΐ͏ɻଟ͘ͷਓͷ໨ʹ৮ΕΔ͜ͱͰɺखॱॻͷ඼࣭΍࡞੒ޮ཰͸ ͲΜͲΜ͕͍͖͋ͬͯ·͢ɻ৭ʑͳਓʹݟͯ΋Β͏Α͏ʹ͠·͠ΐ͏ɻ
  26. Operation Lab ӡ༻ઃܭϥϘ ·ͱΊ

  27. Operation Lab ӡ༻ઃܭϥϘ ேͷֶश͕େࣄ 27 ૣى͖͸͓ಘ ૣى͖ɺֶशɺ"84 ੈքͰ൪໨ʹ৽ػೳ ৽αʔϏε͕࢖͑Δ Մೳੑ͕ߴ͍

  28. ͓༠͍+"846($-*ઐ໳ࢧ෦ • +"846(ॳͷϓϩμΫτઐ໳ࢧ෦ • ڵຯର৅͸ɺ6OJpFE"84$-* • "84"1*΍-BNCEBΛؚΉ  • ઃཱ

    • "844VNNJU%BZ ༗ࢤʹΑΔϋϯζΦϯΛ࣮ࢪ ࣮੷ճ ૣى͖ɺֶशɺ"84
  29. Operation Lab ӡ༻ઃܭϥϘ ໷ͷϋϯζΦϯɺேͷ෮श͕େࣄ 29 ૣى͖͸$-*Ͱ ૣى͖ɺֶशɺ"84 ੈքͰ൪໨ʹ৽ػೳ ৽αʔϏε͕࢖͑Δ Մೳੑ΋ߴ͍

    ͋Θͤͯ
  30. Operation Lab ӡ༻ઃܭϥϘ ࢀߟաڈͷൃදࢿྉ 30 IUUQTXXXPQTMBCKQQVCMJTI աڈͷൃදࢿྉ͸ 0QT-BCKQͱ͍͏αΠτʹஔ͍ͯ͋Γ·͢ɻ

  31. Operation Lab ӡ༻ઃܭϥϘ 31 IUUQXXXPQFSBUJPOMBCDPKQ OperationLab ӡ༻ઃܭ