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

SSM Inventory を使って便利に EC2 棚卸し(ハマりどころを添えて)

SSM Inventory を使って便利に EC2 棚卸し(ハマりどころを添えて)

MasahiroKawahara

June 12, 2024
Tweet

More Decks by MasahiroKawahara

Other Decks in Technology

Transcript

  1. NJEPTVKJ@UFDI ࣗݾ঺հ ઒ݪ੐େ LBXBIBSBNBTBIJSP ˔ $MBTTNFUIPE"84ࣄۀຊ෦ίϯαϧςΟϯά෦ ˔ "1/"845PQ&OHJOFFST 4FSWJDF ˔

    +BQBO"845PQ&OHJOFFST 4FDVSJUZ ˔ ޷͖ͳ΋ͷ ˓ "84"84$-*ɺ"NB[PO"UIFOB ˓ "84Ҏ֎πʔϦϯάɺ&NBDTɺѪೣ IUUQTEFWDMBTTNFUIPEKQBVUIPSLBXBIBSBNBTBIJSP
  2. NJEPTVKJ@UFDI ʮϊʔυ؅ཧʯػೳ܈͕αʔόʔ؅ཧͰ໾ཱͭ ˔ લఏͱͯ͠&$Πϯελϯε ΋͘͠͸ΦϯϓϨϛεαʔόʔ Λ 44.؅ཧԽʹ͢Δ ˔ 44.؅ཧԽʹ͢Δ͜ͱͰ৭Μͳʮϊʔυ؅ཧʯ͕ՄೳʹͳΔ ˓

    4FTTJPO.BOBHFS44)Ωʔ؅ཧແ͠Ͱίϯιʔϧ઀ଓ ˓ 3VO$PNNBOEෳ਺ϊʔυʹҰׅͰίϚϯυ౤ೖ ˓ 4UBUF.BOBHFSಛఆΞΫγϣϯΛఆظ࣮ߦ ˓ *OWFOUPSZΠϯϕϯτϦσʔλΛऩू ͜Ε͔Βઆ໌ ˓ ͳͲ ˔ ػೳؒʹؔ܎͕͋Γɺಥ͖٧ΊΔͱপ
  3. NJEPTVKJ@UFDI ࢀߟ ηοτΞοϓʹඞཁͳखॱ ˔ લఏͱͯ͠&$Πϯελϯε͕ 44.؅ཧԽʹͳ͍ͬͯΔඞཁ͕͋Δ ˓ 44.ΤʔδΣϯτΠϯετʔϧ "84ఏڙͷ".*ʹ͸͍͍ͩͨϓϦΠϯετʔϧ͞Ε͍ͯΔ ˓

    ద੾ͳ*".ϩʔϧ "NB[PO44..BOBHFE*OTUBODF$PSFϙϦγʔΛΞλον͢Δ ˓ <TTNTTNNFTTBHFTFDNFTTBHFT>ΤϯυϙΠϯτ΁ͷΞ΢τό΢ϯτ௨৴ ˔ *OWFOUPSZͷηοτΞοϓ ˓ *OWFOUPSZίϯιʔϧ͔Β <ηοτΞοϓΠϯϕϯτϦ> ˔ ϦιʔεಉظͷηοτΞοϓ ˓ 4όέοτ όέοτϙϦγʔ ͷઃఆ ˓ *OWFOUPSZίϯιʔϧ͔Β <Ϧιʔεσʔλಉظͷ࡞੒> "840SHBOJ[BUJPOT؀ڥͰͷηοτΞοϓࢀߟ IUUQTEFWDMBTTNFUIPEKQBSUJDMFTTTNJOWFOUPSZPSHTZOD
  4. NJEPTVKJ@UFDI (MVFΫϩʔϥʔ͕࢖͑ͦ͏ ˔ σʔλιʔε 4 ౳ΛΫϩʔϧͯ͘͠ΕΔػೳ ˔ ओཁͳػೳΛͬ͘͟Γͱ঺հ ˓ Ϋϩʔϧͯ͠ςʔϒϧΛ࡞ͬͯ͘ΕͨΓ

    ˓ Ϋϩʔϧͯ͠ύʔςΟγϣϯΛߋ৽˒ͯ͘͠ΕͨΓ ˓ ΫϩʔϧΛఆظ࣮ߦ˒Ͱ͖ͨΓ (MVFʹ͍ͭͯͷ͓͢͢Ίࢀߟࢿྉ "84ೖ໳ϒϩάϦϨʔʙ"84(MVFฤʙ c%FWFMPQFST*0
  5. NJEPTVKJ@UFDI ࢀߟ ˔ "844ZTUFNT.BOBHFS0WFSWJFXc"84#MBDL#FMU0OMJOF4FNJOBS ˔ "844ZTUFNT.BOBHFS *OWFOUPSZฤ c"84#MBDL#FMU0OMJOF4FNJOBS ˔ "844ZTUFNT.BOBHFSΠϯϕϯτϦ

    c"84 ˔ 4ZTUFNT.BOBHFS2VJDL4JHIUϋϯζΦϯ c"84 ˔ "84(MVFͰͷΫϩʔϥʔͷఆٛ c"84 ˔ "84ೖ໳ϒϩάϦϨʔʙ"84(MVFฤʙ c%FWFMPQFST*0