Slide 1

Slide 1 text

10/19Wed at "84ͰळͷσϓϩΠࡇ Γ ʂ

Slide 2

Slide 2 text

Who am I

Slide 3

Slide 3 text

Atsushi Ando
 ͋ΜͲ͏͋ͭ͠ DTP/web Design Engineer ArtDirector twitter : @Next_Season github : @AtsushiA web : next-season.net I love 

Slide 4

Slide 4 text

Community
 &etc…
 .0%9ͷ೔
 8PSE#FODI,PCF
 +"846(,PCF DPODSFUFΤόϯδΣϦετ

Slide 5

Slide 5 text

1SFWJPVTPDDVQBUJPO Guitar Craft Man

Slide 6

Slide 6 text

Rent Works Keynote MODX Concrete5 WordPress AWS Photography PhotoShop Illustrator Not a programmer

Slide 7

Slide 7 text

$PEF%FQMPZ

Slide 8

Slide 8 text

(JU)VCʹϓογϡͨ͠Β
 &$ΠϯελϯεʹσϓϩΠ
 Ͱ͖ͨศརͪΌ͏ʂʁ
 ͬͯࣄͰϋϚͬͨ࿩

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

https://deploybot.com/

Slide 11

Slide 11 text

͔ͤͬ͘"84ͩ͠ɾɾɾ

Slide 12

Slide 12 text

൓өͤ͞ΔιʔεʹΑͬͯ͸
 8FCαʔόͱ͔࠶ىಈ͍ͨ͠ ࣌΋͋Δ͔΋ʂʁ

Slide 13

Slide 13 text

$PEF%FQMPZ

Slide 14

Slide 14 text

0VUMJOF

Slide 15

Slide 15 text

ඞཁͳ΋ͷ w &$ʹ"HFOUͷΠϯετʔϧ3PMFઃఆ w "QQMJDBUJPO4QFDJpDBUJPO'JMF "QQ4QFDpMF 
 :".-ϑΥʔϚοτͷϑΝΠϧ w લॲཧɾޙॲཧͳͲͷγΣϧεΫϦϓτ w $PEF%FQMPZͷઃఆ w (JU)VC͔ΒͷΞΫηε༻*".Ϣʔβ࡞੒ w (JU)VCʹXFCϑοΫͷઃఆ

Slide 16

Slide 16 text

&$ʹ"HFOUͷΠϯετʔϧ ZVNZVQEBUF ZVNJOTUBMMZSVCZ ZVNJOTUBMMZBXTDMJ DEIPNFFDVTFS BXTTDQTBXTDPEFEFQMPZVTFBTUMBUFTU JOTUBMMSFHJPOVTFBTU DINPEYJOTUBMM JOTUBMMBVUP TFSWJDFDPEFEFQMPZBHFOUTUBSU IAM RoleʹS3ͷreadݖݶ͕ཁΓ·͢

Slide 17

Slide 17 text

3PMFͷઃఆ

Slide 18

Slide 18 text

ඞཁͳ΋ͷ w &$ʹ"HFOUͷΠϯετʔϧ3PMFઃఆ w "QQMJDBUJPO4QFDJpDBUJPO'JMF "QQ4QFDpMF 
 :".-ϑΥʔϚοτͷϑΝΠϧ w લॲཧɾޙॲཧͳͲͷγΣϧεΫϦϓτ w $PEF%FQMPZͷઃఆ w (JU)VC͔ΒͷΞΫηε༻*".Ϣʔβ࡞੒ w (JU)VCʹXFCϑοΫͷઃఆ

Slide 19

Slide 19 text

BQQTQFDZNM WFSTJPO PTMJOVY pMFT TPVSDF EFTUJOBUJPOWBSXXXIUNMWIPTUT IPPLT "QQMJDBUJPO4UPQ MPDBUJPOTDSJQUT"QQMJDBUJPO4UPQTI UJNFPVU SVOBTSPPU

Slide 20

Slide 20 text

BQQTQFDZNM
 TPVSDFEJTUJOBUJPO pMFT TPVSDFSFBENFIUNM EFTUJOBUJPOWBSXXXIUNMWIPTUT TPVSDFXQDPOUFOU EFTUJOBUJPOWBSXXXIUNMWIPTUT

Slide 21

Slide 21 text

BQQTQFDZNM
 IPPLT IPPLT "QQMJDBUJPO4UPQ MPDBUJPOTDSJQUT"QQMJDBUJPO4UPQTI UJNFPVU SVOBTSPPU

Slide 22

Slide 22 text

)PPLT "QQMJDBUJPO4UPQ

Slide 23

Slide 23 text

FY"QQMJDBUJPO4UPQ4DSJQU CJOCBTI TVEPTCJOTFSWJDFNPOJUTUPQ TVEPTCJOTFSWJDFOHJOYTUPQ TVEPTCJOTFSWJDFIIWNTUPQ

Slide 24

Slide 24 text

)PPLT "QQMJDBUJPO4UBSU

Slide 25

Slide 25 text

FY"QQMJDBUJPO4UBSU4DSJQU CJOCBTI TVEPTCJOTFSWJDFIIWNTUBSU TVEPTCJOTFSWJDFOHJOYTUBSU TVEPTCJOTFSWJDFNPOJUTUBSU

Slide 26

Slide 26 text

FY'JMFT ᵓᴷᴷBQQTQFDZNM ᵋᴷᴷTDSJQUT ᵓᴷᴷ"QQMJDBUJPO4UBSUTI ᵋᴷᴷ"QQMJDBUJPO4UPQTI ᵋᴷᴷ"QQT appspec.yml͸ϧʔτσΟϨΫτϦʹઃஔɹ

Slide 27

Slide 27 text

FYQFSNJTTJPOT FYDFQU
 আ֎͢ΔϑΝΠϧɺϑΥϧμͷύλʔϯΛࢦఆ PXOFSɿ
 ϑΝΠϧɾσΟϨΫτϦͷॴ༗ऀΛࢦఆ HSPVQɿ
 ϑΝΠϧɾσΟϨΫτϦͷॴ༗άϧʔϓΛࢦఆ NPEFɿ ϑΝΠϧɾσΟϨΫτϦͷύʔϛογϣϯͷϞʔυΛ੔਺஋Ͱࢦఆ http://docs.aws.amazon.com/codedeploy/latest/userguide/app-spec-ref-structure.html

Slide 28

Slide 28 text

ඞཁͳ΋ͷ w &$ʹ"HFOUͷΠϯετʔϧ3PMFઃఆ w "QQMJDBUJPO4QFDJpDBUJPO'JMF "QQ4QFDpMF 
 :".-ϑΥʔϚοτͷϑΝΠϧ w લॲཧɾޙॲཧͳͲͷγΣϧεΫϦϓτ w $PEF%FQMPZͷઃఆ w (JU)VC͔ΒͷΞΫηε༻*".Ϣʔβ࡞੒ w (JU)VCʹXFCϑοΫͷઃఆ

Slide 29

Slide 29 text

$PEF%FQMPZઃఆ

Slide 30

Slide 30 text

$PEF%FQMPZઃఆ

Slide 31

Slide 31 text

$PEF%FQMPZઃఆ "QQMJDBUJPOT

Slide 32

Slide 32 text

$PEF%FQMPZઃఆ "QQMJDBUJPOT

Slide 33

Slide 33 text

$PEF%FQMPZઃఆ "QQMJDBUJPOT ΞϓϦέʔγϣϯͷσϓϩΠ଎౓ͱɺσϓϩΠͷ੒ޭ৚݅·ͨ͸ࣦഊ৚݅Λࢦఆ $PEF%FQMPZ%FGBVMU0OF"U5JNF ճʹݸͷΠϯελϯεʹσϓϩΠ͠·͢ɻΠϯελϯε͕͢΂ͯ੒ޭͨ͠৔߹͕੒ޭͰ͢ɻ
 ࠷ॳʹࣦഊͨ࣌͠఺ͰࣦഊͰ͢ɻσϓϩΠશମͰ͸ࣦഊͨ͠৔߹Ͱ΋ɺҰ෦ͷΠϯελϯεͷσϓϩ Π͸੒ޭ͠·͢ɻ $PEF%FQMPZ%FGBVMU"MM"U0ODF ճʹ࠷େͰ͢΂ͯͷΠϯελϯεʹσϓϩΠ͠·͢ɻগͳ͘ͱ΋ݸͷΠϯελϯε͕੒ޭͨ͠৔߹ ͕੒ޭͰ͢ɻ
 ͢΂ͯͷΠϯελϯε͕ࣦഊͨ͠ΒࣦഊͰ͢ɻ
 $PEF%FQMPZ%FGBVMU"MM"U0ODF ճʹ࠷େͰ൒෼ͷΠϯελϯεʹσϓϩΠ͠·͢ɻগͳ͘ͱ΋൒෼ͷΠϯελϯε͕੒ޭͨ͠৔߹͕ ੒ޭͰ͢ɻ

Slide 34

Slide 34 text

$PEF%FQMPZઃఆ %FQMPZNFOUT

Slide 35

Slide 35 text

$PEF%FQMPZઃఆ %FQMPZNFOUT

Slide 36

Slide 36 text

$PEF%FQMPZઃఆ %FQMPZNFOUT

Slide 37

Slide 37 text

ඞཁͳ΋ͷ w &$ʹ"HFOUͷΠϯετʔϧ3PMFઃఆ w "QQMJDBUJPO4QFDJpDBUJPO'JMF "QQ4QFDpMF 
 :".-ϑΥʔϚοτͷϑΝΠϧ w લॲཧɾޙॲཧͳͲͷγΣϧεΫϦϓτ w $PEF%FQMPZͷઃఆ w (JU)VC͔ΒͷΞΫηε༻*".Ϣʔβ࡞੒ w (JU)VCʹXFCϑοΫͷઃఆ

Slide 38

Slide 38 text

(JU)VC͔ΒͷΞΫηε༻*".Ϣʔβ࡞੒ \ 7FSTJPO 4UBUFNFOU< \ &⒎FDU"MMPX "DUJPODPEFEFQMPZ(FU%FQMPZNFOU$POpH 3FTPVSDFBSOBXTDPEFEFQMPZVTFBTU"$$06/5*%EFQMPZNFOUDPOpH ^ \ &⒎FDU"MMPX "DUJPODPEFEFQMPZ3FHJTUFS"QQMJDBUJPO3FWJTJPO 3FTPVSDFBSOBXTDPEFEFQMPZVTFBTU"$$06/5*%BQQMJDBUJPO%FNP"QQMJDBUJPO ^ \ &⒎FDU"MMPX "DUJPODPEFEFQMPZ(FU"QQMJDBUJPO3FWJTJPO 3FTPVSDFBSOBXTDPEFEFQMPZVTFBTU"$$06/5*%BQQMJDBUJPO%FNP"QQMJDBUJPO ^ \ &⒎FDU"MMPX "DUJPODPEFEFQMPZ$SFBUF%FQMPZNFOU 3FTPVSDFBSOBXTDPEFEFQMPZVTFBTU"$$06/5*%EFQMPZNFOUHSPVQ%FNP"QQMJDBUJPO%FNP'MFFU ^ > ^ https://aws.amazon.com/jp/blogs/devops/automatically-deploy-from-github-using-aws-codedeploy/

Slide 39

Slide 39 text

ඞཁͳ΋ͷ w &$ʹ"HFOUͷΠϯετʔϧ3PMFઃఆ w "QQMJDBUJPO4QFDJpDBUJPO'JMF "QQ4QFDpMF 
 :".-ϑΥʔϚοτͷϑΝΠϧ w લॲཧɾޙॲཧͳͲͷγΣϧεΫϦϓτ w $PEF%FQMPZͷઃఆ w (JU)VC͔ΒͷΞΫηε༻*".Ϣʔβ࡞੒ w (JU)VCʹXFCϑοΫͷઃఆ

Slide 40

Slide 40 text

(JU)VCʹXFCϑοΫͷઃఆ https://aws.amazon.com/jp/blogs/devops/automatically-deploy-from-github-using-aws-codedeploy/

Slide 41

Slide 41 text

(JU)VCʹXFCϑοΫͷઃఆ

Slide 42

Slide 42 text

(JU)VCʹXFCϑοΫͷઃఆ

Slide 43

Slide 43 text

(JU)VC1FSTPOBMBDDFTTUPLFOT

Slide 44

Slide 44 text

(JU)VC1FSTPOBMBDDFTTUPLFOT

Slide 45

Slide 45 text

(JU)VC1FSTPOBMBDDFTTUPLFOT Ͱ͖ͨτʔΫϯΛίϐʔ͓ͯ͘͠

Slide 46

Slide 46 text

(JU)VCʹXFCϑοΫͷઃఆ

Slide 47

Slide 47 text

(JU)VCʹXFCϑοΫͷઃఆ

Slide 48

Slide 48 text

(JU)VCʹXFCϑοΫͷઃఆ

Slide 49

Slide 49 text

ϋϚͬͨͱ͜Ζ σϓϩΠεΫϦϓτΛมߋͯ͠
 (JUDPNNJU1VTIͯ͠΋
 ৽͍͠εΫϦϓτ͕ಈ͔ͳ͍ 55

Slide 50

Slide 50 text

)PPLT "QQMJDBUJPO4UPQ

Slide 51

Slide 51 text

લճͷ࢒֚ΛΫϦΞ CJOCBTI SN3GPQUDPEFEFQMPZBHFOUEFQMPZNFOUSPPU SN3GUNQDPEFEFQMPZ ཚ๫ͳײ͡ͳͷͰϔϧϓҒ͍ਓʂ

Slide 52

Slide 52 text

Thank youɹ: )