https://aws-startup-community.connpass.com/event/241721/ 2022/05/10(ç«) 19:30 ã 21:30 ãã¹ã¿ã¼ãã¢ããäºä¾ç¥ã ãç£è¦ã»ã¢ãã¿ãªã³ã°ã»ã»ãã¥ãªãã£ç·¨ãã
https://aws-startup-community.connpass.com/event/241721/ 2022/05/10(ç«) 19:30 ã 21:30 ãã¹ã¿ã¼ãã¢ããäºä¾ç¥ã ãç£è¦ã»ã¢ãã¿ãªã³ã°ã»ã»ãã¥ãªãã£ç·¨ãã
July Tech Festa 2021 winter E2ã»ãã·ã§ã³ã®è³æã§ã ITã·ã¹ãã ç£è¦ã¨ã¯ä½ã ç£è¦ã¨ã³ã¸ãã¢ã®æªæ¥ ç£è¦ã¨ã³ã¸ãã¢ã®ãã¬ã¼ãã³ã° 次ä¸ä»£MSPã®å½¹å²
çªç¶ã§ãã... ããªãã¯ãããã²ã¼ã ããã¸ã§ã¯ãã®æ¬çªãªãªã¼ã¹2æ¥åã«ãµã¼ãã¨ã³ã¸ãã¢ã¨ãã¦JOINãã¾ããããããªãªã¼ã¹ãè¿ããã¨ããElastiCacheã®ã¡ã¢ãªãçªç¶å±éºåãè¶ ããããã«ãã¨2æéã§æ¯æ¸ããããªç¶æ³ã«ãªãã¾ããã ãã¦ããã®ç¶æ³ã«ããããããªãã¯ä½ããã¾ããï¼ ã¯ããã« ã¢ãã¤ã«ã²ã¼ã ã®ã·ã¹ãã ã¯æ°ããã¤ãã³ããopenããã¨ãã©ãã£ãã¯ã2åã3åãæã«ã¯æ®æ®µã®10å以ä¸æ¥ããã¨ãããããã©ãã£ãã¯ã®å¤åãé常ã«å¤§ããç¹æ§ãããã¾ãã æ°ããã²ã¼ã ã®ãªãªã¼ã¹æã¯ããé¡èã§ãæ³å®ä»¥ä¸ã®ãã©ãã£ãã¯ãæ¥ããã¨ããã°ãã°ããã¾ãã ãã®è¨äºã¯ãããã²ã¼ã ããã¸ã§ã¯ãã®æ¬çªãªãªã¼ã¹æã«å¤§è¦æ¨¡ãã©ãã£ãã¯ãæ¥ãéã®ãµã¼ããã©ãã«ãé¡æã«ã ã©ã®ãããªè¦³ç¹ã§åé¡ãåãåãã¦ãã£ãã®ãããã©ãã«ã·ã¥ã¼ãã®ããã»ã¹ ã©ã®ãããªæºå(è² è·ãã¹ã)ããã¦ããã°é²ããã®ã ã¨ãã話ãã
ã¯ããã« ããã°ãã¯ãè éã§ãã Amazon Linux 2 ã¸ã®ç§»è¡ã¯çµããã¾ãããï¼ Amazon Linux 2 ã¸ç§»è¡ããã«ã¯æ°ããã¤ã³ã¹ã¿ã³ã¹ãä½æããå¿ è¦ãããã¾ããããã®æã«ãããããããè¨å®ãããã¾ãã â»2020-07-08ã«ã注æç¹ ãã®2ãã追è¨ãã¾ããã ããããã®è¨å® ã»ãã·ã§ã³ããã¼ã¸ã£ã¼ãå©ç¨ã§ããããã«ããã㨠ã¡ã¢ãªä½¿ç¨çã¨ãã£ã¹ã¯ä½¿ç¨çã CloudWatch ã§è¦ããããã«ããã㨠ããããè¨å®ãã¦ããã¨ãä»å¾ã®éç¨ã楽ã«ãªãã¾ãã ã»ãã·ã§ã³ããã¼ã¸ã£ã¼ã使ãã¡ãªãã ã¡ãªããã¨ãã¦ã¯ãSSH æ¥ç¶ãããªãã¦ã EC2 ã®ã³ãã³ããå®è¡ã§ããããã«ãªãã¾ãã®ã§ãã»ãã¥ãªãã£ã°ã«ã¼ã㧠SSH ã解æ¾ããå¿ è¦ãç¡ããªãã»ãã¥ãªãã£ã®åä¸ã«ã¤ãªããã¾ãã ãã®ç»åã¯ããã¸ã¡ã³ãã³ã³ã½ã¼ã«ãã EC2 ã«ãã°ã¤ã³ããæã®ãã®ã§ãããAWS Systems
追è¨: Goã®ã¢ããªã±ã¼ã·ã§ã³ãOpenMetricsã使ã£ã¦Observableã«ããæ¹æ³ã«ã¤ãã¦ã¯å¥ã¨ã³ããªãæ¸ãã¾ããã â https://songmu.jp/riji/entry/2020-05-18-go-openmetrics.html ECSã¨Goã§éç¨ãã¦ããã·ã¹ãã ã«å¯¾ããDatadogã®æ¥æ¬èªç¥è¦ããã¾ãç¡ãããã ã£ãã®ã§æ¸ãã¦ã¿ããã¡ãªã¿ã«ä»¥ä¸ã®ç°å¢ã§ãã ECS on EC2 (not Fargate) ã¢ããªã±ã¼ã·ã§ã³ã³ã³ããã®ãããã¯ã¼ã¯ã¢ã¼ãã¯bridgeã¢ã¼ã åçãã¼ããããã³ã°ãå©ç¨ èæ¯ã¨ãã¦3æã«Nature Remoã®ã¤ã³ãã©ã¢ã¼ããã¯ãã£æ¹åããã¦ãã¦ããã®åã«ããã¡ãã£ã¨ç£è¦ãæ´ããã»ããè¯ããªãã¨ãããã¨ã§Datadogãå°å ¥ããã®ãããããã¹ãããªãã¨ãªãã¡ã¯ã¿ãªã³ã°ã§ããªãããã«ãç£è¦ããªãã¨ã¢ã¼ããã¯ãã£ã®ã¢ãããã¼ããããã¥ããã¨ã
6/3 æ¸è°·ã§è¡ããã Prometheus Tokyo Meetup #2 ãã¬ãã¼ããã¾ãã Prometheus ã¨ããã°ãã¯ã©ã¦ããã¤ãã£ããã¨ãããã¼ã¯ã¼ãã®ä¸ã§èªããããã¨ã®å¤ãã¤ã³ãã©ç£è¦ã»ã¢ãã¿ãªã³ã°ã½ãªã¥ã¼ã·ã§ã³ã§ãããæ¬ãã¼ãã¢ããã§ã¯ã¯ãã¯ããã社ãã¤ãã¼ç¤¾ã®äºä¾ãªã©ã Prometheus ããã¼ã¦ã¼ã¶ã®æ¹ã ã«ããç¹å¾´ãæ´»ç¨äºä¾ãèªããããé常ã«èå³æ·±ããã®ã§ããã Prometheus Tokyo Meetup #2 - connpass Prometheus Tokyo Meetup #2 - è³æä¸è¦§ - connpass ãªããæ¬ãã¼ãã¢ããã¯ãµã¤ãã¼ã¨ã¼ã¸ã§ã³ã殿ååã®ä¸ãæ¸è°·ã® Abema Towers ã«ã¦è¡ããã¾ããã åç» Prometheus Tokyo Meetup #2 - YouTube å ¥é Prometheus ã¹ãã¼ã«ã¼ : Kazu
ç¾å¨éå¬ããã¦ããKubeCon + CloudNativeCon Europe 2019 - Linux Foundation Eventsã«ããã¦ãKubernetesç°å¢ã®ã³ã³ããç°å¢ã®ã¡ããªã¯ã¹ãåå¾ãããCloudWatch Container Insightsããçºè¡¨ããã¾ããï¼ ã³ã³ããã¯ã¼ã¯ãã¼ãã®ããã®ã¡ããªã¯ã¹ã»ãã°ã¢ãã¿ãªã³ã°ãµã¼ãã¹ãCloudWatch Container Insights ã® Public Preview ãçºè¡¨ãã¾ããï¼ï¼ #KubeCon ç¶) pic.twitter.com/pRCZtHexcp â ãã¸ãã£ã㪠Tori (@toricls) May 20, 2019 å¾æ¥ãEKSã«ããã¦Podã®ç¶æ ãç£è¦ãããå種ãã°ãåå¾ããã«ã¯ããµã¼ããã¼ãã£ã¼ã®OSSãç£è¦ç¨ã®SaaSãªã©ãå®è³ªçã«ã»ã¼å¿ é ã ã£ããã§ãããããã«ããAWSã®ããã¼
ã¯ããã« ããã«ã¡ã¯ãStackdriveræ å½è ã§ããæ¬è¨äºã¯å®å ¨ã«å人ã®æè¦ã§ããï¼å¿µæ¼ãï¼ GCPçã«æ å½è£½åãããããããã®ã§Stackdriverã®æ å½ã¨æ¸ãã¦ã¾ãããä»äºã§ã®æ å½é åçã«ã¯ããªãã¶ã¼ãããªã㣠(Observabilityãå¯è¦³æ¸¬æ§)ã ã§ãããã®ããªãã¶ã¼ãããªãã£ãã¨ããè¨èãè¿å¹´SREã®æèã§èªããããã¨ãå¢ããã¾ãä»å¹´ã«å ¥ã£ã¦ãå ¥é ç£è¦ ("Practical Monitoring" ã®æ¥æ¬èªè¨³)ããåè¡ããããã¨ã§ãæ¥æ¬ã§ãããå¤ãè³ã«ããããã«ãªãã¾ããã SRE ãµã¤ããªã©ã¤ã¢ããªãã£ã¨ã³ã¸ãã¢ãªã³ã° âGoogleã®ä¿¡é ¼æ§ãæ¯ããã¨ã³ã¸ãã¢ãªã³ã°ãã¼ã çºå£²æ¥: 2017/08/12ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ å ¥é ç£è¦ âã¢ãã³ãªã¢ãã¿ãªã³ã°ã®ããã®ãã¶ã¤ã³ãã¿ã¼ã³ ä½è :Mike Juliançºå£²æ¥: 2019/01/17ã¡ãã£ã¢:
ã¯ã¦ãªÃããããèãããã¯ããã¸ã¼ã®æªæ¥ãã³ã³ããã»åæ£åãã¼ã¿ã»ã³ã¿ã¼ã Mar 20th, 2019 Profile id: Songmu (ã½ã³ã ã¼) Masayuki Matsuki / æ¾æ¨é 幸 ããããã¯ãããããå¹³å¡ãªæ¥ã http://www.songmu.jp/riji/ https://metacpan.org/author/SONGMU ã¯ã¦ãªæ±äº¬ãªãã£ã¹ ãã¼ãã¨ã³ã¸ã㢠Mackerel ãããã¯ãããã¼ã¸ã£ã¼ 60+ CPAN Modules 3 Times ISUCON Winner Using Perl YAPC::Tokyo 2019 ãã¹ãã¹ãã¼ã«ã¼ æè¿ã¯Goã好ã
Profile id: Songmu (ã½ã³ã ã¼) Masayuki Matsuki / æ¾æ¨é 幸 ããããã¯ãããããå¹³å¡ãªæ¥ã http://www.songmu.jp/riji/ https://metacpan.org/author/SONGMU ã¯ã¦ãªæ±äº¬ãªãã£ã¹ ãã¼ãã¨ã³ã¸ã㢠Mackerel ãããã¯ãããã¼ã¸ã£ã¼ 60+ CPAN Modules 3 Times ISUCON Winner Using Perl YAPC::Tokyo 2019 ãã¹ãã¹ãã¼ã«ã¼
æ¦è¦ MongoDBã§CPU使ç¨çããã¼ãã¢ãã¬ã¼ã¸ãé«ããªãã®ã«å¦çãè©°ã¾ã£ã¦ããç¾è±¡ãèµ·ãã¾ããã ãã®æéã«batchãåãã¦ãã¦ã¢ã¯ã»ã¹ãæ¥ã«å¢ãããã¨ãåå ã¨è¨ãã®ã¯åãã£ã¦ããã®ã§ãããè² è·çã«ã¯ååä½è£ãããä¸æè°ãªç¶æ ã§ããã ããã§dstatã§è¦ããã¤ã³ã - Carpe Diemã§ãè¿°ã¹ãããã«ãè² è·ã®ç¶æ ããå¤æããåºæºãããã¾ãã ãã¼ãã¢ãã¬ã¼ã¸ã確èªãã ï¼ãé«ããã°CPUããã£ã¹ã¯I/Oãã¡ã¢ãªã«ããã«ããã¯ããã ï¼ãä½ããã°TCPã³ãã¯ã·ã§ã³ã«ããã«ããã¯ããã ä»åã®ç¾è±¡ããå¤æããã«ãTCPã³ãã¯ã·ã§ã³ã«åå ãããããã§ãã åå èª¿æ» Too many open filesã¯åºã¦ããã ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã足ããªãå ´åã¯ã³ãã¯ã·ã§ã³æ°ã足ããã«å¦çãè©°ã¾ã£ã¦ãã¾ãã¾ãã ããã¦ãã®å ´åToo many open filesã¨ããã¨ã©ã¼ãåºã¾ãã ã
ããã«ã¡ã¯ãã¤ãã¹ã¼ã§ãã å æ¥ãç¦å²¡ã®ã¤ã³ãã©çéã®ã¨ã³ã¸ãã¢ã®æ¹ã ããã£ã¦ããSREæ¬ã®è¼ªèªä¼ã«åå ããçºè¡¨ãããã¦ããã ããã®ã§ããã®æã®å 容ãã¾ã¨ãã¾ãã ç§ã¯ã10ç« ã®ãæç³»åãã¼ã¿ããã®å®è·µçãªã¢ã©ã¼ãããæ å½ããã¦ãããã¾ããã ã¯ããã« ãªããæç³»åãã¼ã¿ããã®å®è·µçãªã¢ã©ã¼ãããå¿ è¦ããèãã¦ã¿ãã Webãµã¼ãã¹ã®å¤§è¦æ¨¡åãè¤éåã«ä¼´ãããµã¼ãå°æ°ã®å¢å ãã·ã¹ãã æ§æã®è¤éåãé²ãã ãã¨ã§ããµã¼ãã®ã¡ããªã¯ã¹çã®æ å ±ãé«è§£å度ãã¤é·æéä¿æãããã¨ããè¦æãé«ã¾ã£ã¦ãããã¾ãããµã¼ãã®ã¡ããªã¯ã¹ãããçµ±è¨çã«è§£æããã¢ã©ã¼ãã£ã³ã°ã®ç²¾åº¦ãåä¸ããããã¨ãã£ãã·ã¼ã³ãå¢ããæç³»åãã¼ã¿ãã¼ã¹ã«æºãè¾¼ãã ãã¼ã¿ãç¨ããæè»ãªã¢ã©ã¼ãã£ã³ã°ã®éè¦ãé«ã¾ã£ã¦ããã®ã§ã¯ãªãã ãããã æ¦è¦ 10ç« ã§ã¯Borgmonã¨å¼ã°ããGoogleã®å é¨ã·ã¹ãã ã«ã¤ãã¦ã®è©±ãä¸å¿ã ãããã¢ã©
æè¡é¨éçºåºç¤ã°ã«ã¼ãã®é´æ¨ (id:eagletmt) ã§ãã ã¯ãã¯ãããã§ã¯ã»ã¨ãã©ã® Web ã¢ããªã±ã¼ã·ã§ã³ã Amazon ECS ä¸ã§åãç¶æ ã¨ãªããã¾ããã¤ã¯ããµã¼ãã¹åãæ°è¦ãµã¼ãã¹ã®ãªãªã¼ã¹ã«ãã Web ã¢ããªã±ã¼ã·ã§ã³ã®æ°ãå¢ãã¦ããã¾ããã åã ã®ã¢ããªã±ã¼ã·ã§ã³ã§ã¯ Docker ã¤ã¡ã¼ã¸ã Jenkins ã§ãã«ãã㦠Amazon ECR ã«ããã·ã¥ããRundeck ãã hako ãç¨ã㦠ECS ã«ãããã¤ããã¾ããã® Web ã¢ããªã±ã¼ã·ã§ã³ãã㯠Amazon RDSãAmazon ElastiCache çã®ããã¼ã¸ããµã¼ãã¹ãæ´»ç¨ãã¦ãã¾ãã ãã®ããã«å¤ãã® Web ã¢ããªã±ã¼ã·ã§ã³ãåå¨ããã¾ãåã¢ããªãå¥ã®ã¢ããªã AWS ã®æ§ã ãªããã¼ã¸ããµã¼ãã¹ãå©ç¨ãã¦ããç¶æ³ã§ã¯ãã©ã®ã¢ããªãä½ã使ã£ã¦ããã®ããææ¡ãããã¨ãå°é£ã«ãªã£ã¦ããã¾ã
第40åã¤ã³ã¿ã¼ãããã¨éç¨æè¡ç 究çºè¡¨ä¼ã®æå¾ è¬æ¼ã§ãWeb ãµã¼ãã¹ã®ä¿¡é ¼æ§ã¨éç¨ã®èªååã«ã¤ãã¦ãã¨ããã¿ã¤ãã«ã§çºè¡¨ãã¾ããã
Netflixã®ããã©ã¼ãã³ã¹ã¨ã³ã¸ãã¢ã§ããçè ããã®ãtopã³ãã³ããªã©ã§è¡¨ç¤ºãããCPU使ç¨ç(%CPU)ã¯ããã¾ãæ¬å½ã®ä½¿ç¨çã表ãã¦ãããããã¥ã¼ãã³ã°ãªã©ã®ããã®ææ¨ã¨ãã¦ä½¿ããªãã¨ããææããªããããªã£ã¦ãã¾ã£ãã®ããä½ãè¦ãã°æ¬å½ã®CPU使ç¨çããããã®ãããããããã解説ããè¨äºã ç§ãã¡ã¿ããªãCPU使ç¨çã¨ãã¦ä½¿ã£ã¦ããææ¨ã¯é常ã«èª¤è§£ãæããã®ã§ããã®ç¶æ³ã¯æ¯å¹´æªåãã¦ãã¾ããCPU使ç¨çã¨ã¯ä½ã§ããããï¼ããã»ããµã¼ãã©ã®ãããå¿ãããï¼éãã¾ããCPU使ç¨çã表ãã¦ããã®ã¯ããã§ã¯ããã¾ãããç§ã話ãã¦ããã®ã¯ããã¡ãã¡ã§ããããã人ãã¡ã«ãããããç£è¦è£½åã§ããããã¯top(1)ã§ã使ããã¦ããã"%CPU"ã¨ããææ¨ã®ãã¨ã§ãã ããªãã®èãã¦ããã§ãããCPU使ç¨ç90% : å®é : "stalled"(訳注 : 以ä¸ã¹ãã¼ã«ã¨è¨ã)ã¨ã¯ãããã»ããµã¼ã
ããã«ã¡ã¯ãã¤ã³ãã©ã¹ãã©ã¯ãã£ã¼é¨ SRE ã°ã«ã¼ãã®åå· ( @rrreeeyyy ) ã§ããä»æãªã¹ã¹ã¡ã®ã¢ãã¡ã¯ãã¤ã³ã¨ã³ã¸ã§ã« BREAK ã§ãã æ®æ®µã®æ¥å並ã³ã«è¶£å³ã®ä¸ç°ã¨ãã¦ããµã¼ãã®ã¢ãã¿ãªã³ã°ç°å¢ã®èª¿æ»ãæ¹åã«åãçµãã§ãã¾ãã ããã§æ¬ç¨¿ã§ã¯ãã¢ãã¿ãªã³ã°ã®ã³ã³ãã¼ãã³ãã®ä¸ã¤ã¨ãã¦å¤ããã¨ãåºæ¥ãªããæç³»åãã¼ã¿ãã¼ã¹ã®åºç¤ç¥èã«é¢ãã¦ç´¹ä»ãã¾ãã ããããæç³»åãã¼ã¿ã»æç³»åãã¼ã¿ãã¼ã¹ã¨ã¯ï¼ æç³»åãã¼ã¿ã¨ããã®ã¯ãç¹å®ã®æéãã¨ã«ä½ããã®å¤ãåå¾ããéã®ãåå¾ããä¸é£ã®å¤ãæãã¾ãã ä¾ãã°ã以ä¸ã®ãããªãã©ã¼ãããããããã¼ã¿ãªã©ã¯æç³»åãã¼ã¿ã«ãããã§ãããã timestamp1,key,value1 timestamp2,key,value2 timestamp3,key,value3 : æç³»åãã¼ã¿ãã¼ã¹ã¨ã¯ãä¸è¨ã®ãããªæç³»åãã¼ã¿ã®ä¿åã»å¦çã«
ã¯ããã« ããã«ã¡ã¯ãèå¡ã§ãã ãã°ãã¡ã¤ã«ã®ç£è¦ãã§ããAWSãµã¼ãã¹ã¨ããã°ãCloudWatch Logsã§ãããã¡ããªãã¯ã使ã£ã¦ã¢ã©ã¼ã ãè¨å®ããSNSã¨çµã¿åããããã¨ã§ãã¢ã©ã¼ãã¡ã¼ã«ãéä¿¡ã§ãã¾ãã æ¬ããã°ã§ããããã¾ã§ã«ä½åº¦ãCloudWatch Logsããç´¹ä»ãã¦ãã¾ããã Amazon CloudWatch Logsã§ãã°ãã¡ã¤ã«ãç£è¦ãã ï½ Developers.IO Amazon CloudWatch Logsã«ãããã°ã®åéã¨ãã£ã«ã¿ã¨ã¢ã©ã¼ã è¨å® ï½ Developers.IO CloudWatch Logsã¯ã2014å¹´7æã«ãªãªã¼ã¹ããããµã¼ãã¹ã§ãããã®åå¹´ã»ã©ã§ãããã¤ãæ©è½ã¢ãããã¼ããããã¾ããã主ãªã¢ãããã¼ãã¯ã次ã®ã¨ããã§ãã CloudWatch Logsãæ±äº¬ãªã¼ã¸ã§ã³(ap-northeast-1)ã§ãå©ç¨ã§ããããã«ãªãã¾ãã
ä»æ¥ã¯ freee ã§éå¬ããã Tech Meetup ã«åå ãã¦ããï¼ããã·ã¥ãã¼ãå¨ã¨ãã¦ã¯æè¿å°å ¥ãã grafana-zabbix ã®ç´¹ä»ããããã¨æã£ã¦ãgrafana-zabbix æ´»ç¨è¡ãã¨ããã¿ã¤ãã«ã§ LT ããã¦ããï¼æ親ä¼ã§ããããã話ãã§ãããåã楽ããã£ãï¼ plaidtech.connpass.com freee ãæ¯ããã¤ã³ãã©æè¡ @manabusakai Monyog - Monitor & optimize MySQL database performance ã¯ç¥ããªãã£ãï¼ ãé害ãèµ·ãããã¨ãåæã«ãã¯æ¬å½ã«éè¦ AWS Well-Architected Framework ã«ããã³ã³ãã¼ãã³ãã®é害ã«å¯¾å¿ããã¹ããã¨æ¸ããã¦ãã ç解ã¯ãã¦ããã© SPOF ã«ãªã£ã¦ãã¾ããã¨ãããããªãâ¦ã¨æã£ãã ããã©ããã³ã°ãã¦è¦ããåããéè¦ã ãªã¨æã£
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}