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

SRE vs ラマダン

SRE vs ラマダン

Lightning talk at chukenweb

More Decks by Takayuki WATANABE (渡辺 喬之)

Other Decks in Technology

Transcript

  1. • ౉ลڤ೭ [Takayuki Watanabe] • takanabe • @takanabe_w • ΫοΫύουגࣜձࣾ

    • ΠϯϑϥετϥΫνϟʔ෦ SRE άϧʔϓ • ओʹGlobal αʔϏεͷΠϯϑϥͷ։ൃͱӡ༻Λ୲౰ ࣗݾ঺հ
  2. 43&ʹͱͬͯͷϥϚμϯ • զʑ͸அ৯Λ͠ͳ͍ • Ϣʔβ͔ΒͷϦΫΤετ਺͕͋Δ೔ಥવ਺ഒʹͳΓͦΕ͕Ұϲ݄ଓ͘ • αʔόͷෛՙ૿Ճ • ීஈ૝ఆ͍ͯ͠ͳ͍ࣄ৅ͷൃੜ •

    ෛՙ͕֬อ͍ͯ͠ΔαʔόϦιʔεΛ৯͍ਚ͘͢ • αʔόͷϩά͕ٸ૿ͯ͠σΟεΫΛຒΊਚ͘͢ • ීஈ໰୊ͳ͍εϩʔΫΤϦͰDB͕٧·Δ • etc …
  3. 43&WTϥϚμϯ • ϥϚμϯΛ • Ұ෦ͷٕज़ελοΫͷೖΕସ͑ • खಈͰରԠ͍ͯͨ͠ΦϖϨʔγϣϯΛࣗಈԽ • αʔό܈ͷΩϟύγςΟͷݟ௚͠ •

    ܭըతʹϓϩμΫτ։ൃνʔϜͱ࿈ܞ • ύϑΥʔϚϯεͷվળґཔ • ظؒதʹ࣮ࢪ͢Δ͖ΘͲ͍ࢪࡦͷαϙʔτ • Ϣʔβʹීஈͱಉ͡ʹΑ͏ʹαʔϏεΛఏڙ͢ΔͨΊʹͨ͜͠ͱ • ͜ΕΒΛ࣮ࢪ͢Δ͜ͱͰظؒதͷ on call ରԠΛݮΒ͢
  4. Ұ෦ͷٕज़ελοΫͷೖΕସ͑ • Database • MySQL on Amazon RDS (Magnetic) ͔ΒAmazon

    Aurora ʹશ໘ೖΕସ͑ • CDN • Akamai͔Β Fastly ΁ͷ੾Γସ͑ • ΞϓϦέʔγϣϯͷ։ൃ؀ڥ • ৽نΞϓϦͷ։ൃ͸ Docker + ECS Λར༻ ˠαʔϏεͷϨεϙϯελΠϜ΍Մ༻ੑͷվળ
  5. ΦϖϨʔγϣϯͷࣗಈԽ • αʔόϦιʔεͷෆ଍Λճආ͢Δ • Φʔτεέʔϧର৅ͷαʔόΛ֦େ • ෛՙʹԠͯࣗ͡ಈతʹαʔόΛεέʔϧΞ΢τ • haproxy ΍

    nginx ͳͲͷίϯϑΟά΋αʔόͷݱঢ়ʹ ߹Θͤͯࣗಈߋ৽(consul + consul-template) • ϩάͷٸ૿ʹΑΔσΟεΫͷṧഭͱͦͷରԠΛճආ • logrotate Λ࢖ͬͯσΟεΫʹϩάΛ࢒ͣ͞ɺ೔࣌Ͱ S3 ʹ͢ ͙ʹόοΫΞοϓ͢ΔํࣜΛ࠾༻
  6. ॴײ • ϥϚμϯΛ࢝Ίͱͯ͠αʔϏεͷ Global ల։ͳΒͰ͸ͷ՝ ୊΍໘ന͞ͱૺ۰͢Δ • େมͳ͜ͱ΋ଟ͍͕ɺֶͼ΋ଟ͍ • ָ͠Έͳ͕Β৐Γӽ͍͑ͨ

    • XXX ʹ޲͚ͯΩϟύγςΟͷݟ௚͕͠ඞཁΈ͍ͨͳՔಇ͕ ൃੜ͠ͳ͍Α͏ʹγεςϜΛߏஙɾվળ͍ͯ͘͜͠ͱ͕ٻ ΊΒΕ͍ͯΔ(౰ͨΓલ͕ͩ)