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

AWS Systems Managerの使い方

Hiroyuki Kaji
September 20, 2018

AWS Systems Managerの使い方

Hiroyuki Kaji

September 20, 2018
Tweet

More Decks by Hiroyuki Kaji

Other Decks in Technology

Transcript

  1. ͷ࢖͍ํ
    ɹ)JSPZVLJ,BKJ

    View full-size slide

  2. εϥΠυ͸ޙͰೖख͢Δ͜ͱ͕ग़དྷ·͢ͷͰ
    ൃදதͷ಺༰ΛϝϞ͢Δඞཁ͸͋Γ·ͤΜɻ
    ࣸਅࡱӨΛ͢Δ৔߹͸
    ϑϥογϡɾγϟολʔԻ͕ग़ͳ͍Α͏ʹ͝഑ྀ͍ͩ͘͞
    Attention

    View full-size slide

  3. w )JSPZVLJ,BKJ
    w ܦྺ
    w ωοτϫʔΫػثϝʔΧʔγεςϜΤϯδχΞ
    w ηΩϡϦςΟؔ࿈ا"ۀͷ঎༻γεςϜӡ༻ऀ
    w ೥Ϋϥεϝιουೖࣾ
    w ࢓ࣄɿ"84ಋೖ΍Πϯϑϥߏங
    w ڵຯɾؔ৺ɿ/FUXPSLɺ4FDVSJUZ
    w ޷͖ͳ"84αʔϏε
    "NB[PO71$
    "NB[PO*OTQFDUPS
    @cocacola917
    ࣗݾ঺հ

    View full-size slide

  4. "844ZTUFNT.BOBHFS
    Λ஌͍ͬͯΔͻͱʁ

    View full-size slide

  5. "844ZTUFNT.BOBHFS
    Λ࢖ͬͨ͜ͱ͋Δͻͱʁ

    View full-size slide

  6. ࠓ೔࿩͢͜ͱ
    w"844ZTUFNT.BOBHFSʢҎԼ44.ʣ͕
    Ͱ͖Δ͜ͱ
    w44.Λ࢖͏ͨΊͷ४උ
    w44.Λར༻ͨ͠ιϑτ΢ΣΞͷνΣοΫ
    w44.Λ࢖ͬͨઃఆ࡞ۀ

    View full-size slide

  7. "844ZTUFNT.BOBHFS
    ͕Ͱ͖Δ͜ͱ
    ੨৭ͷͱ͜ΖΛࠓճ঺հ

    View full-size slide

  8. εέδϡʔϦϯά
    ఆظతͳ؅ཧ࡞ۀ΍αʔϏεఀࢭͷ࣮ࢪ࣌ؒΛఆٛ͢Δɻ

    View full-size slide

  9. ΦϖϨʔγϣϯ
    w 3VO$PNNBOE
    w Πϯελϯε্ͷ؅ཧ࡞ۀͷ࣮ࢪͱɺҰׅૢ࡞ɻ
    w "VUPNBUJPO
    w Ұ࿈ͷ࡞ۀϑϩʔΛఆٛ͠ɺύονΛదԠͯ͠".*Λ
    ࡞੒͢ΔɻΠϯελϯεεϖοΫΛมߋ͢Δ

    View full-size slide

  10. ߏ੒ݕূɾ؂ࠪ
    w εςʔτϚωʔδϟ
    w ͋Δ΂͖04ͷઃఆ஋Λఆٛ͠ɺҡ࣋͢Δ
    w ΠϯϕϯτϦ
    w ΠϯετʔϧࡁΈͷιϑτ΢ΣΞͷҰཡΛऩू͠ݕࡧ͢Δ
    w 1BUDI.BOBHFS
    w 04ύονͷબ୒ͱదԠΛࣗಈతʹ࣮ࢪ͢Δ

    View full-size slide

  11. ߏ੒৘ใɾૢ࡞खॱ
    w υΩϡϝϯτ
    w 4ZTUFNT.BOBHFSͷ֤αʔϏεͷڍಈΛఆٛ͢Δઃ
    ఆυΩϡϝϯτɻίϚϯυɺϙϦγʔɺࣗಈԽͷछྨ
    ͕͋Δɻ
    w ύϥϝʔλετΞ
    w ઃఆ஋΍ύεϫʔυͳͲΛूத؅ཧ͢Δ֊૚ܕετϨʔ
    δɻΞΫηε੍ޚ΍ଞͷαʔϏε͔Βࢀর͕༰қʹߦ͑
    Δɻ

    View full-size slide

  12. ແྉ
    "844ZTUFNT.BOBHFSʹΑͬͯ؅ཧ·ͨ͸࡞੒͞
    ΕΔผͷ"84Ϧιʔε &$ɾ$MPVE8BUDIͳͲ
    ͸ผ

    View full-size slide

  13. ඞཁͳ௨৴
    w Πϯλʔωοτ΁ͷΞ΢τό΢ϯυΞΫηεʢΠϯό΢ϯυ͸ෆཁʣ
    w ֎෦ΞΫηεෆՄͷαϒωοτͷ৔߹
    w 71$ΤϯυϙΠϯτ
    w DPNBNB[POBXTSFHJPOTTN
    w DPNBNB[POBXTSFHJPOFDNFTTBHFT
    w DPNBNB[POBXTSFHJPOFD
    w 4ΤϯυϙΠϯτ
    w ஫ҙɿϓϩΩγܦ༝ͷ৔߹͸ɺผ్44."HFOUͷઃఆ͕ඞཁ

    View full-size slide

  14. Ͳ͜ʹ࢖͑Δͷʁ
    αϙʔτ04

    View full-size slide

  15. 8JOEPXT
    8JOEPXT4FSWFS͔Β8JOEPXT4FSWFS
    ·Ͱɺ3όʔδϣϯΛؚΉ

    View full-size slide

  16. w -JOVYϏοτ͓ΑͼϏοτγεςϜ
    w "NB[PO-JOVYجຊ".*ɺҎ
    ߱
    w 6CVOUV4FSWFS-54ɺ-54ɺ
    -54ɺ·ͨ͸-54
    w 3FE)BU&OUFSQSJTF-JOVY 3)&-

    w $FOU04Ҏ߱

    View full-size slide

  17. w -JOVYϏοτγεςϜͷΈ
    w "NB[PO-JOVYɺҎ߱
    w "NB[PO-JOVY
    w 3FE)BU&OUFSQSJTF-JOVY 3)&-
    ɺɺ·
    ͨ͸
    w $FOU04Ҏ߱
    w 464&-JOVY&OUFSQSJTF4FSWFS 4-&4
    Ҏ্

    View full-size slide

  18. w -JOVYϏοτγεςϜͷΈ
    w 3BTQCJBO+FTTJF
    w 3BTQCJBO4USFUDI
    w ஫ҙ
    w Ұ෦ͷػೳʢ1BUDI.BOBHFSʣͰαϙʔτ͞Ε͍ͯΔΦϖϨʔ
    ςΟϯάγεςϜ͸ผͰ͢ͷͰ஫ҙɻ
    w IUUQTEPDTBXTBNB[PODPNKB@KQTZTUFNTNBOBHFS
    MBUFTUVTFSHVJEFQBUDINBOBHFSTVQQPSUFEPTFTIUNM

    View full-size slide

  19. ΦϯϓϨϛε͔Β΋ར༻Մೳ
    "84#MBDL#FMU0OMJOF4FNJOBS"844ZTUFNT.BOBHFSΑΓҾ༻

    View full-size slide

  20. σϞ͔ͨͬͨ͠ͷͰ͕͢ɺઌ
    ೔ͷఀిͰࣗ୐αʔό͕ނো

    View full-size slide

  21. &$*".3PMF
    w &$༻ͷ*".3PMFΛ࡞੒
    w *".ϙϦγʔ"NB[PO&$3PMFGPS44.ΛΞλον

    View full-size slide

  22. &$λά
    w ௐ͍ࠪͨ͠ର৅ͷ&$ΠϯελϯεʹλάΛઃఆ
    w ʻྫʼLFZʹ44.WBMVFʹUSVF

    View full-size slide

  23. ΤʔδΣϯτΠϯετʔϧ
    w ࠷ۙͷ".*͸ΠϯετʔϧࡁΈɻ
    w ݹ͍".*͸Πϯετʔϧ͞Ε͍ͯͳ͍ɺ·ͨ͸44.
    "HFOUͷόʔδϣϯ͕ݹ͍ͷͰߋ৽͕ඞཁɻ
    w 8JOEPXT8JOEPXT4FSWFSΠϯελϯε͸Πϯετʔϧ͞Ε͍ͯΔɻ೥
    ݄Ҏ߱ʹެ։͞Εͨ8JOEPXT4FSWFS3".*͔ΒΠϯετʔϧ͞Εͯ
    ͍Δɻ
    w -JOVY೥݄Ҏ߱ͷ"NB[PO-JOVYͷجຊ".*ʹΠϯετʔϧ͞Ε͍ͯΔɻ
    "NB[PO-JOVYɺ6CVOUV4FSWFSɺ͓Αͼ6CVOUV4FSWFS-54".*
    ʹ΋Πϯετʔϧ͞Ε͍ͯΔɻ

    View full-size slide

  24. Ͳ͏͍͏࣌ʹ࢖͏ͱ
    ඒຯ͍͠ͷ͔ʁ

    View full-size slide

  25. ͋͘·Ͱ΋ݸਓతͳݟղͰ͢ɾɾɾ
    lͨ·ʹґཔ͞ΕΔ໘౗ͳ࡞ۀz

    View full-size slide

  26. Πϯετʔϧ
    ιϑτ΢ΣΞௐࠪ

    View full-size slide

  27. w 8JOEPXTͩͬͨΒɾɾɾ
    w ̍୆ͮͭ3%1઀ଓʁ
    w ϦϞʔτ͔Β1PXFSTIFMMεΫϦϓτ࣮ߦʁ
    w &OBCMF143FNPUJOH
    w ४උ͚ͩͰ΋େมɻ
    w ؆୯ͳํ๏͋ͬͨΒڭ͑ͯཉ͍͠ɾɾɾ

    View full-size slide

  28. w 8JOEPXTͩͬͨΒɾɾɾ
    w ̍୆ͮͭ3%1઀ଓʁ
    w ϦϞʔτ͔Β1PXFSTIFMMεΫϦϓτ࣮ߦʁ
    w &OBCMF143FNPUJOH
    w ४උ͚ͩͰ΋େมɻ
    w ؆୯ͳํ๏͋ͬͨΒڭ͑ͯཉ͍͠ɾɾɾ

    View full-size slide

  29. ΠϯϕϯτϦͰߦ͏ͱ

    View full-size slide

  30. ͋ͷιϑτ΢ΣΞ͸
    ͲͷΠϯελϯεʹ
    Πϯετʔϧ͞Ε͍ͯΔʁ

    View full-size slide

  31. ը໘ͷ࠷Լ෦

    View full-size slide

  32. ը໘ͷ࠷Լ෦
    5SFOE.JDSP%FFQ4FDVSJUZ"HFOUΛݕࡧ

    View full-size slide

  33. ΢ΟβʔυͰઃఆͨ͠
    ΠϯϕϯτϦͷઃఆ͸Կॲʁ

    View full-size slide

  34. εςʔτϚωʔδϟʔ

    View full-size slide

  35. ෛՙ͸ʁ
    ෼ຖʹௐࠪ
    8JOEPXT4FSWFSʢUTNBMMʣͰ
    $166UJMJ[BUJPO͸ʢ࠷େ෼ʣલޙ

    View full-size slide

  36. 3VO$PNNBOE
    Ͱߦ͏ͱ

    View full-size slide

  37. 5FTU/FU$POOFDUJPO௨৴ઌ1PSU

    5FTU/FU$POOFDUJPOXXXZBIPPDPKQ1PSU

    View full-size slide

  38. ʹग़ྗͨ͠ϩάͰ֬ೝ͢Δͱղফʢ࣍ͷϖʔδʣ

    View full-size slide

  39. 8JOEPXT6QEBUF

    View full-size slide

  40. 3VO$PNNBOE࣮ߦ
    ઌ΄Ͳͷʮ௨৴֬ೝʯͷखॱͱಉ༷
    ίϚϯυͷυΩϡϝϯτ "843VO1PXFSTIFMM
    ΛҎԼ΁มߋ͢
    Δ͚ͩɻ
    "84*OTUBMM.JTTJOH8JOEPXT6QEBUFT
    w ஫ҙ
    w 6QEBUFͷ಺༰ʹΑͬͯ͸࠶ىಈ͕ඞཁͰ͢ɻ
    w "84'JOE8JOEPXT6QEBUFTͰௐࠪՄೳͰ͢ɻ

    View full-size slide

  41. 3VO$PNNBOE࣮ߦ
    "843VO1PXFSTIFMMυΩϡϝϯτͷίϚϯυ෦෼ΛҎԼ΁มߋ
    "EE8JOEPXT'FBUVSF8FC4FSWFS

    View full-size slide

  42. ΠϯετʔϧࡁΈ

    View full-size slide

  43. Πϯετʔϧ͞Εͨ

    View full-size slide

  44. ͕࣌ؒ͋Ε͹
    ௨৴֬ೝͷσϞ

    View full-size slide

  45. ࠷ۙͷΞοϓσʔτ৘ใ

    View full-size slide

  46. ·ͱΊ
    w44.͸ɺ"84Ͱ΋ΦϯϓϨͰ΋ར༻Ͱ͖
    Δ
    wΠϯϕϯτϦΛར༻ͨ͠8JOEPXT&$Π
    ϯελϯεௐࠪ͸ศར
    w3%1ͷར༻ΛඇৗʹݮΒͤͦ͏

    View full-size slide

  47. ࢀߟݩ
    w "844ZTUFNT.BOBHFSϢʔβʔΨΠυ
    IUUQTEPDTBXTBNB[PODPNKB@KQTZTUFNT
    NBOBHFSMBUFTUVTFSHVJEFXIBUJTTZTUFNT
    NBOBHFSIUNM
    w "84#MBDL#FMU0OMJOF4FNJOBS"84
    4ZTUFNT.BOBHFS
    IUUQTXXXTMJEFTIBSFOFU
    "NB[PO8FC4FSWJDFT+BQBOBXTCMBDL
    CFMUPOMJOFTFNJOBSBXTTZTUFNTNBOBHFS

    View full-size slide