è¿å¹´æ¥éã«æ´»ç¨ãé²ããããªãã¯ã¯ã©ã¦ãã§ãããåæã«ãããªãã¯ã¯ã©ã¦ãç¹æã®ã»ãã¥ãªãã£äºæ ãå¤çºãã¦ãã¾ãã æ¬ã¹ã©ã¤ãã§ã¯ããããªãã¯ã¯ã©ã¦ãç¹æã®ã»ãã¥ãªãã£è å¨ãäºä¾ã«ã¤ãã¦ç´¹ä»ãããããã«å¯¾ããé²å¾¡ã®èãæ¹ã示ããã¨ã§ ããå®å ¨ã«ãããªãã¯ã¯ã©ã¦ããæ´»ç¨ããã ããã¨ãç®çã¨ãã¦ãã¾ãã
ãã¡ã¤ã³ãåå¾å¾ã«ããã使ã£ãã¡ã¼ã«ã¢ãã¬ã¹ã§éä¿¡ã§ããããã«ãªã£ãããåä¿¡å ã§ãã®ã¡ã¼ã«ãè¿·æãã©ã«ãã¸åé¡ããããã¨ãããã ä¼ç¤¾ã§ã¯ Google Domain ã§ãã¡ã¤ã³ãåå¾å¾ãGoogle Workspace ãå©ç¨ãã¦ã¡ã¼ã«ãéä¿¡ã§ããããã«ãªã£ããDNS ã®ç®¡ç㯠Cloud DNS ãå©ç¨ãã¦ãã¦ããã®è¨å®ã¯ Terraform ãç¨ãã¦ç®¡çãã¦ããã å½åã®è¨å®ã¯ã·ã³ãã«ãªãã®ã§ãã£ãã DNS ã¾ã¼ã³ãè¨å® è¨å®ããã¾ã¼ã³ã«å¯¾ã㦠MX ã¬ã³ã¼ããè¨å® resource "google_dns_managed_zone" "example_com_domain" { name = "example-com" dns_name = "example.com." } # https://support.google.com/a/answer/9222085 resourc
æè¿ã®éççéã®åºæ¥äºãæãä¸ããã¦é©ãã¦ããã³ã§ã.*1 æ¬æ¥ã®ä»äºããã³, æ¬æ¥ãããªãå人éçºã趣å³ããã°ã©ãã³ã°ã«ããã¦, ãã¼ã¿ã®éãå¤ã㦠åä½ããã©ã¼ããããä¸æã㧠ããã§ãä»äºï¼ãããã¯è¶£å³ã®åæï¼ãããªããã, ããæãã®ä½¿ãããããã¼ã¿ã»ããã«ããªãã¨ï¼ä½¿å½æï¼ ã¨ããæ©ä¼ã¯é常ã«å¤ãã§ã. ãã, æ©ä¼ãå¤ãã¨ããããå¤ããå°ãªããæ¯æ¥æ¦ã£ã¦ããæ°ããã¾ã. ä»åã¯, ã¡ãã£ã¨ããåæã¨ãéã³ã®ãã, ã¡ã¸ã£ã¼ãªã¼ã°ã®å ¬å¼ãã¼ã¿ãµã¤ããBaseball Savantãã®ãã¼ã¿ã使ã£ãBigQueryãã¼ã¿ãã¼ã¹ãä½ããããªã£ãã®ã§, ã¯ãã¼ã©ã¼ã§Baseball Savantã®ãã¼ã¿ãåã£ã¦CSVã«ã㦠CSVãããã¼ã¿ãéè¨ãããæ´ããããã¦ããæãã®åä½ã«ã㦠BigQueryãã使ããããã«ãã¦ã¿ããï¼ ã¨ããã¿ã¹ã¯ãGoogle Cloud Platform
JulyTechFesta2021 ç»å£è³æ https://techfesta.connpass.com/event/213069/ IAM,VPC Service Controls, Logging, æ¿èªæ¸ã¿viewãªã©BigQueryå¨ãã®ã»ãã¥ãªãã£ãµã¼ãã¹ã¯ããã¤ãããã¾ããã»ãã¥ãªâ¦
大ããã¯å¤é¨ã¹ãã¬ã¼ã¸ãµã¼ãã¹å©ç¨ã¨ãã¢ããªã±ã¼ã·ã§ã³ã«ãã³ãã«ãã¦ãã¾ãæ¹å¼ã¨2ã¤ã«ãããã¾ãããã³ãã«ã¯ãã¼ã¿ã ãæ´æ°ãã§ããªããã¡ãªããã¯ããã¾ããããæ軽ã§ããLambdaã¯ã¬ã¤ã¤ã¼ã使ãã°å®è¡ããã°ã©ã ã«å¯¾ãã¦å¾ãã追å ã¨ãã§ãã¾ããã容éå¶éãå³ããã§ãã ãªãã¸ã§ã¯ãã¹ãã¬ã¼ã¸ã¯æ¯è¼çãæ軽ã§ãããèªã¿è¾¼ã¿ãããã©ã¤ãã©ãªããã¼ã«ã«ã®ãã¡ã¤ã«ã·ã¹ãã åæã®å ´åã¯ä½¿ãã¾ããããµã¼ãã¼ã¬ã¹ã®æ¹å¼ã«ãã£ã¦ã¯ãä¸åº¦ãã¼ã«ã«ã®ãã¡ã¤ã«ã·ã¹ãã ã«æ¸ãåºãã¦ããå©ç¨ã¨ããå¯è½ã§ã¯ããã¾ãããCloud Runã§ã¯8GBï¼ãã ããããããtmpfsã§æ¸ãã°æ¸ãã»ã©ã¡ã¢ãªãæ¶è²»)ãLambdaã§ã¯500MBã¨å®¹éã«å¶éãããã¾ãã ãã巨大ãªå¦ç¿æ¸ã¿ãã¼ã¿ãæ±ãå ´åã¯ããã¼ã¸ãNFSãµã¼ãã¹ç³»ã®ãã®ã使ãã®ãæçµå½¢ã§ãããããã¡ã¤ã«ã®ãµã¤ãºå¶éãã»ã¼éçå¤ã§ããããã¼ã«ã«ãã¡ã¤ã«ã«ãªãã®ã§ã©ã
https://about.codecov.io/security-update/ 2021/04/15ãã³ã¼ãã«ãã¬ãã¸ã®è¨é²ãµã¼ãã¹ã§ããCodecovããä¸è¨ã®ãããªã¢ãã¦ã³ã¹ãæã£ã 端çã«è¨ãã¨ãCodecovãCIä¸ã§ä½¿ã£ã¦ããã«ãã¬ãã¸ãã¡ã¤ã«ã®ã¢ãããã¼ãã¹ã¯ãªããã§ããBashã¹ã¯ãªãããä½è ãã«æ¸ãæãããããããï¼ã¶æï¼01/31~ï¼æ°ãä»ããªãã£ãããã Bash Scriptã¯ä»¥ä¸ã®ããã«Curlçµç±ã§ç´æ¥å½¢ã§å®è¡ããå½¢å¼ã ã£ã code:bash bash <(curl -s xxxxx/xxx.sh) ã§ãä»åãã®ãªã¢ã¼ãã«ããbashãã¡ã¤ã«ãã¾ããã¨æ¸ãæããããã¨ã®ã㨠ãã®çµæãããã使ã£ã¦ããå種ããã¸ã§ã¯ãã®CIãã·ã³ä¸ã®æ©å¯ãã¼ã¿ãã¶ã£ãæãããããã ä½ãã©ãããã©ã®ç¨åº¦æãããã®ãã¯ä¸æãªã®ã§ãããä¸è¨ã¬ãã¼ãã«ããã°ãããã£ããã¼ã¿ãå¤é¨ã®
ãã°åæãµã¼ãã¹ã¯ã¢ããªã±ã¼ã·ã§ã³ã®ã¤ã³ãã©ã§ããããµã¼ãã¹éçº/éç¨ã®ä¸ã§éè¦ãªä½ç½®ãå ãã¾ããã°ã©ãã§ã¯ãä»å¹´ã«å ¥ã£ã¦å©ç¨ãã¦ãããã°åæãµã¼ãã¹ãã Sumo Logic ãããGoogle BigQuery ã«å®å ¨ç§»è¡ãã¾ããã æ¬è¨äºã¯ãã°ã©ãã§è°è«ãããããã°åæãµã¼ãã¹ã¨ãã¦ã® SumoLogic 㨠BigQueryãã®ã¾ã¨ããæ¨æ²ã転è¼ãããã®ã§ãããããããã°åæãµã¼ãã¹ãæ¤è¨ãããæ¹ã ã«ã¨ã£ã¦ãè°è«ã®å 容ãå°ãã§ãåèã«ãªããã¨ãé¡ãå ¬éãã¾ãã ã¢ã¸ã§ã³ã ã¾ãã¯æèãæ´ããããã«ã¢ã¸ã§ã³ãããã ã¢ã¸ã§ã³ã æ¥å¸¸çãªã¢ããªã±ã¼ã·ã§ã³ç£è¦ããã¼ APM ã¨ãã¦ç¤ç³ãª New Relic ãã°åæãµã¼ãã¹ã«ããã¢ãããã¯ãªãã°åæ ãã°åæãµã¼ãã¹ã«æ±ããã㨠Sumo Logic ã®å©ç¨ã¨èª²é¡ Sumo Logic ã®å©ç¹ Sumo Logicã§çºçããèª²é¡ ãã°å
ããããã㨠kaggleãªã©ã®ã³ã³ãåå æã«Colabã§è¨ç®ãã¦ãwandbãªã©ã®å®é¨ç®¡çãã¼ã«ã使ãããã ç¾ç¶wandbãªã©ã®API keyãçã®ã¾ã¾Colabã«è²¼ã£ã¦ããã®ã§ããã®ã¾ã¾githubã«pushã§ããªãã driveã«txtãyamlãã¡ã¤ã«ãç½®ãã¦ç®¡çããã¨ãèªåã®æ§æ ¼ä¸æ£ãããã¨åãã£ã¦ããã®ã§ãGCPã®ãµã¼ãã¹ã使ã£ã¦ãã¼ã¸ã§ã³ãå«ãã¦ä¸æ¬ç®¡çãããã ãã£ãã㨠GCPã®Secret Managerã使ã£ã¦API keyãç§å¿åãã¦ãColabã§å¼ã³åºããã ãããã GCPä¸ã®è¨å® èªåã®GCPã®ã³ã³ã½ã¼ã«ãç«ã¡ä¸ãã¦ãSecret Manager APIãæå¹åããã ãã®ã¾ã¾UIä¸ã§ä½æããã æå¹åããã¦ããã®ã確èªããã ããã§è¨å®ã¯çµããã Colabä¸ã®è¨å® åègoogleã®å ¬å¼ã¬ãã¸ããª
ã¯ããã« Googleã®ããã¼ã¸ãKubernetesãã£ã¹ããã§ããGKEã®æ°æ©è½ï¼å³å¯ã«ã¯æ°ãã種é¡ã®ã¯ã©ã¹ã¿ã¼ã¨ãã£ãã»ããã¦ã¼ã¶ã¼ã«ã¨ã£ã¦ã¯æ£ãã説æã«ãªãã¨æãã¾ããï¼ãGKE Autopilotãå é±å¤§ãã話é¡ã«ãªãã¾ããã ãã¼ããGoogle Cloudã«ããããã¼ã¸ã Podãã¨ã®èª²éä½ç³» ãã¼ãã¸ã®SSHã使ããªã ã¨ãã£ãç¹å¾´ã大ããåãä¸ãããã¦ãããã±ã£ã¨è¦AWSã®EKS Fargateã¨é常ã«ä¼¼ã¦ããããã«è¦ãã¾ãããã(å°ãªãã¨ããuser facingãªé¨åã«ããã¦ã¯)æè¡çã«ã¯å ¨ããã£ã¦ãããã¨ãéãã¨æãã¾ãããªããªãFargateã¯EC2ã¨ã¯å ¨ãç°ãªãVMæè¡ããã¼ã¹ã«ãªã£ã¦ããã®ã«å¯¾ãã¦ãAutopilotã¯é常ã®GCEãå¿ç¨ããæ©è½ã¨ãã¦æä¾ããã¦ããããã§ãã â»ã¾ããGCEã¯å®ã¯ã³ã³ããã§åãã¦ãã¿ãããªã¡ãã£ã¨ããè£è©±ããã£ãããããã§ãæ¬å½
ããã¯ãªã«ï¼ Webãµã¼ãã¹ãéçºããéã«ä½¿ãããµã¼ãã¹ã®ãã¡ãç¡ææ ããããã®ãã¾ã¨ãã¾ããã èªåã§ã¡ãã£ã¨ããWebãµã¼ãã¹ãä½ããã¨æã£ãã¨ãã«ä¸éãæããããªããªã¨ããæ°æã¡ãããããããããã©ã®ç¨åº¦ã¾ã§ã¡ããã¨ããæ§æãåãããã ã£ãã¨ããã®ãããã¾ã§ã«100ä¸å調ã¹ã¦ããæ°ãããã®ã§èªåç¨ã«ã¾ã¨ããã¡ã¢ã§ãã åæã¨ãã¦ãåºæ¬çã«ã¯AWSã¨GCPã対象ã«èª¿ã¹ã¦ãä¸é¨ã¯ãã以å¤ã®ãµã¼ãã¹ã追å ã§èª¿ã¹ã¦ãããã¨ããæãã§ã æåã«çµè« ãç¡æã§Webãµã¼ãã¹ãæä¾ãããã¨ããã¨ããã ãã«éä¸ãããªãAWSããã¯GCPã®ã»ããè¯ããã(ãã¼ãã«ãä½ãã + ã§ãããã¨ãå¤ãã) ç¡ææ ã ãã§å®çµããããªãherokuã¯SQLã使ãããè¦éã«å ¥ãã¦è¯ããã ãã¡ã¤ã³å¨ãã ãã¯ã©ãã«ããªããªãã®ã§è«¦ãã¦ãéãæããåã¯ã©ã¦ããµã¼ãã¹ã®ãã¡ã¤ã³ã®ã¾ã¾ä½¿ãã¾ããã ç¡æã®ç¯å²å ã§æä½éã®W
Zennã§ã¯APIãµã¼ãã¼ãåããããã«GCPã使ã£ã¦ãã¾ããå ·ä½çã«ã¯CI/CDãµã¼ãã¹ã®CloudBuildããAppEngineãããã¤ããããã«ãã¦ãã¾ãã ãã®ä¸ã§å°ããããããã®ãæ©å¯ãã¼ã¿ãå«ããã¡ã¤ã«ã®ç®¡çã§ãã GCPã®ããã¸ã§ã¯ãã®å ´åã«ã¯Cloud Key Management Systemï¼KMSï¼ã¨ãããã®ãåããã¦ä½¿ãã¨CloudBuildã®ã¹ãããã®ä¸ã§æå·åãããã¡ã¤ã«ã復å ã§ãã¾ãã ä¾ãã°ãç§å¿æ å ±ãå«ã.envã¨ãããã¡ã¤ã«ãããã¨ãã¦ãGitHubçã«ã¯ããã·ã¥ããããªãããAppEngineã§åããã¢ããªã®ä¸ã§èªã¿è¾¼ã¿ããã¨ããã±ã¼ã¹ãèãã¦ã¿ã¾ãã GCPã§ã¯CloudBuild + KMSã使ããã¨ã§å®ç¾ãå¯è½ã§ãã 大ã¾ããªæµã .gitignoreã«.envãæå® ãã¼ã«ã«ã§KMSã«ãã.envãæå·åï¼.env.encãã¡ã¤ã«ãä½æããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}