ã¯ããã« SWETã°ã«ã¼ãã®Goãã¼ã ã®ä¼è¤ï¼@akito0107ï¼ã§ãã ããã¹ã¿ããªãã£ã®é«ãGoã®APIãµã¼ããéçºããããã¨ããã¿ã¤ãã«ã§Goãç¨ãã¦Web APIãæ¸ãã¨ã³ã¸ãã¢åãã®ãã³ãºãªã³ãå ¬éãã¾ããã ãã®è¨äºã§ã¯ãã³ãºãªã³ã®å 容ã¨è£è¶³ãç´¹ä»ãããã¨æãã¾ãã ãã³ãºãªã³ã®ããã ãã®ãã³ãºãªã³ã§ã¯ãAPIãµã¼ãã¼ãé¡æã¨ãã¦ãã¹ã¿ããªãã£ãæ ä¿ããè¨è¨ãããããã«ã¯ä½ãå¿ è¦ãªã®ããå¦ãã§ããããã¨ãç®çã«ãã¦ãã¾ãã ç¹ã«ãç§èªèº«ããã¹ã¿ããªãã£ãèããä¸ã§éè¦ã ã¨èãããDependency InversionãDependency Injection (DI), Test Doubleã«ã¤ãã¦è©³ãã説æããããã«ã¯èªåã§å®è£ ãã¦ãããå½¢ãã¨ã£ã¦ãã¾ãã Goã§ã¯ä»ã®è¨èªã¨éããããã¡ã¯ãã®Web Frameworkãªã©ã¯ããã¾ããï¼å¼·ãã¦è¨ããªãæ¨æºãããã¡ã¯ãã§
CDKãæåã«è©¦ãã¦è¦ãã«ã¯é常ã«ä¾¿å©ãªCDK Workshopã®ç´¹ä»ã§ãããã²ããã§CDKã®å¥¥æ·±ãæ°é®®ãªä¸çã«å ¥éããã ããã°ã ã俺ãããããä¹ããªãã¦ã¯ããã®ãããã°ã¦ã§ã¼ãã«ï¼ï¼ã çãããCDK触ã£ã¦ãã¾ããï¼DevelopersIOã«ããCDK ï½ ç¹éã«ãã´ãªã¼ ã§ãæ¢ã«20以ä¸ã®ããã°ãããã£ã¦ãããããã®äººæ°ã¯ããªãã®ã¼ãã§ãã CDKã¨ã¯ä¸å£ã§è¨ãã°ãã³ã¼ãã§ã¤ã³ãã©ãå®ç¾©ããããã®ã§ããããããããã楽ãç´ æ´ããããã¨ãã声ãååããããèãã®ã§ãèªåãæ©é試ãã¦ã¿ããã¨ããã¨ãããCDK Workshopãªããã®ãçºè¦ããæãåããã¦å¦ã¶ã«ã¯åãããããããè¯ãææã ã£ãã®ã§ããã®å 容ãç´¹ä»ãã¾ãã CDKå®è¡ããããã®ç°å¢å®ç¾© Lambdaã¨API Gatewayãå©ç¨ããç°¡åãªãµã¼ãã¹ã®å ¬é ã¢ã¸ã¥ã¼ã«ã®ä½ãæ¹ ã¯ã©ã¹æ§é ã®è§£èª¬ ãããã°æ¹æ³ ã¢ã¸ã¥ã¼ã«ã®å©ç¨æ¹
ååã®ãµã¼ãã¼ã¬ã¹ã¢ã¼ããã¯ãã£ã§ç¿»è¨³ Web API ãæ§ç¯ãããã³ãºãªã³ããã£ã¦ã¿ãã«å¼ãç¶ãåå¿è åãã®ãã³ãºãªã³ããã£ã¦ã¿ã¾ããã 以ä¸ã®æ§æãSAMï¼Serverless Application Modelï¼ã使ã£ã¦æ§ç¯ãã¾ããååã®ãã³ãºãªã³ï¼AWS Hands-on for Beginners Serverless #1ï¼ã§æä½æ¥ã§æ§ç¯ããå 容ã第2段ã§ã¯SAMã使ã£ã¦ã¢ãã³ã§ä¾¿å©ãªæ§ç¯æ¹æ³ãä½é¨ãããã¨ãã£ãå 容ã§ããã ç»åå¼ç¨: ãã³ãºãªã³ã®ã¢ã³ã±ã¼ãåçå¾ã«ãã¦ã³ãã¼ãã§ããè³æãã ãã£ã¦ã¿ãææ³ SAMãä½é¨ãããã ããªã1åç®ã®ãã³ãºãªã³ãå®æ½ããªãã¦ãåé¡ãªãé²ããããå 容ã§ãã 1åç®ã®ãã³ãºãªã³ã¯æä½æ¥ã«ãããããã¤ãªã®ã§ãSAMã£ã¦ããã便å©ã ãªãããããå³ããããã«ã1åç®ã®ãã³ãºãªã³ããã®ããªã¹ã¹ã¡ã§ã API Gateway + Lambda +
const sum = require('./sum'); test('adds 1 + 2 to equal 3', () => { expect(sum(1, 2)).toBe(3); });
CDKãæåã«è©¦ãã¦è¦ãã«ã¯é常ã«ä¾¿å©ãªCDK Workshopã®ç´¹ä»ã§ãããã²ããã§CDKã®å¥¥æ·±ãæ°é®®ãªä¸çã«å ¥éããã ããã°ã ã俺ãããããä¹ããªãã¦ã¯ããã®ãããã°ã¦ã§ã¼ãã«ï¼ï¼ã çãããCDK触ã£ã¦ãã¾ããï¼DevelopersIOã«ããCDK ï½ ç¹éã«ãã´ãªã¼ ã§ãæ¢ã«20以ä¸ã®ããã°ãããã£ã¦ãããããã®äººæ°ã¯ããªãã®ã¼ãã§ãã CDKã¨ã¯ä¸å£ã§è¨ãã°ãã³ã¼ãã§ã¤ã³ãã©ãå®ç¾©ããããã®ã§ããããããããã楽ãç´ æ´ããããã¨ãã声ãååããããèãã®ã§ãèªåãæ©é試ãã¦ã¿ããã¨ããã¨ãããCDK Workshopãªããã®ãçºè¦ããæãåããã¦å¦ã¶ã«ã¯åãããããããè¯ãææã ã£ãã®ã§ããã®å 容ãç´¹ä»ãã¾ãã CDKå®è¡ããããã®ç°å¢å®ç¾© Lambdaã¨API Gatewayãå©ç¨ããç°¡åãªãµã¼ãã¹ã®å ¬é ã¢ã¸ã¥ã¼ã«ã®ä½ãæ¹ ã¯ã©ã¹æ§é ã®è§£èª¬ ãããã°æ¹æ³ ã¢ã¸ã¥ã¼ã«ã®å©ç¨æ¹
ãã®ã¯ã¤ãã¯ã¹ã¿ã¼ãã§ã¯ãAmazon FSx for Windows File Server ã ã¢ãã¾ã³ ã¦ã§ã ãµã¼ãã¹ (AWS) Cloud ã«å®è£ ããã®ã«ç´ 1.5 æéãããã¾ãããã®ã¯ã¤ãã¯ã¹ã¿ã¼ãã¯ãAWS ã« Microsoft Windows ãã¡ã¤ã«ã·ã¹ãã ã®å®è£ ããèãã® IT ã¤ã³ãã©ã¹ãã©ã¯ãã£ã¢ã¼ããã¯ãã管çè ãããã³ DevOps å°é家ã®ããã«éçºããã¾ããã FSx for Windows File Server ã§ã¯ããã«ããã¼ã¸ãåã®ãã¤ãã£ã Microsoft Windows ãã¡ã¤ã«ã·ã¹ãã ãæä¾ããããããå ±æãã¡ã¤ã«ã¹ãã¬ã¼ã¸ãå¿ è¦ã¨ãã Windows ãã¼ã¹ã®ã¢ããªã±ã¼ã·ã§ã³ã AWS ã¸ç§»è¡ã§ãã¾ãããããã¤ã«ã¯ãã好ã¿ã® AWS Directory Service for Microsoft Active Directory ã¾
AWSèªå®ãã¬ã¼ãã³ã°è¬å¸«ã®å¹³é@ããããçããããã§ãã ã¿ããªã温æ³å ¥ã£ã¦ã¾ããã¼ï¼ãï¼æ¨æ¶ ãããªæ¹ã«ãªã¹ã¹ã¡ ãã¡ãã®ãã³ãºãªã³ãä½é¨ããæ¹ã§ããããã¯ã¼ã¯éã®æ¥ç¶æ¹æ³ã«ã¤ãã¦ããã«è©³ããç¥ãããæ¹ã«ãå§ããã¾ãã ãã®ãã³ãºãªã³ãä½é¨ããã¨ãVPCéã®æ¥ç¶ãVPCã¨ãªã³ãã¬ãã¹ã¨ã®æ¥ç¶ã«ã¤ãã¦å®æ½ã§ããããã«ãªãã¾ãã ãã³ãºãªã³ã®æ¦è¦ å©ç¨ãããµã¼ãã¹ VPC Peering : VPCéãæ¥ç¶ãããµã¼ãã¹ã§ã Site-to-Site VPN : VPCã¨ãªã³ãã¬ãã¹ãVPNãå©ç¨ãéåæ¥ç¶ããããã®ãµã¼ãã¹ã§ã Virtual Private Gateway (VGW) : éåæ¥ç¶ã®éãVPCå´ã«è¨ç½®ããã²ã¼ãã¦ã§ã¤ã§ã Customer Gateway (CGW) : éåæ¥ç¶ã®éããªã³ãã¬ãã¹å´ã«è¨ç½®ããã²ã¼ãã¦ã§ã¤ã§ã Cloud9 : AWSä¸ã§å©ç¨ã§ããIDEã§
AWS Fargateã触ã£ã¦ã¿ãããã§ãæéã...ã¨ããããªãã«å¬ä¼ã¿ä¸ã«ã§ãã3æéç¨åº¦ã®ãã³ãºãªã³ã æ¦è¦ AWS CI/CD for Amazon ECS ãã³ãºãªã³ããã£ã¦ã¿ã¾ããã ãã³ãºãªã³ã¯ä¸è¨ã®3æ¬ç«ã¦ã§ãã3æéç¨åº¦ã§çµããã¾ããã ãµã³ãã«ã¢ããªã®ã³ã³ããã¤ã¡ã¼ã¸ä½æ AWS Fargateç°å¢æ§ç¯ã¨ã³ã³ããå®è¡ CI/CDã®ãã¤ãã©ã¤ã³ä½æ ãã³ãºãªã³ãé²ããªããå人çãªã¡ã¢ãè£è¶³ããå 容ã§ããå®éã®ãã³ãºãªã³è³æãè¦ãªããä½æ¥ããããè£è¶³è³æã«ãªãã°ãããªã¨æã£ã¦ãã¾ãã CodeBuildæã«Docker Hubã®ã¬ã¼ããªãããã«å¼ã£ãããã¨ã¤ã¾ã¥ãã¨æãã®ã§ããã®åé¿æ¹æ³ãè¼ãã¦ãã¾ãã ã¾ããAWS Fargateã¨ã¯ ãã³ãºãªã³1 Fargateã§ã³ã³ãããå®è¡ããã¾ã§ã®åæºåããå 容ã§ãã ãã³ãºãªã³è³æãã VPCãALBä½æ ãã³ãºãªã³ã®æé ã§ã¯V
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}