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

ペパボのSREとして 働くきっかけ

Ryo Nakamine
April 26, 2022
1.6k

ペパボのSREとして 働くきっかけ

2021.04.26 Pepabo Tech Talk -入社1年以内のメンバーが語る、ペパボのSREチームの取り組み-

Ryo Nakamine

April 26, 2022
Tweet

Transcript

  1. ϖύϘͷSREͱͯ͠ ಇ͖͔͚ͬ͘ ஥ྮ ྑ / GMO PEPABO inc. 2021.04.26 Pepabo

    Tech Tal k -ೖࣾ1೥Ҏ಺ͷϝϯόʔ͕ޠΔɺϖύϘͷSREνʔϜͷऔΓ૊Έ- 1
  2. 3 ࣗݾ঺հ ٕज़෦ϓϥοτϑΥʔϜάϧʔϓʢSREʣ 2021೥ த్ೖࣾ ஥ྮɹྑ Ryo Nakamine • ࣾ಺Ͱ͸

    naryo ͱݺ͹Ε͍ͯΔ • ओʹminneͷΠϯϑϥج൫Λ୲౰ • ԭೄग़਎🌴 • झຯ͸͓স͍ɾόϥΤςΟ൪૊ΛݟΔ͜ͱ Twitter : @r_nakamin e e
  3. 23 3. ೖࣾ௚ޙͷ೰Έ LinuxԿ΋Θ͔Βͳ͍ • ΄ͱΜͲ৮ͬͨ͜ͱͳ͔ͬͨ ◦ cd / ls

    / mkdir / cat ͱ͔جຊతͳ΍ͭΛ͍͔ͭ͘... • ϩά͕Ͳ͜Ͱు͔ΕΔͷ͔Θ͔ͬͯͳ͍ • τϥϒϧγϡʔςΟϯάͰ͖ͳ͍ʢ࢓ํ͕Θ͔ͬͯͳ͍ʣ ◦ ো֐ରԠ౳Ͱશ͘໾ʹཱͯͳ͍
  4. 24 3. ೖࣾ௚ޙͷ೰Έ ϞχλϦϯάԿ΋Θ͔Βͳ͍ • ϞχλϦϯάπʔϧ (mackerelɺ grafana౳) ͷݟํ͕Θ͔Βͳ͍ ◦

    ͦ΋ͦ΋ϝτϦΫεҰͭҰͭͷҙຯΛͪΌΜͱཧղͯ͠ͳ͍ ◦ stealͬͯͳʹʁΈ͍ͨͳϨϕϧ • ϝτϦΫε΍ϩάΛݟͯͲ͏ΞϓϩʔνΛऔΕ͹ྑ͍͔Θ͔Βͳ͍ • ϘτϧωοΫʹͳ͍ͬͯΔՕॴΛಛఆ͢Δͷʹ͕͔͔࣌ؒΔ
  5. 26 3. ೖࣾ௚ޙͷ೰Έ • nginxɺApacheɺMySQLɺPostfixɺPowerDNSɺRedisɺMemcached • php-fpmɺunicorn • AWSɺGCPɺOpenStack •

    TerraformɺPuppetɺChefɺ • ConsulɺConsul TemplateɺConsul Alertsɺͦͷଞ.... ଞʹ΋ΩϟονΞοϓ͠ͳ͍ͱ͍͚ͳ͍͜ͱ͕ͨ͘͞Μ...
  6. 29 3. ೖࣾ௚ޙͷ೰Έ • ܦݧ΍ٕज़ྗ͸΋ͪΖΜ • Ұ൪ڻ͍ͨͷ͸εϐʔυײ ◦ ͋ͬͱ͍͏ؒʹ՝୊ͳ͗౗͍ͯ͘͠ಉ྅ୡ ◦

    ҰํͰ՝୊Λཧղ͢Δͱ͜Ζ͔Β࢝·Δࢲ... • શવ௥͍͚ͭͳ͍ पΓͱͷࠩΛ͍͢͝ײ͡Δ
  7. 31 3. ೖࣾ௚ޙͷ೰Έ ͻͨ͢Βಉ྅ͷਅࣅΛͨ͠Γɺࣗ෼ͷϓϥΠϕʔτͳ؀ڥΛཱͯͯݕূ͠·͘Δ • ಉ྅͕ௐࠪʹ࢖༻͍ͯͨ͠ίϚϯυͳͲΛҰͭҰͭਅࣅͯ͠ݕূ • ࣗ਎ͷϓϥΠϕʔτͳ؀ڥΛߏங (AWS, GCP,

    DigtalOcean౳...) ◦ ۀ຿Ͱ࢖༻͍ͯ͠Διϑτ΢ΣΞΛͻͨ͢Βݕূͯ͠ߟ࡯ͨ͠Γ ◦ k8sΫϥελΛߏஙͯ͠ɺڍಈΛ֬ೝͨ͠ΓʢΫϥ΢υഁ࢈஫ҙ...ʣ • ಉ྅͕ॻ͍ͨίʔυΛΑ͘؍࡯ͨ͠Γࣸܦͨ͠Γͯ͠σβΠϯύλʔϯͳͲΛ ஌Δ