Slide 1

Slide 1 text

)PXUP#VJME &GpDJFOUBOE*OUFHSBUFE %FWFMPQNFOU&OWJSPONFOU GPS5IF5FBN 1)1$POGFSFODF+BQBO !TPUBSPL .FSDBSJ *OD

Slide 2

Slide 2 text

๜୊ νʔϜͷͨΊͷ ޮ཰తͰ౷Ұతͳ։ൃ؀ڥͷ ࡞Γํ ˞ຊൃද͸ଟ෼೔ຊޠͰ͢ 1)1$POGFSFODF+BQBO !TPUBSPL .FSDBSJ *OD

Slide 3

Slide 3 text

!TPUBSPL

Slide 4

Slide 4 text

!TPUBSPL 4PUBSP,BSBTBXB .FSDBSJ *OD

Slide 5

Slide 5 text

!TPUBSPL

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

.FSDBSJ *OD

Slide 8

Slide 8 text

.FSDBSJ *OD %-. 64+1 ग़඼%BJMZ, ߪೖ.POUIMZ.+1:

Slide 9

Slide 9 text

.FSDBSJ *OD $IFDLPVUPVSCMPH IUUQUFDINFSDBSJDPN

Slide 10

Slide 10 text

2)PXNBOZFOHJOFFSTJOZPVSUFBN ʙਓ ʙਓ ʙਓ ਓʙ

Slide 11

Slide 11 text

.FSDBSJ *OD w &OHJOFFST w 0DU ਓऑ w 0DUਓऑ w 0DUਓऑ ଟ෼

Slide 12

Slide 12 text

%FWFMPQNFOU&OWJSPONFOU ։ൃ؀ڥ

Slide 13

Slide 13 text

ͳͥ ʠ༰қʹߏஙՄೳͳ։ൃ؀ڥ Λ༻ҙ͢΂͖ͳͷ͔

Slide 14

Slide 14 text

૑ۀظ ਓ਺਺ਓʙਓͱ͔ ͦΕͧΕ͕ͦΕͧΕద౰ʹ։ൃͯ͠Δɻ ܾ·ͬͯΔͷ͸࢖͏ݴޠͱ%#ɾ8FCαʔόʔ͘Β͍

Slide 15

Slide 15 text

੒௕ظ ਓ਺ਓʙ ͦΕͧΕ͕ͦΕͧΕͷʜY ਓ ϥΠϒϥϦ ݴޠ ϛυϧ΢ΣΞ ίϯ ϙωϯτ

Slide 16

Slide 16 text

੒௕ظ ਓ਺ਓʙ ͦΕͧΕ͕ͦΕͧΕͷʜY ਓ ϥΠϒϥϦ ݴޠ ϛυϧ΢ΣΞ ίϯ ϙωϯτ ৽ਓ ϛ

Slide 17

Slide 17 text

੒௕ظ ਓ਺ਓʙ ͦΕͧΕ͕ͦΕͧΕͷʜY ਓ ϥΠϒϥϦ ݴޠ ϛυϧ΢ΣΞ ίϯ ϙωϯτ ৽ਓ ϛ

Slide 18

Slide 18 text

໰୊ w ؅ཧͰ͖ͳ͍ w ૿͑Δϛυϧ΢ΣΞɾιϑτ΢ΣΞʹϝϯόʔ͕ ௥ैͰ͖ͳ͍ w ৽ਓ͕Ͳ͏΍ͬͯ։ൃΛ࢝ΊΔͷ͔͕Θ͔Βͳ͍

Slide 19

Slide 19 text

5SBJOJOH ڭҭʹ͍ͭͯ

Slide 20

Slide 20 text

༏लͳਓͷଗ͏νʔϜ͔ͩΒڭҭͱ͔͍Βͳ͍

Slide 21

Slide 21 text

ͱʹ͔͘։ൃ͕ॏཁ͔ͩΒڭҭͯ͠ΔՋ͸ͳ͍

Slide 22

Slide 22 text

Α͋͘Δؒҧ͍✘

Slide 23

Slide 23 text

༏लͳਓͷଗ͏νʔϜʹͦ͜ɺڭҭ͸ॏཁ w ༏लͳਓΛ͍͔ʹૣ͘ϓϩμΫτͰ׆༂ͤ͞Δ͔ w ૊৫ͷ੒௕ʹඋ͑Δ w ϑΣʔζʹΑΔঢ়گͷมԽΛ࣮֬ʹଊ͑ͳ͕Β

Slide 24

Slide 24 text

։ൃ؀ڥߏஙʹؔ͢Δ ΑΓ۩ମతͳ࿩

Slide 25

Slide 25 text

$PNNPO%FWFMPQNFOU4FSWFS /var/www/vhosts/dev1.example.com /var/www/vhosts/dev2.example.com /var/www/vhosts/dev3.example.com /var/www/vhosts/dev4.example.com ...

Slide 26

Slide 26 text

*OEJWJEVBM%FWFMPQNFOU4FSWFS3FDJQF EFC SQN

Slide 27

Slide 27 text

-PDBM

Slide 28

Slide 28 text

PUUP

Slide 29

Slide 29 text

ϝϧΧϦͷ৔߹ w 7JSUVBM#PY7BHSBOU w ֤छϛυϧ΢ΣΞΛηοτΞοϓࡁΈͷ#PY Λ഑෍ #PY͸4ʹ͓͍ͯΔ w ιʔείʔυ͸.BD্ʹɻ TZODFE@GPMEFS

Slide 30

Slide 30 text

ϝϧΧϦͷ৔߹ $ git clone http://…/mercari-dev.git $ cd mercari-dev $ make

Slide 31

Slide 31 text

ϝϧΧϦͷ৔߹ config.vm.box_url = "https://s3-ap- northeast-1.amazonaws.com/.../mercari- dev/catalog.json"

Slide 32

Slide 32 text

#PYͮ͘ΓͷΞϨίϨ w σΟϨΫτϦߏ଄Λຊ൪ͱଗ͑Δ w ഑෍͢Δ7.ࣗମͷϓϩϏδϣχϯάΛBOTJCMFͰ w WFFXFFͰϏϧυ w NBLFίϚϯυൃͰϏϧυˠΧλϩάͷΞοϓϩʔυ w FYQFSJNFOUBMCVJMEΛఏڙͯ͠ಈ࡞֬ೝޙ഑෍൛࡞੒

Slide 33

Slide 33 text

-PDBMͷ೰Έ w 2"νʔϜͱͷ΍ΓͱΓ w ΫϥΠΞϯτ "OESPJEJ04 ͱͷ΍ΓͱΓ w 44-Ͳ͏͠Α͏ w ՈͰ΍Δͱ͖ࠔΔ

Slide 34

Slide 34 text

ϝϧΧϦͷ৔߹ $ make dns

Slide 35

Slide 35 text

IPTUTΛॻ͖׵͑ΒΕͳ͍ ͔Β΋ΞΫηεͰ͖ͯخ͍͠ 10.0.1.12 api-sotarok-jp.dev.example.com 10.0.1.12 api-sotarok-us.dev.example.com 10.0.1.12 www-sotarok-jp.dev.example.com 10.0.1.12 www-sotarok-us.dev.example.com 10.0.1.12 …

Slide 36

Slide 36 text

ϋΠϑϯͰ໊લΛ࡞Δ EFWFYBNQMFDPN 10.0.1.12 api-sotarok-jp.dev.example.com 10.0.1.12 api-sotarok-us.dev.example.com 10.0.1.12 www-sotarok-jp.dev.example.com 10.0.1.12 www-sotarok-us.dev.example.com 10.0.1.12 … 8JME$BSE44-

Slide 37

Slide 37 text

%BUBCBTF4FSWFS

Slide 38

Slide 38 text

$PNNPO%BUBCBTF4FSWFS DEV DB Dev Server Dev Server Dev Server

Slide 39

Slide 39 text

։ൃ؀ڥͷσʔλΛͰ͖Δ͚ͩຊ൪ʹ͚ۙͮΔ IUUQUFDIMJGFDPPLQBEDPNFOUSZ

Slide 40

Slide 40 text

ϝϧΧϦͷ৔߹ w -PDBMʹ։ൃ؀ڥΛ΋ͬͯΔ΋ΜͰʜ w 2"؀ڥͷ%#ͷόοΫΞοϓΛJNQPSU͢ Δ࢓૊Έ

Slide 41

Slide 41 text

2"؀ڥ ͋Δ͍͸TUBHJOHͱ͔͍͏

Slide 42

Slide 42 text

2" QA DB QA App QA Member QA Member QA Member qa.dev.example.com

Slide 43

Slide 43 text

2" QA DB QA App QA Member QA Member QA Member qa.dev.example.com %#͕੒ख़ͯ͘͠Δ

Slide 44

Slide 44 text

·ͱΊ

Slide 45

Slide 45 text

·ͱΊ w ։ൃ؀ڥͷߏஙํ๏؆୯ʹͨ͠΄͏͕͍͍Α w ͍Ζ͍Ζ΍Γํ͋ΔΑ w ϝϧΧϦͩͱ w ϩʔΧϧʹߏஙͯ͠։ൃ w ϩʔΧϧʹߏங͢Δ೰Έ͸͍Ζ͍Ζղܾ w 2"؀ڥ͸ڞ௨ͩͬͨΓ͢Δ w σʔλ͸2"؀ڥ͔Β࣋ͬͯདྷͯϋοϐʔ

Slide 46

Slide 46 text

ʠ։ൃ؀ڥʡʹؔ͢Δ ͓·͚తͳ࿩

Slide 47

Slide 47 text

ʠ։ൃ؀ڥʡ͸ αʔόʔ͚ͩ͡Όͳͯ͘ɻ

Slide 48

Slide 48 text

ʠ։ൃ؀ڥʡ w *%& w $PNNBOE-JOF5PPMT w #SPXTFS&YUFOTJPO w ʜ

Slide 49

Slide 49 text

'BDFCPPLͷ3FBDU%FWFMPQFS5PPM

Slide 50

Slide 50 text

։ൃͷ඼࣭Λ޲্ͤ͞ɺແବΛল͘ w ͦ͏͍͏ʠπʔϧʡ܊͢΂ͯ։ൃ؀ڥ w ແବΛऔΓআ͖ຊ࣭తͳ։ൃ࡞ۀʹ࠷΋ूதͰ͖ Δ؀ڥΛ࡞Δ

Slide 51

Slide 51 text

ͦ͏͍͏͜ͱΛɺ ୭͕ߟ͑ ୭͕࢝ΊΔ͔

Slide 52

Slide 52 text

:PV

Slide 53

Slide 53 text

PS

Slide 54

Slide 54 text

No content

Slide 55

Slide 55 text

8FBSFIJSJOH

Slide 56

Slide 56 text

5IBOLZPV