Slide 1

Slide 1 text

ECSͷαʔϏεΛslack botͰσϓϩΠ͢Δ 2017/7/21 JAWS-UG ίϯςφࢧ෦ #9 @h3_poteto

Slide 2

Slide 2 text

ࣗݾ঺հ • Akira Fukushimaʢ෱ౡ ໌ʣ • github: h3poteto • twitter: h3_poteto • ࢓ࣄɿCrowdWorksʢ࠷ۙ͸ΠϯϑϥपΓ

Slide 3

Slide 3 text

झຯɿσϓϩΠ

Slide 4

Slide 4 text

ࠓ೔͸σϓϩΠͷ࿩

Slide 5

Slide 5 text

ECSͰαʔϏε࡞Γ͍ͨΜͩ ͚ͲσϓϩΠͲ͏͠Α͏

Slide 6

Slide 6 text

ͪΐͬͱ༨ஊ

Slide 7

Slide 7 text

ઌ೔googleͷਓ͕དྷͯ

Slide 8

Slide 8 text

ʮECSͬͯσϓϩΠ͕……Ͱ ͏ͪʹདྷΔ͓٬͞Μ΋ ଟ͍Ͱ͢ʯ

Slide 9

Slide 9 text

͍΍͍΍ɼ͏ͪͷECSσϓϩ Πָ͔ͩΒʂʂʂ

Slide 10

Slide 10 text

ECSͰαʔϏε࡞Γ͍ͨΜͩ ͚ͲσϓϩΠͲ͏͠Α͏

Slide 11

Slide 11 text

CrowdWorksͷͭΒΈ • ڊେͳRailsΞϓϦέʔγϣϯ • Πϯϑϥߏங͸chefͰ • CrowdWorksຊମ͸Dockerʹͨͯ͘͠΋·ͩ·ͩԕ͍ • ґଘ͢Δ෺͕ଟ͘Docker Image͕ංେԽ • ιʔείʔυ΋ଟͯ͘Docker Image͕ංେԽ • ࣗલͰ࡞ͬͯΔϑΝΠϧΩϟογϡ

Slide 12

Slide 12 text

CrowdWorksͷECS׆༻ࣄ৘ • ຊମ͔Β੾Γग़ͨ͠ϚΠΫϩαʔϏε • ͱ͸͍͑·ͩ·ͩશવϚΠΫϩαʔϏεͬΆ ͘͸ͳ͍

Slide 13

Slide 13 text

ͦΕͰ΋σϓϩΠ͸ඞཁ

Slide 14

Slide 14 text

ECSͷσϓϩΠͲ͏͠Α͏ ໰୊

Slide 15

Slide 15 text

aws-cliͷσϓϩΠ͸ෆศ

Slide 16

Slide 16 text

DockerͷσϓϩΠखॱ • CI౳Ͱ৽͍͠Docker ImageΛ࡞੒ • ϗετ্Ͱ৽͍͠DockerίϯςφΛىಈ • ݹ͍ίϯςφΛఀࢭ

Slide 17

Slide 17 text

aws ecs update-service

Slide 18

Slide 18 text

ͱࢥ͍͖΍ ᶃͦͷલʹTaskDefinitionΛ ߋ৽͢Δඞཁ͕͋Δ

Slide 19

Slide 19 text

ᶄservice-update͸Task͕ ׬શʹ੾ΓସΘΔ·Ͱ଴ͬͯ ͘Εͳ͍

Slide 20

Slide 20 text

ݱࡏಈ͍͍ͯΔλεΫ

Slide 21

Slide 21 text

ݱࡏಈ͍͍ͯΔλεΫ ৽͘͠ੜΈग़͞ΕͨλεΫ

Slide 22

Slide 22 text

৽͘͠ੜΈग़͞ΕͨλεΫ

Slide 23

Slide 23 text

ͦΜͳ͜ΜͳͰσϓϩΠπʔ ϧ͕͍͔ͭ͋͘Δ

Slide 24

Slide 24 text

ECSͷσϓϩΠπʔϧ • amazon-ecs-cli • ecs-formation • ecs-deploy • hako

Slide 25

Slide 25 text

ͱΓ͋͑ͣecs-deployΛ ࢖ͬͯͨ

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

த਎͸γΣϧεΫϦϓτ

Slide 28

Slide 28 text

$ ./ecs-deploy \ -c crowdworks-staging \ -n lp-crowdworks-staging \ -i $AWS_ECR_REPOSITORY:$CIRCLE_SHA1

Slide 29

Slide 29 text

͜ΕΛCircleCI಺͔Βୟ͘

Slide 30

Slide 30 text

ecs-deployͷ͍͍ͱ͜Ζ • 1ίϚϯυͰTaskDefinitionͷߋ৽ɼupdate- service·Ͱߦ͑Δ • Task͕੾ΓସΘͬͯσϓϩΠ͕׬ྃ͢Δ·Ͱ ଴ͬͯ͘ΕΔ

Slide 31

Slide 31 text

ecs-deployͷ൵͍͠ͱ͜Ζ • jq, aws-cli౳ґଘ͍ͯ͠Δ΋ͷ͕͍͔ͭ͘…… • γΣϧεΫϦϓτͳͷͰɼslack botͷϓϩά ϥϜ͔Βݺͼग़͢ͱ͖͸֎෦ίϚϯυͱͯ͠ ࣮ߦʢΤϥʔϋϯυϦϯάΊΜͲ͍͘͞

Slide 32

Slide 32 text

ͦΕͰ΋CircleCI಺͔Β΍Δ ෼ʹ͸े෼ͩͬͨ

Slide 33

Slide 33 text

ͱ͜Ζ͕

Slide 34

Slide 34 text

࠷ۙDB migration͕ඞཁͳ αʔϏεΛ࡞ͬͨ

Slide 35

Slide 35 text

migrationͲ͏͠Α͏໰୊

Slide 36

Slide 36 text

CircleCI಺Ͱmigration͞ΕΔ ͱࠔΔ • migrationͷ࣮ߦλΠϛϯάΛίϯτϩʔϧͰ ͖ͳ͍ • ͘͢͝ॏ͍migration͕૸ΔՄೳੑ΋͋Δ

Slide 37

Slide 37 text

ͦ΋ͦ΋ecs-deploy ୯ൃͷλεΫ࣮ߦͰ͖ͳ͔ͬ ͨ

Slide 38

Slide 38 text

3FRVJSFEBSHVNFOUT LcBXTBDDFTTLFZ"84"DDFTT,FZ*%.BZBMTPCFTFUBTFOWJSPONFOUWBSJBCMF"84@"$$&44@,&:@*% TcBXTTFDSFULFZ"844FDSFU"DDFTT,FZ.BZBMTPCFTFUBTFOWJSPONFOUWBSJBCMF"84@4&$3&5@"$$&44@,&: ScSFHJPO"843FHJPO/BNF.BZBMTPCFTFUBTFOWJSPONFOUWBSJBCMF"84@%&'"6-5@3&(*0/ QcQSPpMF"841SPpMFUPVTF*GZPVTFUUIJTBXTBDDFTTLFZ BXTTFDSFULFZBOESFHJPOBSFOPUOFFEFE cBXTJOTUBODFQSPpMF6TFUIF*".SPMFBTTPDJBUFEXJUIUIFDVSSFOU"84JOTUBODF$BOPOMZCFVTFEGSPNXJUIJOBSVOOJOH"84 JOTUBODF*GZPVTFUUIJT BXTBDDFTTLFZBOEBXTTFDSFULFZBSFOPUOFFEFE DcDMVTUFS/BNFPG&$4DMVTUFS OcTFSWJDFOBNF/BNFPGTFSWJDFUPEFQMPZ JcJNBHF/BNFPG%PDLFSJNBHFUPSVO FYSFQPJNBHFMBUFTU 'PSNBU<QPSU><SFQP><><UBH> &YBNQMFTNBSJBEC NBSJBECMBUFTU TJMJOUMNBSJBEC TJMJOUMNBSJBECMBUFTU QSJWBUFSFHJTUSZDPNSFQPJNBHFUBH 0QUJPOBMBSHVNFOUT %cEFTJSFEDPVOU5IFOVNCFSPGJOTUBOUJBUJPOTPGUIFUBTLUPQMBDFBOELFFQSVOOJOHJOZPVSTFSWJDF NcNJONJOVNVN)FBMUIZ1FSDFOU5IFMPXFSMJNJUPOUIFOVNCFSPGSVOOJOHUBTLTEVSJOHBEFQMPZNFOU EFGBVMU .cNBYNBYJNVN1FSDFOU5IFVQQFSMJNJUPOUIFOVNCFSPGSVOOJOHUBTLTEVSJOHBEFQMPZNFOU EFGBVMU UcUJNFPVU%FGBVMUJTT4DSJQUNPOJUPST&$44FSWJDFGPSOFXUBTLEFpOJUJPOUPCFSVOOJOH FcUBHFOWWBS(FUJNBHFUBHOBNFGSPNFOWJSPONFOUWBSJBCMF*GQSPWJEFEUIJTXJMMPWFSSJEFWBMVFTQFDJpFEJOJNBHFOBNF BSHVNFOU NBYEFpOJUJPOT/VNCFSPG5BTL%FpOJUJPO3FWJTJPOTUPQFSTJTUCFGPSFEFSFHJTUFSJOHPMEFTUSFWJTJPOT /PUF5IJTOVNCFSNVTUCFPSIJHIFS JFLFFQPOMZUIFDVSSFOUSFWJTJPO"$5*7& .BYEFpOJUJPOTDBVTFTBMMUBTLSFWJTJPOTOPUNBUDIJOHDSJUFSJBUPCFEFSFHJTUFSFE FWFOJGUIFZSFDSFBUFENBOVBMMZ 4DSJQUXJMMPOMZQFSGPSNEFSFHJTUSBUJPOJGEFQMPZNFOUTVDDFFET FOBCMFSPMMCBDL3PMMCBDLUBTLEFpOJUJPOJGOFXWFSTJPOJTOPUSVOOJOHCFGPSF5*.&065 WcWFSCPTF7FSCPTFPVUQVU

Slide 39

Slide 39 text

͡Ό͊ࣗ෼Ͱ࡞Ζ͏

Slide 40

Slide 40 text

ཁٻ • σϓϩΠͷଞʹ୯ൃͷλεΫ࣮ߦΛ͍ͨ͠ • goͷpackageʹͳ͍ͬͯͯཉ͍͠ʢslack bot ΛgoͰ࡞Ζ͏ͱࢥ͍ͬͯͨͷͰʣ

Slide 41

Slide 41 text

CrowdWorks಺ͷECSࣄ৘ • cluster, service࡞ͬͨΓॳظͷTaskDefinition ͷ࡞੒͸શͯterraformͰߦ͍ͬͯΔ • طʹग़དྷ্͕ͬͨcluster, serviceʹɼొ࿥ࡁΈ ͷTaskDefinitionͰσϓϩΠͰ͖Ε͹े෼ • ͨͩ͠Image͚ͩ͸ߋ৽͢Δ

Slide 42

Slide 42 text

< \ OBNFMQDSPXEXPSLTTUBHJOH JNBHFELSFDSBQOPSUIFBTUBNB[POBXTDPNDSPXEXPSLTDSPXEXPSLTMQEFWFMPQ FTTFOUJBMUSVF NFNPSZ3FTFSWBUJPO QPSU.BQQJOHT< \ DPOUBJOFS1PSU ^ > FOWJSPONFOU< \OBNF3"*-4@&/7 WBMVFTUBHJOH^ \OBNF3"*-4@-0(@50@45%065 WBMVFUSVF^ > MPH$POpHVSBUJPO\ MPH%SJWFSqVFOUE PQUJPOT\ UBHDSPXEXPSLTTUBHJOHFDTMQ ^ ^ ^ > ͚ͩ͜͜ม͍͑ͨ

Slide 43

Slide 43 text

ecs-goploy https://github.com/ crowdworks/ecs-goploy

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

$ ./ecs-goploy --help Deploy commands for ECS Usage: ecs-goploy [command] Available Commands: help Help about any command service Service deploy to ECS task Run task on ECS version Print the version number Flags: -h, --help help for ecs-goploy Use "ecs-goploy [command] --help" for more information about a command. αʔϏεσϓϩΠ ୯ൃλεΫ࣮ߦ

Slide 46

Slide 46 text

FDTHPQMPZTFSWJDFŠIFMQ 4FSWJDFEFQMPZUP&$4 6TBHF FDTHPQMPZTFSWJDF 'MBHT D DMVTUFSTUSJOH/BNFPG&$4DMVTUFS FOBCMFSPMMCBDL3PMMCBDLUBTLEFpOJUJPOJGOFXWFSTJPOJTOPU SVOOJOHCFGPSF5*.&065 I IFMQIFMQGPSTFSWJDF J JNBHFTUSJOH/BNFPG%PDLFSJNBHFUPSVO FYSFQPJNBHFMBUFTU Q QSPpMFTUSJOH"841SPpMFUPVTF S SFHJPOTUSJOH"843FHJPO/BNF O TFSWJDFOBNFTUSJOH/BNFPGTFSWJDFUPEFQMPZ E UBTLEFpOJUJPOTUSJOH/BNFPGCBTFUBTLEFpOJUJPOUPEFQMPZ'BNJMZ BOESFWJTJPO GBNJMZSFWJTJPO PSGVMM"3/ U UJNFPVUJOU5JNFPVUTFDPOET4DSJQUNPOJUPST&$44FSWJDFGPS OFXUBTLEFpOJUJPOUPCFSVOOJOH EFGBVMU

Slide 47

Slide 47 text

Φϓγϣϯ͕ଟ͍……

Slide 48

Slide 48 text

ecs-deployͷΦϓγϣϯ΋ ଟ͔ͬͨͷͰڐͯ͠……

Slide 49

Slide 49 text

ͦ΋ͦ΋ECSؔ࿈ͷύϥϝʔ λ͸ଟ͍……

Slide 50

Slide 50 text

ecs-goploy service

Slide 51

Slide 51 text

$ ./ecs-goploy service \ -c crowdworks-staging \ -n lp-crowdworks-staging \ -i $AWS_ECR_REPOSITORY:$CIRCLE_SHA1

Slide 52

Slide 52 text

ecs-goploy service • ಈ͍͍ͯΔECS Serviceͷ৘ใऔಘ • ্هͷ৘ใ͔ΒTask DefinitionΛׂΓग़͢ • Docker Imageͷ߲໨͚ͩ৽͍͠ImageͰ্ॻ͖ͯ͠ొ࿥ • ৽͍͠Task DefinitionΛࢦఆͯ͠ update-service૬౰ͷAPIΛୟ͘ • ৽͍͠λεΫ͕ಈ͖ग़͢ͷΛ଴ͭ • ΋͠৽͍͠λεΫ͕ಈ͖ग़͞ͳ͍৔߹ɼݩʑಈ͍͍ͯͨTask Definition Ͱ࠶౓ update-service͠ϩʔϧόοΫ͢Δ

Slide 53

Slide 53 text

ݱࡏಈ͍͍ͯΔλεΫͷ TaskDefinitionΛऔಘ͢Δ

Slide 54

Slide 54 text

TaskDefinitionͷऔಘ • ϥετͰϩʔϧόοΫ͢Δࡍʹઈରʹඞཁ • Ҿ਺ͰTask Definition͕༩͑ΒΕͳ͔ͬͨ৔߹ ʹɼϕʔεͷTask Definitionͱͯ͠࢖͏ʢຆͲ ͷύλʔϯ͸͜Εʣ • Ҿ਺ͰϕʔεͱͳΔTask DefinitionΛ༩͑Δ͜ ͱ΋Մೳ

Slide 55

Slide 55 text

Ҿ਺ͰTaskDeinifitionΛ༩͑Δ • ImageҎ֎ͷ߲໨ߋ৽ʹ͸ରԠ͍ͯ͠ͳ͍ͨΊ • ؀ڥม਺౳Λߋ৽͢ΔͨΊɼterraformͰ৽͠ ͍Task DefinitionΛ࡞Δ • ͜ͷ৽͍͠Task DefinitionͰσϓϩΠ͍ͨ͠৔ ߹

Slide 56

Slide 56 text

Imageͷ߲໨͚ͩߋ৽ͨ͠ TaskDefinitionΛొ࿥

Slide 57

Slide 57 text

update-service૬౰ͷAPIΛ ୟ͘

Slide 58

Slide 58 text

৽͍͠λεΫ͕ಈ͖ग़͢ͷΛ ଴ͭ

Slide 59

Slide 59 text

λεΫ੾ΓସΘΓͷ൑ఆ • λεΫ͕ऩଋ͢ΔͷΛ଴ͭ • ऩଋͨ͠λεΫ͕σϓϩΠ࣌ʹࢦఆͨ͠Task DefinitionͰ͋Δ͜ͱ • ʮ଴ͪʯ͕͋ΔͷͰλΠϜΞ΢τΛઃఆͯ͠ ͍Δ

Slide 60

Slide 60 text

੾ΓସΘΒͳ͍৔߹͸ϩʔϧ όοΫσϓϩΠΛߦ͏

Slide 61

Slide 61 text

৽͍͠λεΫ͕ਖ਼ৗʹىಈ͠ͳ͍ͱ͖ ݱࡏಈ͍͍ͯΔઃఆͰ࠶౓σϓϩΠ͠௚͢

Slide 62

Slide 62 text

ecs-goploy task

Slide 63

Slide 63 text

FDTHPQMPZUBTLa DDSPXEXPSLTTUBHJOHa OMQDSPXEXPSLTTUBHJOHa J"84@&$3@3&104*503:$*3$-&@4)"a E"84@5"4,@%&'*/*5*0/a ŠDPNNBOElFDIPIPHFz

Slide 64

Slide 64 text

ecs-goploy task • Ҿ਺Ͱ༩͑ΒΕͨTask Definition͕ଘࡏ͢Δ͔֬ೝ • Ҿ਺Ͱ༩͑ΒΕͨTask DefinitionͷDocker Image߲໨͚ͩ৽͠ ͍ImageͰ্ॻ͖ͯ͠ొ࿥ • ৽͍͠Task DefinitionΛࢦఆͯ͠ run-task ૬౰ͷAPIΛୟ͘ • ৽͍͠λεΫͷ࣮ߦ׬ྃΛ଴ͭ • λεΫͷ࣮ߦ͕ऴྃͨ͠ΒɼͦͷExitCodeʹԠͨ͡ग़ྗΛฦ͢

Slide 65

Slide 65 text

TaskDefinitionͷ֬ೝ

Slide 66

Slide 66 text

TaskDefinition͸ඞਢ • serviceͱҧͬͯݱࡏಈ͍͍ͯΔ΋ͷ͕ͳ͍ͷ ͰɼϕʔεͱͳΔTaskDefinitionΛࢦఆ͠ͳ͍ ͱ͍͚ͳ͍ • serviceͱҧ͏TaskDefinition΋ࢦఆͰ͖Δ

Slide 67

Slide 67 text

Imageͷ߲໨͚ͩΛߋ৽ͨ͠ TaskDefinitionΛొ࿥

Slide 68

Slide 68 text

run-task૬౰ͷAPIΛୟ͘

Slide 69

Slide 69 text

৽͍͠λεΫͷ࣮ߦऴྃΛ଴ ͭ

Slide 70

Slide 70 text

࣮ߦऴྃ

Slide 71

Slide 71 text

ExitCodeΛ֬ೝͯͦ͠ΕʹԠ ͨ͡ग़ྗΛฦ͢

Slide 72

Slide 72 text

ExitCode

Slide 73

Slide 73 text

ExitCodeʹԠͨ͡ग़ྗ • ExitCode͕0ͳΒecs-goploy΋ਖ਼ৗऴྃ • ExitCode͕0Ҏ֎ͩͱecs-goploy΋ྫ֎Λు ͘

Slide 74

Slide 74 text

ecs-deployͱͷࠩ෼ • taskͱ͍͏ίϚϯυͰrun-task͕Ͱ͖Δ • ϕʔεͱͳΔTaskDefinitionΛࢦఆͰ͖Δ
 ʢ࣮͸ecs-deployͰ΋Ͱ͖Δʁ

Slide 75

Slide 75 text

্ॻ͖Ͱ͖ΔTaskDefinition ߲໨͸ImageͷΈ

Slide 76

Slide 76 text

;ͩΜͷσϓϩΠͰ͸Image ͔͠৽͍ͯ͘͠͠ͳ͍

Slide 77

Slide 77 text

؀ڥม਺౳Λมߋ͍ͨ͠৔߹ ʹ͸terraformͰϕʔεͱͳΔ TaskDefinitionΛมߋ͢Δ

Slide 78

Slide 78 text

packageͱͯ͠΋ར༻Ͱ͖Δ

Slide 79

Slide 79 text

JNQPSUlHJUIVCDPNDSPXEXPSLTFDTHPQMPZEFQMPZ GVODNBJO \ T FSSEFQMPZ/FX4FSWJDF DMVTUFS TFSWJDFOBNF OHJOYTUBCMF OJM UJNF.JOVUF USVF JGFSSOJM\ MPH'BUBMG <&3303>W FSS ^ EFQMPZOFXJNBHF JGFSST%FQMPZ FSSOJM\ MPH'BUBMG <&3303>W FSS ^ ^

Slide 80

Slide 80 text

packageͱͯ͠import • σϓϩΠͷॱংΛมߋ͍ͨ͠ • σϓϩΠͷ߹ؒʹผͷॲཧΛڬΈ͍ͨ

Slide 81

Slide 81 text

͋ͱ͸͜ΕΛslack botͷιʔ εͰimport͢Δ

Slide 82

Slide 82 text

JNQPSUlHJUIVCDPNDSPXEXPSLTFDTHPQMPZEFQMPZ GVODNBJO \ NJHSBUJPOλεΫ࣮ߦ UBTL FSSEFQMPZ/FX5BTL DMVTUFS DPOUBJOFSOBNF OHJOYTUBCMF FDIPIPHF TBNQMFUBTL EFpOJUJPO UJNF.JOVUF JGFSSOJM\ MPH'BUBM FSS ^ JG@ FSSUBTL3VO FSSOJM\ MPH'BUBM FSS ^ MPH1SJOUMO <*/'0>5BTLTVDDFTT αʔϏεσϓϩΠ T FSSEFQMPZ/FX4FSWJDF DMVTUFS TFSWJDFOBNF OHJOYTUBCMF OJM UJNF.JOVUF USVF JGFSSOJM\ MPH'BUBMG <&3303>W FSS ^ EFQMPZOFXJNBHF JGFSST%FQMPZ FSSOJM\ MPH'BUBMG <&3303>W FSS ^ ^

Slide 83

Slide 83 text

No content

Slide 84

Slide 84 text

ͳΜͰslack botΛgoͰʁ

Slide 85

Slide 85 text

No content

Slide 86

Slide 86 text

Interactive Message ࢖͍͍ͨ

Slide 87

Slide 87 text

ϚΠΫϩαʔϏεʹ͍͖ͯ͠ ͍ͨͷͰɼαʔϏε͸ͲΜͲ Μ૿͑Δ༧ఆ

Slide 88

Slide 88 text

ECSʹαʔϏε࡞Δͨͼʹbot Λ࡞Δͷ͸ආ͚͍ͨ

Slide 89

Slide 89 text

ͲͷαʔϏεΛσϓϩΠ͢Δ ͔બ୒Ͱ͖Δbotʹ͍ͨ͠

Slide 90

Slide 90 text

No content

Slide 91

Slide 91 text

DMVTUFSDSPXEXPSLTTUBHJOH JNBHFDSPXEXPSLTCBOLJOHQMBZ TFSWJDF OBNFCBOLJOHDSPXEXPSLTTUBHJOH UJNFPVU UBTL DPOUBJOFS@OBNFCBOLJOHBEIPDDSPXEXPSLTTUBHJOH UBTL@EFpOJUJPOCBOLJOHBEIPDDSPXEXPSLTTUBHJOH DPNNBOEQMBZ@SVONBJOUBTLTNJHSBUJPO'MZXBZ.JHSBUF5BTL UJNFPVU SFQPTJUPSZ PXOFSDSPXEXPSLTKQ OBNFCBOLJOH CSBODIEFWFMPQ

Slide 92

Slide 92 text

slack bot • ECSͷαʔϏε৘ใΛઃఆϑΝΠϧʹ௥ه͢ Δ͚ͩͰσϓϩΠͰ͖Δ • ୭͕σϓϩΠͯ͠Δ͔ʢ͔ͨ͠ʣ໌֬

Slide 93

Slide 93 text

ॴײ

Slide 94

Slide 94 text

• ͠͹Β͘ecs-goployͰ଍Γͦ͏ • goָ͍͠ • σϓϩΠεΫϦϓτͷςετ͕ॻ͚Δɼ࠷ߴ • slackͷInteractive MessageΛड͚෇͚Δͷ ͸ɼී௨ʹhttpαʔόͳͷͰෳࡶʹͳΓ͕ͪ • ࠓͷͱ͜Ζࣄނͳ͠

Slide 95

Slide 95 text

ࠓޙདྷͦ͏ͳͱ͜Ζ

Slide 96

Slide 96 text

• DesiredCountมߋΦϓγϣϯʢecs-deployʹ ͸͋Δʣ • ෆཁʹͳͬͨTaskDefinitionͷ࡟আʢecs- deployʹ͸͋Δʣ

Slide 97

Slide 97 text

ecs-goploy ͨͿΜ·ͩόά͕຾͍ͬͯΔ ؾ͕͢Δ

Slide 98

Slide 98 text

godoc΋ҰԠॻ͍ͯ͋ΔͷͰ ࢖ͬͯΈ͍ͯͩ͘͞

Slide 99

Slide 99 text

΋͠Կ͔ෆศ͕͋Ε͹ ͝࿈བྷ͍ͩ͘͞

Slide 100

Slide 100 text

ࢀߟʹ͍͖ͤͯͨͩ͞·ͨ͠ • https://speakerdeck.com/yukiyan/ ecsfalsedepuroituruwoshi-siteiruhua