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

One Year After the Release of Crystal Clash - Changes to Build Pipeline and CI+CD Infrastructure

One Year After the Release of Crystal Clash - Changes to Build Pipeline and CI+CD Infrastructure

A fifteen minute presentation I gave at the 21st Japan AWS User's Group in Sapporo (on 2018/11/15) giving an overview of the changes that were made to our AWS infrastructure and CI/CD build pipeline over a year from the initial release of Crystal Clash. I also cover how we make use of PHP with AWS Lambda to provide access to the game API from iOS/Android devices.

(Note: This presentation is only in Japanese, sorry.)

3a488be96753f7e2232f3a3d79b83083?s=128

Michael Tedder

November 15, 2018
Tweet

Transcript

  1. ΫϦελϧɾΫϥογϡͷϦϦʔε͔Β೥ޙ ʙΠϯϑϥͱ$*$%΁ͷมԽʙ גࣜձࣾίʔϧυɾϑϡʔδϣϯ ςομʔɹϚΠέϧ
 5FDIOJDBM%JSFDUPS$&0 ୈճ+"846(ࡳຈษڧձ ೥݄೔ ໦ KBXTVH

  2. ג ίʔϧυɾϑϡʔδϣϯ୅දऔక໾
 5PLZP%FNP'FTUϝΠϯओ࠵ऀ
 ࡳຈ஍ҬΫϥ΢υަྲྀձελοϑ ςομʔɹϚΠέϧ ࡀ ࣗݾ঺հ KBXTVH

  3. ޷͖ͳ"84αʔϏε-BNCEB ג ίʔϧυɾϑϡʔδϣϯ୅දऔక໾
 5PLZP%FNP'FTUϝΠϯओ࠵ऀ
 ࡳຈ஍ҬΫϥ΢υަྲྀձελοϑ ςομʔɹϚΠέϧ ࡀ ग़਎ΞϝϦΧ ϑϩϦμभΦʔϥϯυࢢ 

    དྷ೔೥݄ ೥લ  ࢓ࣄήʔϜ։ൃ ೥લ14/࣌୅͔Β  ݴޠ$ (-4-1)15ZQF4DSJQU झຯσϞγʔϯνοϓνϡʔϯ73 ࣗݾ঺հ KBXTVH
  4. ςομʔɹϚΠέϧ
 5FDIOJDBM%JSFDUPS$&0
 ๺ւಓࡳຈࢢ ෱ຊɹষ
 %FTJHO"SU%JSFDUPS
 ౦ژ౎ &JLFl3PNFP,OJHIUz4UF⒎FO
 .VTJD4PVOE%JSFDUPS
 υΠπɹσϡοηϧυϧϑࢢ KBXTVH

  5. ΫϦελϧɾΫϥογϡʲ௒߈ܸత߹ઓʂʳJ04"OESPJEʢແྉʣ (PPHMF1MBZ*('5PQड৆ϑΝϛ௨ɾిܸɾHBNFSʮ5(4ϝσΟΞΞϫʔυʯϊϛωʔτ KBXTVH

  6. ೥݄ͷը૾  ೥͔͚ؒͯϚϧνϓϥοτϑΥʔϜͷϦΞϧλΠϜ%
 ΦʔσΟΦωοτϫʔΫΤϯδϯɺϏϧυύΠϓϥΠϯɺ ΠϯϑϥΛθϩ͔Β࡞੒
 
 
 KBXTVH

  7. Πϯϑϥ ೥લ KBXTVH

  8. Πϯϑϥ ݱࡏ KBXTVH

  9. ։ൃΠϯϑϥ  ͭͷϓϥοτϑΥʔϜରԠ 8JOEPXT
 /JOUFOEP4XJUDI -JOVY
 "OESPJE NBD04J04
 UW04XBUDI04 7JTVBM4UVEJP

    8JOEPXTϗετ 
 .BLFpMFDMBOH -JOVYϗετ 
 9DPEF NBD04ϗετ KBXTVH
  10. ։ൃΠϯϑϥ  Ϗϧυ$*ύΠϓϥΠϯ  Τϯδϯ΁ͷHJUQVTIˠίϯύΠϧˠςετˠ
 ίʔυΧόϨοδˠΫϦελϧɾΫϥογϡͷϏϧυ  ΫϦελϧɾΫϥογϡ΁ͷHJUQVTIˠίϯύΠϧˠ
 σϓϩΠ ݱࡏςετͳ͠

    KBXTVH
  11. ։ൃΠϯϑϥ  ϲ݄લCVJMECPU͔Β(JU-BC$*ʹҠߦ  -JOVY"OESPJE$*͸EPDLFSNBDIJOFͰUMBSHFΛࣗಈతʹ
 ىಈ γϟοτμ΢ϯ UOBOPʹHJUMBCSVOOFSΛ࣮ߦ  

    %PDLFSGPS8JOEPXT EPDLFSNBDIJOFͰ8JOEPXT04͸
 ݱࡏ·ͩෆՄೳ Β͍͠ʁ   8JOEPXT NBD04ͷඞཁੑͰ$*͕׬શʹ"84΁ҠߦͰ͖ͳ͍  ιʔείʔυमਖ਼ˠσϙϩΠ·Ͱ࣌ؒ൒ˠ໿෼ʹݮগ KBXTVH
  12. ΫϦΫϥͷΠϯϑϥ  ΫϥΠΞϯτ
  "1* "84"1*ήʔτ΢ΣΠˠ-BNCEB 3%4 
  ήʔϜαʔόʔ

    &$%PDLFS KBXTVH
  13. ΫϥΠΞϯτ  J04"OESPJE୺຤
  /JOUFOEP4XJUDI
  1$΋ ݱࡏ։ൃ༻ɺࠓޙ4UFBN഑৴༧ఆ KBXTVH

  14. "1*  1)1ݴޠ -BNCEBͰQZUIPOˠ1)1   +40/σʔλ௨৴ͷΈ  Ϣʔβʔొ࿥ೝূ 

    ΩϟϥΫλͷεςʔλεऔಘ  ήʔϜαʔόʔݕࡧ  ϥϯΫϚονͰͷਐ܉  ಈը޿ࠂϦϫʔυ՝ۚॲཧ ΫϥΠΞϯτଆ  ήʔϜαʔόʔొ࿥  Ϣʔβʔೝূ  ήʔϜ݁Ռ 
 ήʔϜαʔόʔଆ KBXTVH
  15. ήʔϜαʔόʔ  $ ݴޠ  ਓͷؒͷ௨৴ʢύζϧృΓɺϨʔϯ੾Γସ͑౳ʣΛϦΞϧλΠϜͰڞ༗͢Δ  ύέοτ+40/σʔλ௨৴ʢ+40/௕͞όΠφϦσʔλ෇͖ʣ  ήʔϜαʔόʔ࣮ߦ͢Δͱ"1*ʹొ࿥ˠݕࡧ݁Ռʹग़Δ

     ΫϥΠΞϯτ͕௚઀ιέοτ*1W 5$1ϙʔτͰ઀ଓ "1*ͳ͠   ΫϥΠΞϯτͷΞΫηετʔΫϯΛ୅ΘΓʹ"1*Ͱೝূ͢Δ  ήʔϜαʔόʔ͸"1*Ϣʔβʔͱͯ͠ಛผݖݶ͋ΔͨΊήʔϜ݁ՌͳͲͷؔ਺͸
 ΫϥΠΞϯτଆ͸Ͱ͖ͳ͍ KBXTVH
  16. 1)1Ͱ-BNCEBʁ  -BNCEBϥϯλΠϜ͸QZUIPOϕʔε  "84-BNCEB͕࣮ߦ͞ΕΔͱಉ͡؀ڥ ".* ͰQIQΛιʔε͔ΒίϯύΠϧ  ࢀߟࢿྉ 

    4DSJQUJOH-BOHVBHFTGPS"84-BNCEB3VOOJOH1)1 3VCZ BOE(P  IUUQTBXTBNB[PODPNKQCMPHTDPNQVUFTDSJQUJOHMBOHVBHFTGPS BXTMBNCEBSVOOJOHQIQSVCZBOEHP  -BNCEB&YFDVUJPO&OWJSPONFOUBOE"WBJMBCMF-JCSBSJFT  IUUQTEPDTBXTBNB[PODPNMBNCEBMBUFTUEHDVSSFOUTVQQPSUFE WFSTJPOTIUNM KBXTVH
  17. 1)1Ͱ-BNCEBʁ  αΠζݮগ  DPOpHVSF࣌͸EJTBCMFBMMͱඞཁͳػೳ͚ͩΛFOBCMF  $'-"(4l0Tz όΠφϦΛTUSJQ͢Δ  .Z42-ରԠQIQόΠφϦ.#

    .#[JQ   QIQϓϩηεͱPTQJQFͰ+40/΍ΓͱΓ  DPMETUBSUPT1PQFO ͰQIQΛ࣮ߦɺSFBE XSJUF༻ͷQJQFΛ࡞੒  XBSNTUBSU࡞੒ͨ͠QJQFͰϦΫΤετϦεϙϯε௨৴ KBXTVH
  18. 1)1Ͱ-BNCEBʂ KBXTVH

  19. 1)1Ͱ-BNCEBʂ KBXTVH

  20. ·ͱΊ  (JU-BC$*ʹҠߦ͢Δ͜ͱͰϏϧυ࣌ؒ൒ݮɺ ৭ʑָʹ͸ͳͬͨ  %PDLFSಋೖ͢Δ͜ͱͰ։ൃΠϯϑϥͷ&$
 Πϯελϯε͕ࣗಈతʹ؅ཧ͞ΕΔ  1)1Ͱ΋-BNCEB͸ී௨ʹͰ͖Δʂ KBXTVH

  21. None
  22. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·͢ʂ
 
 KBXTVH