Aws Dev Day2021 ããã¡ã¤ã³é§åè¨è¨ã®ãã¤ã¯ããµã¼ãã¹ã¸ã®æ´»ç¨ã¨ãããããã¼ã«æ±ããããã¹ãã«ãåèè³æ(æ¾å²¡ãã¼ã)
Aws Dev Day2021 ããã¡ã¤ã³é§åè¨è¨ã®ãã¤ã¯ããµã¼ãã¹ã¸ã®æ´»ç¨ã¨ãããããã¼ã«æ±ããããã¹ãã«ãåèè³æ(æ¾å²¡ãã¼ã)
ãããã人éã§ã ã» æç³»ï¼è±æå¦ç§ï¼ ã» Webã¨ã³ã¸ã㢠㻠統è¨ãåå¼·ä¸ã¢ããã¼ã·ã§ã³ããï¼å¹´ã»ã©çµ±è¨ãåå¼·ãã¦ããã®ã§ãããããã§æ¯åç«ã¡ãµãããã®ãæ°å¦ã®å£ã§ããããããã¯æç³»ã¨ãããã¨ããã£ã¦æ°â ¡Bï¼ãããéä¸ã¾ã§ï¼ãã履修ãã¦ããªãã£ããããå¾®åç©åãç·å½¢ä»£æ°ãªã©ãåºã¦ããã¨ç解ãããã¨ãé£ããæéãããã£ã¦ãã¾ãã¾ãã ã§ããã£ã¨çµ±è¨ãç¥ããããç解ããã ð ã¨ããæ°æã¡ããã£ã¨æãã¦ãã¦ä»åæ°å¦ãããç´ããã¨ã«ãã¾ããã é«æ ¡ï¼å¹´åã¨èããã¨ãªããªã決å¿ããã®ã«æéããããã¾ãããããã£ã¦ããã£ãã¨æãã¾ããã¹ã±ã¸ã¥ã¼ã«æãå®é使ã£ãæ¬ãªã©ãå ±æãããã¨ã§åããããªæ¹ã®åèã«ãªãã°ãããªããã¨æãã¾ãã å®é使ç¨ããæ¬ ã» è¬åº§â ãããããæ°å¦ã·ãªã¼ãº 主ã«MY BESTã·ãªã¼ãºã使ç¨ãã¾ãããã«ã©ã¼ã§èª¬æããããããããç®ã«ãå¿ã«ãããããä»ä¸ããã«ãªã£ã¦ããã¾ã
ç®ç pythonã§éãcsvãã¡ã¤ã«ãèªã¿è¾¼ãæã«ãpandasã ã¨æéããããã ããã§æ©ãã¨åã®daskã試ãã¦ã¿ãã ããã§ã¯ãdaskã®ä¸èº«ã«ã¯è©³ãã触ããã使ãæ¹ã説æããã ã¡ãªã¿ã«ãç§ã5GBã®csvãã¡ã¤ã«ãdaskã§èªã¿è¾¼ãã æã¯ãpandasã使ç¨ããæããã10åãããæ©ãèªã¿è¾¼ããã daskã£ã¦ãªã«ï¼ daskã¨ã¯pandasã®ãããªã©ã¤ãã©ãªã®ä¸ã¤ã daskã¯ãpandasã®DataFrameã®å¦çãå¿ç¨ãã¦ãããããåºæ¬çã«pandasã¨åãåä½ãããã æ©ããªãçç±ã¯ã並ååæ£ã使ç¨ãã¦ããããã 詳ããã¯ãã¡ãã®æ¹ã®è¨äºãã覧ãã ããï¼ãã¡ãããããããï¼ ä½¿ãæ¹ anacondaããã¦ã³ãã¼ããã人ãªãåºæ¬çã«ä½ãããã«ä½¿ããã pandasãªãã°ã
ã¿ãªããTypeScriptã§ãµã¼ãã¢ããªã±ã¼ã·ã§ã³ï¼Node.jsï¼ã®ãã¸ãã¯ãæ¸ãæã«ãç°å¸¸ç³»ã®è¡¨ç¾ãã©ã®ããã«ããã¦ãã¾ãã§ããããï¼ããã§ããç°å¸¸ç³»ã¨ã¯ãä»æ§ä¸æ³å®ãããç°å¸¸ã®ãã¨ã§ããæºæ£å¸¸ç³»ã¨è¨ã£ããããããã¨æãã¾ãã ç§ã¯JavaScriptã®å»¶é·ã§TypeScriptãã¯ãããã®ã§ãæå㯠null ã undefined ãè¿ããã throw ãç¨ããããæ¹ããã¦ãã¾ãããã次第ã«TypeScriptãæã¤åãçãããã§ããã ãåå®å ¨ã«ç°å¸¸ç³»ã表ç¾ãããã¨èããããã«ãªãã¾ãããããã¦è©¦è¡é¯èª¤ããçµæãããæãã®è½ã¨ãæã«è½ã¡çããã®ã§ããã®å 容ã«ã¤ãã¦ãä¼ããããã¨æãã¾ãã ã¾ãè¨äºã®å¾åã§ã¯ãç°å¸¸ç³»ã®åãå®è£ ããä¸ã§ããã£ãç¹ã«ã¤ãã¦ããä¼ããããã¨æãã¾ãã TypeScriptã®ç°å¸¸ç³»è¡¨ç¾ã«ã¤ã㦠1. nullãundefinedãè¿ã åé ã§ãè¿°ã¹ããã
ããã«ã¡ã¯ãèã®ç©´ã©ãã®ç£¯æ±ã§ãã ä»åã¯Kotlinã®ãµã¼ãã¼ã¬ã¹ãã¬ã¼ã ã¯ã¼ã¯ã§ãããKotlessããç´¹ä»ãã¾ãã Kotlessã¯JetBranisãéçºãã¦ãããã¬ã¼ã ã¯ã¼ã¯ã§ãã github.com Kotlessãå©ç¨ããã®ã«å¿ è¦ãªã㮠管çè 権éã®ããAWSã¢ã«ã¦ã³ã AWS Command Line Interface (AWS CLI) ã®ã¤ã³ã¹ãã¼ã« ã¢ããªã±ã¼ã·ã§ã³ã«é©ç¨ããDNSåãä½æããRoute 53ã®DNSã¾ã¼ã³ Kotlessé¢é£ã®ã¢ã¼ãã£ãã¡ã¯ããä¿åããããã®S3ãã±ãã å ¬éããURLã®US-EAST-1ãªã¼ã¸ã§ã³ã§ã®AWS Certificate Managerï¼ä»¥éãACMï¼è¨¼ææ¸ ACM証ææ¸ã®çºè¡ä»¥å¤ã¯AP-NORTHEAST-1ï¼æ±äº¬ï¼ãªã¼ã¸ã§ã³ã«ç¨æãã¦å¤§ä¸å¤«ã§ãã ä¸è¨ã«å¿ è¦ãªS3ãã±ãããAP-NORTHEAST-1ï¼æ±äº¬ï¼ãªã¼ã¸
ã¯ããã« ååè¨äºãæ©æ¢°å¦ç¿ã«ããæ ªä¾¡äºæ¸¬ ããã¯ã®"ã"ãã®å ¬éå¾ãçè ã®æ©æ¢°å¦ç¿ã¢ãã«ã®ç²å¾å©çã¯ãã§ãã1åãçªç ´ãããã¨ãã§ãããéç¨ã¢ãã«ã®æ¦è¦ã«ã¤ãã¦ã¯çè ã®ããã°ã«ã¦ç´¹ä»ããããæè§ã®æ©ä¼ãªã®ã§æè¡çãªå 容ã«ã¤ãã¦ããã«ç¶ç·¨ãå·çãããä»åã®è¨äºã§ã¯ãæ ªä¾¡ãäºæ¸¬ããããã®ç¹å¾´éã«ã¤ãã¦ãã®èãæ¹ãã¾ã¨ããã ç¹å¾´éã®ç¨®é¡ åå¥éæã説æããããã®ä»£è¡¨çãªãã¼ã¿ã¨ã¯ã財å諸表ã¨ãã£ã¼ãï¼ä¾¡æ ¼ç³»åï¼ã§ãããä¸æåã¯å人æè³å®¶ããããã®ãã¼ã¿ãæããã®ã«ããªãã®è¦å´ãå¿ è¦ã ã£ãï¼ç¹ã«è²¡å諸表ãé¢åã§ãã£ãï¼ããæè¿ã§ã¯Qiitaã§XBRLç¨ã®ã©ã¤ãã©ãªãç´¹ä»ããã¦ããããããã§ããã³ã¼ãã§APIï¼ææï¼ãæä¾ããã¦ãããã¨ãéåã¨æéè¦ããã«ãªã£ã¦ããããã«æãã åå¥éæã説æããããã®ææã«ã¤ãã¦ããã«é²ãã 話ãããã¨ãIRãèªç¶è¨èªå¦çã«æãã¦ã»ã³ãã¡ã³ããæ½åºããããçµå¶é£
S3ãã±ããã«ãã¡ã¤ã«ãã¢ãããã¼ããããã®ãèµ·ç¹ã«ä½ãããã®å¦çãå®è¡ãããã¨ããã®ã¯AWSã«ããããããã(?)ã¢ã¼ããã¯ãã£ã§ããä¾ã¨ãã¦ããæããããã®ã¯ä»¥ä¸ã®ãããªãç»åãã¡ã¤ã«ãã¢ãããã¼ãããããã®ãµã ãã¤ã«ç»åãä½æããå¦çã§ãã ãã¥ã¼ããªã¢ã«: Amazon S3 㧠AWS Lambda ã使ç¨ãã S3ã¤ãã³ãéç¥ ãã®éã«ä½¿ãã®ãS3ã¤ãã³ãéç¥æ©è½ã§ããS3ã«é¢ããæ§ã ãªã¤ãã³ããçºçããå ´åã«ä»ã®AWSãµã¼ãã¹ãèµ·åããããã¨ãã§ãã¾ããä¾ãã°ä¸è¨ãµã ãã¤ã«ç»åãä½æããå ´åã ã¨ãObjectCreate (All) ã®ã¤ãã³ãã§Lambdaé¢æ°ãå®è¡ãã¦ãã¾ãã ã§ãããã®S3ã¤ãã³ãéç¥ãæãã¾å¦çæ¼ããããã¨ããããã¨è¨ããã¦ãã¾ãããã®ããæ¼ãã許容ã§ããªãå ´åã¯ã以ä¸ä¾ã®æ§ã«å¦çæ¼ããã¦ãããã¡ã¤ã«ãæ¤ç¥ãã¦å¦çåå®è¡ããæ©æ§ãç¨æãããªã©ã®æªç½®ãå¿
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}