You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
1. Build, Deploy & Manage your APIs Amazon API Gatewayæ¦è¦ Amazon Data Service Japan K.K. Solutions Architect Keisuke Nishitani(@Keisuke69) 2015.08.25 update 2. èªå·±ç´¹ä» { "Name" : "西谷åä»", "Twitter" : "@Keisuke69", "Profile" : { "Role" : "Solution Architect", "Customers": [ "Web Services", "Start-up" ], "Services" : [ "AWS Lambda", "Amazon API Gateway", "All Mobile Services" ] } }
æ¦è¦ããGoogle App Engineã«é¢ããè¨äºãæ¸ãã®ã§ãããä»åã¯AWSã§ãã APIãµã¼ãã¼ã§Goã使ããã¨ããã¡ããããã¾ãããä»ã«ãgo-apexã§Lambdaãã¡ã³ã¯ã·ã§ã³ãæ¸ãå ´é¢ã¨ããã®ãããã¨æãã¾ãã 以ågo-apexã®deployã«ã¤ãã¦ã®è¨äºãæ¸ããã®ã§ãããã¯ä¸è¨ãå¥éã覧ãã ããã ä»åã¯Elastic Transcoder(åç»ã®ã¨ã³ã³ã¼ã)ãä¾ã«ãµã¼ãã¼ã¬ã¹ã«Goãå½¹ç«ã¤å®ä¾ãç´¹ä»ãã¾ãã ãããããã¨S3ã«åç»ãã¢ãããã¼ãããã¢ãããã¼ãã®éç¥ãå ã«lambdaãå¼ã°ããElasticTranscoderãå¼ã¶ã¨ã³ã³ã¼ãçµæãS3ã«ä¿åããã¨ããããã¼ã§ããä»åæ±ãã®ã¯ã3ã®é¨åã§ãã1,2,4ã®é¨åã¯å¥éAWSã®è¨å®ãå¿ è¦ã§ãå人çã«ã¯terraformã§ããã¹ãã ã¨æã£ã¦ãã¾ãã go-apexã§ã®ã¨ã³ã³ã¼ãå¦çã¾ãlambdaã®ä¸ã§çã£å ã«
Webãµã¤ãã®ç¶æ³ãç£è¦ããããã®ã¹ã¯ãªãããåããããã¨ããã·ãã¥ã¨ã¼ã·ã§ã³ãçºçãããã¨ãããã¾ããå ¸åçãªä¾ã¨ãã¦ECãµã¤ãã®å¨åº«ç£è¦ãªã©ãããã¨æãã¾ãããã®æç« ãèªãã§ãã人ã®ä¸ã«ã¯ãNintendo Switchã®å¨åº«ç¶æ³ãç£è¦ãã¦éç¥ããã¹ã¯ãªãããåããã¦ãã人ããããããã®ã§ã¯ãªãã§ããããã*1 å¨åº«ç¢ºèªã®ãããªã·ãã¥ã¨ã¼ã·ã§ã³ã§ã¯å¸¸æèµ·åãã¦ããPCãããªãã¡ãµã¼ãã«ç¸å½ãããã®ãç¨æããªããã°ãªãã¾ãããVPSãåãã人ãå¤ãã¨æãã¾ãããã¹ã¯ãªãããåããã ãã«ä½¿ç¨ããã«ã¯å°ã ãªã¼ãã¼ã¹ããã¯ã§ãã ããã§ä»åã¯AWS Lamdaã使ã£ã¦å®ä¾¡ã«ãµã¼ãã¬ã¹ã§ãµã¤ãã®å¨åº«ç¶æ³ãç£è¦ããã·ã¹ãã ãæ§ç¯ãã¾ããä¾ã¨ãã¦Nintendo Switchã®å¨åº«ç¶æ³ãéç¥ããã·ã¹ãã ãä½ãã¾ãã ããããç¡ææ å ã§åã¾ãã¨æãã¾ãããç¡ææ ãè¶ ããã¨ãã¦ãAWS Lambdaèªä½
#ã¯ããã« å人ã¢ã«ã¦ã³ãã¯åºæ¬çã«ç¡ææ ã§éç¨ãã¦ããã®ã§ãå°ãã§ãè«æ±ãããå ´åã¯ãã¡æ©ãæ°ã¥ãããã§ãã å æ¥ãã¨ãããã³ãºãªã³ã¤ãã³ãã§ä½¿ã£ããªã½ã¼ã¹ãæ¶ãå¿ãã¦ãæçµçã«$30ãããè«æ±ãæ¥ã¦ãã¾ãã¾ããããã CloudWatchã§è«æ±ã¢ã©ã¼ãã¯è¨å®ãã¦ãã¾ãããé¾å¤è¶ ããæ³å®ã®å ´åãå½ç¶è¦éããã¨ã«ãªããæçµçãªè«æ±é¡ã«é©ããã¡ã«ãªãã¾ãã ãããé²ãããã«Lambdaã§æ¯æ¥Slackã«AWSæéãéç¥ãããã¨ã«ãã¾ãã å æ¥LambdaãPython3ã«å¯¾å¿ããã®ã§ããã£ããã ãåå¼·ãã¦ãPython3ã§å®è£ ãããã ãããä¸ã«ã¯Node.jsã§ã®å®è£ ä¾ãå¤ãããã§ãä»åã¯ãã¡ããåèã«Python3ã§å®è£ ãã¦ã¿ã¾ãã #å¿ è¦ãªãã® Slack incoming-webhooks URL åå¾ã«ã¤ãã¦ã¯ãã¡ããåèã« é©å½ãªchannel lambda-uploader r
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}