ARIGATOBANKï¼GKE + Cloud Spanner ã§ç¬éçãªãã©ãã£ãã¯ã®æ¥å¢ã«èããã·ã¹ãã ãå®ç¾
Google Cloud Japan Team
ZOZO ã®åµæ¥è ã§ããå澤 åä½æ°ãæ ªä¸»ã¨ãªããããéã«å°ã£ã¦ãã人ãã¼ãã«ãããã¨ãããã¸ã§ã³ã®ãã¨è¨ç«ãããæ ªå¼ä¼ç¤¾ARIGATOBANKï¼ä»¥ä¸ãARIGATOBANKï¼ã§ã¯ããéãå¯ä»ããã人ã¨ãå¯ä»ã«ããæ¯æ´ãåããã人ãç¹ããã©ãããã©ã¼ã ãkifutownããã¹ã¿ã¼ããã¾ããããã® kifutown ã¯ãCloud Spanner ãä¸å¿ã¨ãã Google Cloud ã®ãã¾ãã¾ãªãããã¯ããå©ç¨ãã¦æ§ç¯ããã¦ãã¾ããkifutown ã®éçºããã³éç¨ã«æºããã¡ã³ãã¼ã«è©±ã伺ãã¾ããã
å©ç¨ãã¦ãããµã¼ãã¹ï¼
Cloud SpannerãGoogle Kubernetes EngineãContainer RegistryãCloud RunãCloud Load BalancingãCloud NATãCloud ArmorãCloud RouterãCloud LoggingãCloud Functions
å©ç¨ãã¦ããã½ãªã¥ã¼ã·ã§ã³ï¼
ã¢ããªã±ã¼ã·ã§ã³ã®ã¢ããã¤ã¼ã¼ã·ã§ã³ããã¼ã¿ãã¼ã¹ã®ã¢ããã¤ã¼ã¼ã·ã§ã³
kifutown ã«æ±ããããè¦ä»¶ã«ã¯ GKE 㨠Cloud Spanner ã®çµã¿åãããæé©ã ã¨å¤æ
ARIGATOBANK ãã¹ã¿ã¼ãããå¯ä»ãã©ãããã©ã¼ã ã® kifutown ã¯ãããéã«å°ã£ã¦ãã人ãã¼ãã«ãããã¨ãããã¸ã§ã³ã®å®ç¾ã«åãã¦æã¡åºãã第ä¸å¼¾ã®æ½çã§ããkifutown ã«ã¯ãå¯ä»ãããæ¯æ´è ã¨ãå¯ä»ãåãåãå¿åè ã® 2 種é¡ã®ã¦ã¼ã¶ã¼ããã¾ããã¾ããæ¯æ´è ãããããªäººã ãæ¯æ´ããããã¨ããããã¸ã§ã¯ããç«ã¡ä¸ãã¾ããããã¦ãæ¯æ´ãåããã人ã ãããã«å¿åãã対象ã¨ãã¦é¸ã°ããã° kifutown ãéãã¦å¯ä»éãåãåãã¾ãã
ARIGATOBANK ã§ã¯ããã® kifutown ãæ¯ããã·ã¹ãã ã Google Cloud ãå©ç¨ãã¦æ§ç¯ãã¾ãããGoogle Cloud ãæ¡ç¨ããçµç·¯ã«ã¤ãã¦ãARIGATOBANK ã® CTO ã§ããã¨ã³ã¸ãã¢ãªã³ã°è²¬ä»»è ãåãã河津 æåæ°ã¯æ¬¡ã®ããã«èª¬æãã¾ãã
ããã¨ãã¨å¼ç¤¾ã®ãã¸ãã¹å±éã«ããã¦ã¯ãæ ªä¸»ã®å澤ãæã¤äººèã SNS ã®æ¡æ£åãæ´»ç¨ãã¦èªç¥åº¦ãåºãã¦ããããã¨ããçããããã¾ãããããããã®ä¸æ¹ã§å澤ã®å½±é¿åã®å¤§ãããèããã¨ããã¨ãã° Twitter ã¸ã®æ稿ã²ã¨ã¤ã§ç¬æã«ãã©ãã£ãã¯ãæ¥ä¸æãããã¨ãäºæ¸¬ããã¾ããããã®ãããã¸ãã¹ã®åºç¤ã¨ãªãã·ã¹ãã ã®éçºã«ããã£ã¦ã¯ãã©ã®ããã«ãã¦æ¥æ¿ãªãã©ãã£ãã¯ã®å¤åã«å¯¾å¿ããã®ããæ大ã®èª²é¡ã§ãããã
ãã®ä¸ã§ãGoogle Cloud ã§ããã° ARIGATOBANK ãæ±ãããã®èª²é¡ãã¯ãªã¢ããååãªããã³ã·ã£ã«ãããã¨ããå¤æã«è³ã£ãã¨æ²³æ´¥æ°ã¯ç¶ãã¾ãã
ãå®ã¯ãkifutown ã®æ§æ³ãåºã¾ãããã以åãããå°æ¥çã«å¿ è¦ã«ãªããããªæ©è½ã®éçºã¯å è¡ãã¦ã¹ã¿ã¼ããã¦ãã¾ãããå½åéçºãã¦ããã®ã¯ ID ãµã¼ãã¹ã§ããã®éã«æ¤è¨ããã®ã Google Kubernetes Engineï¼GKEï¼ã¨ Cloud SpannerãCloud Load Balancingãããã¦ã¢ããªå´ã« Firebase ã使ãã¨ãã£ãæ§æã§ãããã®æç¹ã§ããã®æ§æã§ããã°éè¦ã«å¯¾ãã¦æè»ã«ã¹ã±ã¼ã«ã§ãã¦ããã¤ååãªãã£ãã·ãã£ãåãã¦ããã¨ãããã¨ã確èªãããã¨ãã§ãã¾ãããçµæçã«æè¡é¸å®ãã®ãã®ã«ã¯ããã»ã©æéã¯ããã£ã¦ãã¾ãããæ©ã段éã§ãå¼ç¤¾ã®ãã¸ãã¹ã®è¦ä»¶ã«å¯¾ã㦠Google Cloud ã§ããã°å¤§ä¸å¤«ã ã¨æãããã¨ãä¸çªå¤§ããªæ¡ç¨çç±ã¨ãè¨ãã¾ããã
kifutown ã®ã·ã¹ãã ã§ä¸å¿ã¨ãªã£ã¦ããã®ãããã¤ã¯ããµã¼ãã¹ã®å®è¡åºç¤ã§ãã GKE ã¨ãåæ£åãªã¬ã¼ã·ã§ãã« ãã¼ã¿ãã¼ã¹ã® Cloud Spanner ã§ãããã®ä»ã«ãæè»ãªã¹ã±ã¼ãªã³ã°ãå¯è½ã«ãã Cloud Load Balancing ããã»ãã¥ãªãã£ã®ããã® Cloud Armorããããã¯ã¼ã¯ãæ ã Cloud NAT ã Cloud Router ãªã©ãGoogle Cloud ã®å種ãããã¯ãããã«æ´»ç¨ããæ§æã«ãªã£ã¦ãã¾ããããã«å ãã¦ãå¤é¨ SaaS ãã¼ããã¼ã¨ã®é£æºã®ããã«ã³ã³ãã ãã©ãããã©ã¼ã ã® Cloud Run ãå©ç¨ãã¦ãã¾ãã
GKE + Cloud Spanner ã¨ããæ§æãä¸å¿ã«æ®ããçç±ã«ã¤ãã¦ã河津æ°ã¯æ¬¡ã®ããã«èª¬æãã¦ãã¾ãã
ãã¾ãåæã¨ãã¦ããã¤ã¯ããµã¼ãã¹ ã¢ã¼ããã¯ãã£ãæ¡ç¨ãããã¨ã¯ããããã決ã¾ã£ã¦ãã¾ãããéçºåæã¯ã¾ã è¦ä»¶ãå®ã¾ã£ã¦ããªãé¨åãããããã¼ã¿ ã¢ããªã³ã°ãéãã¦ãã¼ã¿ ã¨ã³ãã£ãã£ãä¸å¿ã«å ·ä½åããå¾ã ã«ãµã¼ãã¹ã¨ãã¦çµã¿ä¸ãã¦ããæ¹éãæ¡ãã¾ãããããããã®ã¨ã³ãã£ãã£ã«å¯¾ãã¦ã®è²¬åãæ確ã«ãããã¨ã§ã漸é²å¼ã®éçºã§ãã£ã¦ãéçºã¹ãã¼ãã¨å質ãç¶æãããã£ãããã§ãããã®ä¸ã§ãã¢ããªã±ã¼ã·ã§ã³ ãµã¼ãã¼ã®éç¨ã«å´åãå²ããããªãã¨ããçç±ã§ Kubernetes ãé¸æãã¾ããããã¼ã¿ãã¼ã¹ã«ã¤ãã¦ã¯ãkifutown ã¯éèãµã¼ãã¹ã®ä¸ç¨®ãªã®ã§ãã¼ã¿ã®æ´åæ§ãä¿è¨¼ã§ãããã¨ã極ãã¦éè¦ã§ããããã¨ãã£ã¦ãã©ã³ã¶ã¯ã·ã§ã³ç®¡çãã¢ããªã±ã¼ã·ã§ã³å´ã®ãã¯ããã¯ã§è£ããã¨ã¯é¿ãããã£ãã®ã§ãå¼·åãªãã©ã³ã¶ã¯ã·ã§ã³ ã¨ã³ã¸ã³ãæ㤠Cloud Spanner ãæé©ã ã¨å¤æãã¾ãããã
ãµã¼ãã¹ã®å®è£ ãæ å½ããã¨ã³ã¸ãã¢ãªã³ã°é¨ã®å¯æ¨« ç¥åºæ°ã¯ãCloud Spanner ã使ã£ãéçºã«ã¤ãã¦æ¬¡ã®ããã«è£è¶³ãã¾ãã
ãå®éã« Cloud Spanner ã使ã£ã¦ã¿ãã¨ãã¯ã©ã¤ã¢ã³ã ã©ã¤ãã©ãªãé常ã«è¯ãåºæ¥ã¦ãããã¨ãå®æãã¾ããä¾ãã°ãã©ã³ã¶ã¯ã·ã§ã³ã®ç«¶åã®æ¤ç¥ããªãã©ã¤ãªã©ãæ¬æ¥ã§ããã°è¤éãªå®è£ ãå¿ è¦ãªé¨åããåºæ¬çã«ãã¹ã¦ Cloud Spanner ã«ä»»ããããããã«ãªã£ã¦ãã¾ãããã®æ軽ãã¯ä»ã®ãã¼ã¿ãã¼ã¹ ã·ã¹ãã ã§ã¯ä½é¨ãããã¨ãããã¾ãããã¹ã±ã¼ã«ã«ã¤ãã¦ããââç»é¢ä¸ã§è¨å®ããã ãã§ç°¡åã«å¤æ´ã§ãããããã¯è¿æªæ¥æãããã¾ããã
æè»ã«ã¹ã±ã¼ã«ã§ãããã¨ã¯ãkifutown ã®éçºã«ããã¦æã大ããªèª²é¡ã§ãããã¾ããããã®ç¹ã«é¢ãã Cloud Spanner ã®å¼·ã¿ã«ã¤ãã¦ã¯ãã¤ã³ãã©ã¹ãã©ã¯ãã£ã®éçºãéç¨ãæ å½ãã¦ãã ã¨ã³ã¸ãã¢ãªã³ã°é¨ã®å¤§åå± è²´ä»æ°ã次ã®ããã«èª¬æãã¦ãã¾ãã
ãå¾æ¥ã®ãªã¬ã¼ã·ã§ãã« ãã¼ã¿ãã¼ã¹ã§ã¯ãã©ãã ãé å¼µã£ã¦ãã¹ã±ã¼ã«ã¢ããã«ã¯éçãããã¾ãããã対å¿ã«ãæéããããã¾ãããããã«å¯¾ã㦠Cloud Spanner ã§ããã°ããã¼ããå¢ããã°èªåã§ã¹ã±ã¼ã«ãã¦ããã¦ãã©ãã ããã©ãã£ãã¯ãå¢ããã¨ãã¦ãã¬ã¤ãã³ã·ãç¶æãããã¨ãã§ãã¾ãããã®æè»æ§ã kifutown ã«ã¯ä¸å¯æ¬ ã§ãããã¹ã±ã¼ã©ããªãã£ã¨ããç¹ã§ã¯ NoSQL ã¨ããé¸æè¢ãããã¾ãããNoSQL ã«ã¯ãã¼ã¿æ´åæ§ã®åé¡ãããããã®è§£æ±ºã®ããã«ã¯æ°ãããã¦ãã¦ãå¿ è¦ã«ãªãã¾ããCloud Spanner ã§ããã°ãªã¬ã¼ã·ã§ãã« ãã¼ã¿ãã¼ã¹ã®æ¦å¿µã®ã¾ã¾ã§å©ç¨ã§ããã®ã§ãçµé¨ã®ããã¨ã³ã¸ãã¢ã®ç¢ºä¿ã¨ããé¢ã§ã大ããªã¡ãªãããããã¾ããã
å°äººæ°ä½å¶ã«ããçæéã§ã®éçºã§ããã¡ã³ãã¼ã®å¥åº·çãªçæ´»ãç¶æ
kifutown ã®åæéçºã«ããã£ãæéã¯ç´ 2 ãæåãããã¯ã¨ã³ãã®ã¨ã³ã¸ãã¢ã 4 åãããã³ãã¨ã³ãã®ã¨ã³ã¸ãã¢ã 4 åã®è¨ 8 åã¨ããå°äººæ°ä½å¶ã®ããã¸ã§ã¯ãã§ãããå°äººæ°ã§ãé«éãªéçºãå®ç¾ã§ããã®ãããã¯ã Google Cloud ããã¨ããã GKE 㨠Cloud Spanner ãæ¡ç¨ãããã¨ã«ä¾ãã¨ããã大ããã£ãã¨ãå¯æ¨«æ°ã¨å¤§åå±æ°ã¯æ¯ãè¿ãã¾ãã
ããã©ã³ã¶ã¯ã·ã§ã³å¨ãã®å¦çã Cloud Spanner ã«ä»»ãããããã¨ã§ãéçºè ã¨ãã¦ã¯ãã¸ãã¹ ãã¸ãã¯ã®å®è£ ã«éä¸ãããã¨ãã§ããã¤ã³ãã©å¨ãã GKE ã®ãããã§è¤éãªãã¨ãèããã«æ§ç¯ã§ãã¾ãããé£ããé¨åã«ãªã½ã¼ã¹ãå²ãå¿ è¦ãç¡ããªã£ããã¨ããå°äººæ°ã§ 2.5 ãæã¨ããé«éãªéçºãå®ç¾ã§ããçç±ã ã¨æãã¾ãããï¼å¯æ¨«æ°ï¼
ãCloud Spanner ã®ãããã§ãã¹ã±ã¼ã©ããªãã£ãã¬ã¤ãã³ã·ã®ç¶æãªã©ã®ããã«ä½åãªãã¯ããã¯ã使ãå¿ è¦ããªããã·ã³ãã«ãªæ§æãç¶æã§ãããã¨ã大ããã§ããè¤éã«ãªãã°ãããã ãéçºã«ãæéãããããã©ãã«ãå¢ãã¾ãããkifutown ã¯ã·ã³ãã«ã«ä½ãããã¨ã§å¤§ããªãã©ãã«ã«éããã¨ãªãéçºãé²ãããã¾ããããï¼å¤§åå±æ°ï¼
ãã¼ã ãæããç«å ´ã§ãã河津æ°ã¯ã次ã®ããã«è£è¶³ãã¾ãã
ãæã ã®ãããªã¹ã¿ã¼ãã¢ããã®ã·ã¹ãã éçºã§ã¯ã¨ã³ã¸ãã¢ã®è² æ ã大ãããªããã¡ã§ãããkifutown ã®éçºã§ã¯ã¡ã³ãã¼ããã¾ãç§çæ´»ã¨ã®ãã©ã³ã¹ãã¨ã£ã¦åãã¦ããã¾ãããGKE 㨠Cloud Spanner ã®ãããã§ã¨ã³ã¸ãã¢ããã©ã¼ã«ã¹ãããã¤ã³ããæ確ã«ãããã¨ãã§ãããããã¡ã³ãã¼ã®å¥åº·çãªçæ´»ã®ç¶æã«ã大ããå½¹ç«ã£ãã¨æã£ã¦ãã¾ããã
å澤æ°ã«ãããå ¨å¡ãéè´ãfromå®å®ãããã©ãã«ç¡ãä¹ãåã
kifutown ã§ã¯æ£å¼ã«ãµã¼ãã¹ãã¹ã¿ã¼ããã¦ããé 調ã«ã¦ã¼ã¶ã¼ãå¢ããå ¥éã¾ã§è³ã£ã¦æ£å¼ã«éå§ãããå¯ä»ããã¸ã§ã¯ã㯠2022 å¹´ 3 ææç¹ã§ç´ 2,000 件ã«éãã¦ãã¾ããããã«ãé¢ããããç¹å¥ã« kifutown ã®ããã®ä¿å®ä½å¶ã®ãããªãã®ã¯è¨ãã¦ããããã»ã¨ãã©å´åããããã«éç¨ã§ãã¦ããã¨å¤§åå±æ°ã¯è¨ãã¾ãã
ãä½ããã©ãã«ãããã°éç¥ãæ¥ãã®ã§ãã対å¦ã§ãã¾ããããµã¤ãã¼æ»æãåãããã¨ãããã¾ãã Cloud Armor ã§é©åã«é²ããã¨ãã§ãã¦ãã¾ãã大ããªã¤ãã³ããªã©ã§ãã©ãã£ãã¯ãä¸ãããã¨ãäºåã«äºæ¸¬ã§ããå ´åã«ã¯ãå°ç¨ã®ãµã¼ãã¹ãç«ã¡ä¸ãããªã©ãã¦å¯¾å¿ã§ããããã«ãã¦ãã¾ããã
ãããªä¸ã§æã大ããªã¤ã³ãã¯ãããã£ãã¤ãã³ãã¯ãå澤æ°ã«ãããå ¨å¡ãéè´ãfromå®å®ãã§ãããããã¯ãæ°é人å®å®é£è¡å£«ã¨ãã¦å½éå®å®ã¹ãã¼ã·ã§ã³ã«æ»å¨ãã¦ããå澤æ°ããkifutown ãéãã¦éå»æ大è¦æ¨¡ã®ãéè´ããå®æ½ãããã£ã³ãã¼ã³ã§ãããã®ãã£ã³ãã¼ã³ã§ã¯ãå澤æ°ãåééå§ã®ãã¤ã¼ããããç´å¾ããé常æã®æ°ååã«ãã©ãã£ãã¯ãæ¥å¢ãã¾ããã
ããã®ã¨ã㯠Cloud Spanner ã®ãã¼ããä¸æçã«å¢ãããGKE ã® Pod ãå¤§å¹ ã«æ¡å¼µãã¦å¯¾å¦ãã¾ããããã©ãã£ãã¯ãä¸ããã¨ãã«ã¯ã¢ããªå ¨ä½ãé«è² è·ã«ãªãå¾åãããã¾ããããã®ç¹ã¯ãããããæ³å®ããè¨è¨ã«ãªã£ã¦ããã®ã§ãååã«èãããã¨ãã§ãã¾ããçµæçã«ã大ããªãã©ãã«ãç¡ãä¹ãåããã¨ãã§ãã¾ããããï¼å¤§åå±æ°ï¼
ARIGATOBANK ã«ã¨ã£ã¦ãkifutown ã¯ããéã«å°ã£ã¦ãã人ãã¼ãã«ãããã¨ãããã¸ã§ã³ãå®ç¾ããããã®æåã®ä¸æ©ã¨ãªããµã¼ãã¹ã§ãããä»å¾ãå人ãæ°è»½ã«å¯ä»ããã¦å©ãåããä¸çãå®ç¾ã§ããããã«ã¢ãããã¼ããã¦ããäºå®ã ã¨æ²³æ´¥æ°ã¯èªã£ã¦ãã¾ãã
ãããã¾ã§ã¯ãéã®åªä»ã«ã¯éè¡ãå©ç¨ããã¦ããã ãã¦ãã¾ããããã¦ã¼ã¶ã¼ã«ã¨ã£ã¦ããè¯ãä½é¨ãä½ãããã«ãã¢ããªä¸ã®ã¦ã©ã¬ããã§æ®é«ã¨ãã¦åãåãããã®ã¾ã¾åºé ããªã³ã©ã¤ã³ã§ã®æ¯æãã«å©ç¨ã§ããæ©è½ã¨ãã¦ãæ®é«ï¼é»åããã¼ï¼æ©è½ããªãªã¼ã¹ãã¾ãããã¾ããå¯ä»ãå±ããã¨ãããµã¼ãã¹ã®æ¬è³ªé¨åã§ã¯ããã£ã¨æ°è»½ã«å¯ä»ããã¸ã§ã¯ãã«å¿åã§ããããã«ãããªã©ãå ¨ä½çãªãéã®æµééãå¢ããããã®æ½çãæ¤è¨ãã¦ãã¾ããä»åãGoogle Cloud ã§è¿ éã«éçºãã§ããã¨ããå®ç¸¾ãããã®ã§ãä»å¾ãå¼ãç¶ãæ´»ç¨ãã¦ããããã¨èãã¦ãã¾ããã
ARIGATOBANKã¯ãããéã«å°ã£ã¦ãã人ãã¼ãã«ãããããã¸ã§ã³ã«æ²ãã人ã¨äººã¨ãå¿æ´ããå±ã¾ãåãã社ä¼ãä½ãããã®ãµã¼ãã¹ãæä¾ããä¼ç¤¾ã§ãã
ã¤ã³ã¿ãã¥ã¤ã¼ï¼åçå·¦ããï¼
ã»CTO / ã¨ã³ã¸ãã¢ãªã³ã°è²¬ä»»è 河津 æå æ°
ã»ã¨ã³ã¸ãã¢ãªã³ã°é¨ å¯æ¨« ç¥åº æ°
ã»ã¨ã³ã¸ãã¢ãªã³ã°é¨ 大åå± è²´ä» æ°
æ ªå¼ä¼ç¤¾ARIGATOBANKã®å°å ¥äºä¾ PDF ã¯ãã¡ããã覧ãã ããã
ãã®ä»ã®å°å ¥äºä¾ã¯ãã¡ããã覧ãã ããã