Slide 1

Slide 1 text

© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved. In Partnership with C-8: ϨδΣϯυγεςϜΛEC2͔Β Kubernetesʹஔ͖׵͑Δઓ͍ ඌ࡚ ߞଟ Chatworkגࣜձࣾ

Slide 2

Slide 2 text

ొஃऀ঺հ 2 ▸ Kouta Ozaki @k_kinzal k-kinzal ▸ Chatwork, YAML Engineer

Slide 3

Slide 3 text

Chatworkͱ͸ 3 ޮ཰తʹ৘ใڞ༗Ͱ͖Δ άϧʔϓνϟοτ ࢓ࣄͷݟ͑ΔԽ͕Ͱ͖Δ λεΫ؅ཧ ݟམͱ͕͠ͳ͘ͳΔ ϑΝΠϧڞ༗ ͍ͭͰ΋ձ͕ٞͰ͖Δ ϏσΦ/Ի੠௨࿩

Slide 4

Slide 4 text

Chatwork͸೔ຊ࠷େڃͷϏδωενϟοταʔϏε 4 3݄ ϦϦʔε 28.5ສࣾ
 ಥഁʂ 20ສࣾ
 ಥഁʂ ಋೖࣾ਺28.5ສࣾΛಥഁʂ
 (2020೥09݄຤೔࣌఺) 10ສࣾ
 ಥഁʂ

Slide 5

Slide 5 text

01 ϨδΣϯυγεςϜͱ͸

Slide 6

Slide 6 text

ϨδΣϯυγεςϜͱ͸ 6 ChatworkΛࢧ͑ଓ͚ͨPHPͷڊେͳϞϊϦε

Slide 7

Slide 7 text

02 Chatwork͸ͳͥEKS΁ͷஔ͖׵͑Λܾஅͨ͠ͷ͔

Slide 8

Slide 8 text

Chatwork͸ͳͥEKS΁ͷஔ͖׵͑Λܾஅͨ͠ͷ͔ 8 100 PR / month ʢ2017೥࣌఺ʣ

Slide 9

Slide 9 text

Chatwork͸ͳͥEKS΁ͷஔ͖׵͑Λܾஅͨ͠ͷ͔ 9 5~10% rollback ʢ2017೥࣌఺ʣ

Slide 10

Slide 10 text

Chatwork͸ͳͥEKS΁ͷஔ͖׵͑Λܾஅͨ͠ͷ͔ 10

Slide 11

Slide 11 text

VERIFY FIX IDENTIFY Chatwork͸ͳͥEKS΁ͷஔ͖׵͑Λܾஅͨ͠ͷ͔ 11 DETECT MTTR MTTI MTTD

Slide 12

Slide 12 text

Chatwork͸ͳͥEKS΁ͷஔ͖׵͑Λܾஅͨ͠ͷ͔ 12

Slide 13

Slide 13 text

Chatwork͸ͳͥEKS΁ͷஔ͖׵͑Λܾஅͨ͠ͷ͔ 13

Slide 14

Slide 14 text

Chatwork͸ͳͥEKS΁ͷஔ͖׵͑Λܾஅͨ͠ͷ͔ 14

Slide 15

Slide 15 text

Chatwork͸ͳͥEKS΁ͷஔ͖׵͑Λܾஅͨ͠ͷ͔ 15 https://blog-ja.chatwork.com/2017/06/chatworkaws-dev-day.html

Slide 16

Slide 16 text

Chatwork͸ͳͥEKS΁ͷஔ͖׵͑Λܾஅͨ͠ͷ͔ 16 1.ঢ়ଶΛ࣋ͨͳ͍ 2.ߴ଎ͳೖΕସ͑

Slide 17

Slide 17 text

03 EC2͔ΒEKS΁ͷҠߦઓུ

Slide 18

Slide 18 text

18 ? Golden AMI ϨδΣϯυγεςϜͷ࢓༷Խ

Slide 19

Slide 19 text

ϨδΣϯυγεςϜͷ࢓༷Խ 19 Golden AMI PHP-FPM NGINX ... Serverspec Infrataster

Slide 20

Slide 20 text

ϨδΣϯυγεςϜͷ࢓༷Խ 20 New AMI ... ... ... Old AMI Ansible Serverspec ... ... ... Packer

Slide 21

Slide 21 text

EC2͔ΒEKS΁ͷ੾Γସ͑ํ๏ 21

Slide 22

Slide 22 text

EKSͷΞοϓάϨʔυઓུ 22

Slide 23

Slide 23 text

04 EKS্ʹߏஙͨ͠ΞϓϦέʔγϣϯͷߏ੒

Slide 24

Slide 24 text

EKS্ʹߏஙͨ͠ΞϓϦέʔγϣϯͷߏ੒ 24

Slide 25

Slide 25 text

EKS্ʹߏஙͨ͠ΞϓϦέʔγϣϯͷϦϦʔεϑϩʔ 25

Slide 26

Slide 26 text

05 Ҡߦʹͱ΋ͳ͏ChatworkͷαʔϏεఀࢭࣄྫ

Slide 27

Slide 27 text

5%ϦϦʔεࣄ݅ 27 Weight: 5 Weight: 5 = 50%!?

Slide 28

Slide 28 text

400k rpmͷ߈๷ 28

Slide 29

Slide 29 text

400k rpmͷ߈๷ 29

Slide 30

Slide 30 text

DNSͷ໰͍߹ΘͤΤϥʔ 30

Slide 31

Slide 31 text

DNSͷ໰͍߹ΘͤΤϥʔ 31

Slide 32

Slide 32 text

ALB Ingress ControllerͱAPI Call Limitͷઓ͍ 32

Slide 33

Slide 33 text

06 ·ͱΊ

Slide 34

Slide 34 text

·ͱΊ 1. ϨδΣϯυ͸ίπίπటष͘΍Δ͔͠ͳ͍ 2. ίπίπ΍Εͳ͚Ε͹ࢮ͵ 34

Slide 35

Slide 35 text

ಇ͘Λ΋ͬͱָ͘͠ɺ૑଄తʹ