2023-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã¯ããã« ãã®è¨äºã¯ãJAWS-UGï¼AWS Users Group â Japanï¼ Advent Calendar 2023 25æ¥ç®ï¼æçµæ¥ï¼ã®è¨äºã§ãã qiita.com JAWS-UGã£ã¦ ãã¾ããæ¸ãã¾ã§ããªãã§ãããAWS (Amazon Web Services) ãæä¾ããã¯ã©ã¦ãã³ã³ãã¥ã¼ãã£ã³ã°ãå©ç¨ãã人ã ã®éâ¦
ã¯ããã« ãã®è¨äºã¯ AWS CDK Advent Calendar 2023 23æ¥ç® ã®è¨äºã§ãã qiita.com æ¦è¦ AWS CDKã¯ãAWSå ¬å¼ã®IaC(Infrastructure as Code)ãã¼ã«ã¨ãããã¨ããããAWSã§IaCã使ã£ãã¤ã³ãã©æ§æ管çãè¡ãããå ´åã«ãè¦ãã§ãããã°ã©ãã³ã°è¨èª(TypeScrâ¦
ã¯ããã« ããã¯ãAWS Lambda 㨠Serverless Advent Calendar 2023ã 16æ¥ç®ã®è¨äºã§ãã qiita.com ä»åã®ãé¡ Lambdaãªã¼ã½ã©ã¤ã¶ã使ç¨ããAPI GatewayããLambdaãå®è¡ããå段ã§èªå¯å¦çãå®æ½ãã Lambdaãªã¼ã½ã©ã¤ã¶ã¯Requestãã¼ã¹ã®ãã®ã使ç¨ãã â¦
ã¯ããã« ãã®è¨äºã¯ AWS Community Builders Advent Calendar 2023 ã®9æ¥ç®ã®è¨äºã§ãã AWS Community Builder ã¨ã¯ï¼ ããåã®æ¹ãããããæ¸ãã¦ããã®ã§æ¦è¦ã ãã AWSã®ç¥èã»ç¥è¦ã®å ±æï¼âã¢ã¦ããããï¼ AWSæè¡ã³ãã¥ããã£ã¸ã®æ´»åã»è²¢ç® ããã人â¦
ã¯ããã« ãã®è¨äºã¯ãBun Advent Calendar 2023 4æ¥ç®ã®è¨äºã§ãã qiita.com JSConf JP 2023ã«ã¤ã㦠å æã®11/19(æ¥) ã«ãJSConf JPãã¨ãããJavaScriptã®ä¸å¤§Festivalãéå¬ããã¾ããã jsconf.jp ããã¦ãã®ä¸ã§ãBunãã¡ã¸ã£ã¼ãªãªã¼ã¹ããããã©ãâ¦
ä»åã®ãé¡ ã¿ã¤ãã«éããAWS CDKã§Lambdaå®ç¾©ãæ¸ãéã«ã¡ãã£ã¨ãã工夫ã§CloudFormationãªã½ã¼ã¹æ°ãåæ¸ããæ¹æ³ãç´¹ä»ãã¾ãã æ®æ®µã¯ããã¾ã§ç¥çµè³ªã«ãªãå¿ è¦ã¯ããã¾ããããæ¥åãªã©ã§å¤æ°ã®ãªã½ã¼ã¹ãAWS CDKã§ç®¡çãã¦ããå ´åã«å½¹ã«ç«ã¤ãããâ¦
ã¯ããã« ããã«ã¡ã¯ã æè¿re:Inventããã£ã¦ããAWSã®ã¢ãããã¼ãããã®ããããã¨ã«ãªã£ã¦ã¾ããã ãããªä¸ã11/16(æ¨) ã«Lambdaã®ãã°å¨ãã«é¢ããä¸è¨ã¢ãããã¼ããçºè¡¨ããã¾ããã aws.amazon.com æ¦è¦ã¨ãã¦ã¯ä¸è¨ã®éãã§ãã JSONã§ã®ãã°åºåâ¦
ä»åã®ãé¡ åã åãåã³ååã«ããããLambdaãDockerã¤ã¡ã¼ã¸ã§ãããã¤ããæ¹æ³ãã«ã¤ãã¦è¨è¼ãã¾ããã ä»åã¯ãã®æçµç·¨ã¨ãããã¨ã§ãååç´¹ä»ããããããã©ãããã®ç¶ããè¨è¼ãããã¨æãã¾ãã ãªãä»å触ããäºé ã¯ãåã åã«å°ã触ãããã¤ã³ãâ¦
ã¯ããã« 10/7ï¼åï¼ã«ãJAWS-UG(Japan AWS User Group)ã®ä¸å¤§ã¤ãã³ããJAWS FESTAãã4å¹´ã¶ãã«å®å ¨ãªãã©ã¤ã³ã§ãç¦å²¡ã»ç¦å²¡å·¥æ¥å¤§å¦ã§éå¬ããã¾ããã ä¹å·ã®å°ã¨ããããªãé ãå ´æã§ã¯ããã¾ãããã4å¹´ã¶ãå®å ¨ãªãã©ã¤ã³ã¨ãããã¨ã§ãããã¯åå ãâ¦
ä»åã®ãé¡ ååãLambdaãDockerã¤ã¡ã¼ã¸ã§ãããã¤ããæ¹æ³ã®åç·¨ã¨ãã¦ãAWS CDKã®å®ç¾©ãã«ã¤ãã¦æ¸ãã¾ããã ä»åã¯ãã®å¾ç·¨ã¨ãã¦ãDockerfileã®å®ç¾©ï¼ãããã©ãããã«ã¤ãã¦è¨è¼ãããã¨æãã¾ãã åç·¨ï¼AWS CDKã®å®ç¾©ï¼ããã¯ååï¼ å¾ç·¨ï¼Dockerfâ¦
ä»åã®ãé¡ ã¿ã¤ãã«ã®éãã§ãããAWSã«ããã¦Lambdaé¢æ°ãDockerã¤ã¡ã¼ã¸ã¨ãã¦ãããã¤ããæ¹æ³ã§ãã ãªãä»åã®ãé¡ã¯åç·¨ã»å¾ç·¨ã«åããã¦ãããä»åã¯åç·¨ã«ãªãã¾ãã åç·¨ï¼AWS CDKã®å®ç¾©ï¼ä»åã¯ããï¼ å¾ç·¨ï¼Dockerfileã®å®ç¾©ï¼ãããã©ããï¼ãâ¦
æ¬æ¥ã®ãé¡ ååããGitHubããAWSã«èªè¨¼ãè¡ã(OIDCã使ç¨)ãã¨ããã®ãAWS CDKã§å®è£ ãã¾ããã ä»åã¯ãã®éã§ããAWSããGitHubã«èªè¨¼ãè¡ããã¨ããã®ãAWS CDKã§å®è£ ãã¾ãã(AWS CodePipelineã§CI/CDãæ§æããéã«å¿ è¦ã«ãªãã¾ã) ãªãããã使ããâ¦
æ¬æ¥ã®ãé¡ CD/CDãªã©ã§GitHub Actionããcdk deployã³ãã³ããå®æ½ããéã«ãOIDCã使ç¨ãã¦(IAM Userã®ã¢ã¯ã»ã¹ãã¼ï¼ã·ã¼ã¯ã¬ããã¢ã¯ã»ã¹ãã¼ã§ã¯ãªã)IAM Roleã§AWSã¨èªè¨¼ãè¡ãæ¹æ³ ä¸è¨ãAWS CDKã§å®è£ ããæ¹æ³ ä¸è¨ãå®æ½ããéã«å¿ è¦ãªæé IAM OIDâ¦
ã¯ããã« å°ãåã®è©±ã«ãªãã¾ããã2023/6/22(æ¨) ï½ 2022/6/23(é)ã«AWS Dev Day 2023ããããã¦ãã®ç¿æ¥ã®6/24(å)ã«Reject Day 2023ãéå¬ããã¾ããã ããããä»äºããç»å£ããã§ãã¿ãã¿ãã¦ãã¾ãã¾ããããåå ããææ³ãªã©ãç°¡æ½ã«æ¸ããã¨æãã¾ãâ¦
æ¬æ¥ã®ãé¡ Serverless Frameworkï¼ä»¥ä¸ãSFWãï¼ã«ããã¦ãAPI Gatewayã®APIãã¼ãä½æããæ¹æ³ãåã³ãã®éã®æ³¨æç¹ã«ã¤ãã¦ã ãªãååè¨è¼ããéããä»åã®ãé¡ã¯åç·¨ã¨å¾ç·¨ã®2åã«åãã¦ããããã®è¨äºã¯ãã®å¾ç·¨ã«ãªãã¾ãã åç·¨ï¼ä½ææ¹æ³ï¼ããã¯åâ¦
æ¬æ¥ã®ãé¡ Serverless Frameworkï¼ä»¥ä¸ãSFWãï¼ã«ããã¦ãAPI Gatewayã®APIãã¼ãä½æããæ¹æ³ãåã³ãã®éã®æ³¨æç¹ã«ã¤ãã¦ã ãªãä»åã¯é·ããªããããªã®ã§ãä¸è¨ã®ããã«åç·¨ã¨å¾ç·¨ã®2åã«åãã¦ãã¾ãã åç·¨ï¼ä½ææ¹æ³ï¼ä»åã¯ã³ã³ï¼ å¾ç·¨ï¼æ³¨æç¹ã¨â¦
æ¬æ¥ã®ãé¡ Serverless Frameworkï¼ä»¥ä¸ãSFWãï¼ã«ããã¦ãAPI Gatewayé¢é£ãã°ã®åºåæ¹æ³ã«ã¤ãã¦ã *1 åè Serverless Frameworkå ¬å¼ãã¼ã¸ ããæ¹ provider.logsã»ã¯ã·ã§ã³å ã®åéä¿¡æ¹å¼(httpApi, restApi, websocket)ã«API Gatewayé¢é£ãã°ã®ããããâ¦
ä»åã®ã話 AWSã®è«æ±é¢é£ã®ããªã·ã¼ã«ã¤ãã¦ãä»å¹´(2023å¹´)7æ6æ¥ããé©ç¨ãããæ°ããããªã·ã¼ã«æ´æ°ããæ¹æ³ 詳細ã«ã¤ã㦠AWSã§è«æ±é¢é£ã®æ å ±*1ãæ±ãIAMããªã·ã¼ã«ã¤ãã¦ãä»å¹´ã®1æ10æ¥ã«æ°ãããã®ããã¼ã³ããããããã¤ãã®ããªã·ã¼ã追å /å»æ¢ãâ¦
ã¯ããã« ãä¹ ãã¶ãã§ãã åã åã®AWS Summit 2023ã®ããã°ã§ãå°ã触ããããããã¾ããããAWSã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ãã¢ã½ã·ã¨ã¤ã試é¨(SAA-C03ã以ä¸ãSAAãã¨è¡¨è¨)ãåé¨ããç¡äºåæ ¼ãã¾ããã®ã§ããã®ä½é¨è¨ï¼æ å ±ãªã©ãããã°ã«æ®ããã¨æãã¾â¦
ã¯ããã« 2023/3/19(æ¥)ã«ãYAPC::Kyoto 2023ã¨ããJPA(Japan Perl Association)主å¬ã®ä¸å¤§ã¤ãã³ãã京é½ãªãµã¼ããã¼ã¯ã§éå¬ããã¾ããã yapcjapan.org ããã¦ãã®ã¤ãã³ãã§ãCloudWatchã¨ã¼ã¸ã§ã³ãã¨CloudWatchã§è¡ãã¢ããªã±ã¼ã·ã§ã³ç£è¦ãã¨ããå â¦
ã¯ããã« ãä¹ ãã¶ãã§ãã YAPC::Kyoto 2023ãçµãã£ã¦ãããæ¥åããã¡ããã¡ãå¿ããã£ãããAWSã½ãªã¥ã¼ã·ã§ã³ã¢ã¼ããã¯ã試é¨ãåé¨ãã¦ããã§ãå ¨ç¶ããã°ãæ¸ãæéãããã¾ããã§ããã ã§ãä¹ ãã¶ãã®è¨äºã§ããã4/20(æ¨)ï½4/21(é)ã«å¹å¼µã¡ãã»â¦
ã¯ããã« ååã®è¨äºã§ãæ¸ãã¾ããããå æ¥ãVS Code Conference 2022-2023ã§ç»å£ãã¾ããã éå¶ã®çããï¼èãã¦ãã ãã£ãçããããããã¨ããããã¾ããã ãã®æã®ã¹ã©ã¤ãã以ä¸ãªã®ã§ããããã®ã¹ã©ã¤ãã®17æç®ã§ãWindows+WSLç°å¢ã§Remote SSHãâ¦
ã¯ããã« 2023/01/21(å)ã«ãVS Code Conference 2022-2023ã¨ãããVS Code Meetup主å¬ã®VS Codeã®ä¸å¤§ã¤ãã³ããéå¬ããã¾ããã(ãªã³ã©ã¤ã³ï¼ãªãã©ã¤ã³ã®ãã¤ããªããæ¹å¼) vscode.connpass.com ãã®ã¤ãã³ãã§ãRemote SSHã§è¡ãVS Codeãªã¢ã¼ããã¹ãâ¦
ä»åã®å 容 WSL2(Windows Sussystem for Linux 2)ã«ã¦ã(Linuxå´ã§ã¯ãªã)Windowså´ã®ãã¡ã¤ã«ã»ãã©ã«ããchmodã§æ¨©éãå¤ããæ¹æ³ã«ã¤ãã¦ã§ãã 詳細ã«ã¤ã㦠WSL2ã¯ãWindowsã§Linuxãæ±ããã¨ãããã¨ã§ã(æ¨ä»ã¯ç¨¼åãµã¼ãã¼ãLinuxã¨ãããã¨ãå¤ãã®â¦