ããã«ã¡ã¯ï¼ AWSäºæ¥æ¬é¨ã³ã³ãµã«ãã£ã³ã°é¨ã®ãããã«ï¼@takakuni_ï¼ã§ãã ä»åã¯ãTerraformã§ä½æãããªã½ã¼ã¹ã§ããAmazon DevOps Guruã®ç£è¦å¯¾è±¡ã«ãããã¨æãã¾ãã çµè« tfdevopsã¯TerraformããCloudFormationã¸ã®å¤æãã¼ã«ã§ã¯ãªã çºå±éä¸ã®ãã¼ã«ã§ããããä»å¾ã«æå¾ ï¼ Amazon DevOps Guruã¨ã¯ ãã£ããã説æããã¨ãCloudWatch, Config, CloudTrail, X-Rayããã¼ã¿ã½ã¼ã¹ã«ãæ©æ¢°å¦ç¿ãå©ç¨ãã¦ç°å¸¸ãªéç¨ã¢ã¯ãã£ããã£ãæ¤ç¥ãæ¯æ£æ¹æ³ãã¢ããã¤ã¹ãããµã¼ãã¹ã§ãã Amazon DevOps Guru for RDSã¯ãæ¡å¼µæ©è½ã¨ãã¦ã解決ã¾ã§è¡ããµã¼ãã¹ã¨ãªã£ã¦ããã¾ãã AWSå ¬å¼ï¼Amazon DevOps Guru å¼ç¤¾ããã°ï¼ãç°¡åå°å ¥ãæ©æ¢°å¦ç¿ã§éç¨ãå¹çåï¼
ã·ã¹ãã 管çãã¼ã«ãPrometheusãããPrometheus Agentãã¢ã¼ããæä¾ãã¨ãã¸ç°å¢ãIoTãªã©éããããªã½ã¼ã¹ã§ãå©ç¨å¯è½ã« Kubernetesãã¯ããã¨ããã¯ã©ã¦ããã¤ãã£ããå®ç¾ãããªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã®éçºãæ¨é²ãããCloud Native Computing Foundationãã¯ãã·ã¹ãã 管çãã¼ã«ãPrometheusãã®æ°æ©è½ãPrometheus Agentãã¢ã¼ããçºè¡¨ãã¾ããã Introducing the Prometheus Agent, a new operating mode from the @PrometheusIO team which enables new workflows such as low-resources environments, edge networks, and IoT Read more on
ããã«ã¡ã¯ãã¤ããã¼ã·ã§ã³ã»ã³ã¿ã¼ã®ä¸å³¶ã§ãã æ¬è¨äºã§ã¯ã次ä¸ä»£ã®ç£è¦æè¡ã¨ãã¦æå¾ ãããTelemetryæè¡ã«ã¤ãã¦ãç´¹ä»ãã¾ãã ãã®è¨äºã«ã¤ã㦠æ¬è¨äºã§ã¯ä¸è¨ã®3ç¹ãå ±æãã¾ãã å¾æ¥ã®ç£è¦æè¡ãæ±ãã課é¡ã¨Telemetryã®å¯è½æ§ Telemetryã®æè¡æ¦è¦ã¨ãå社ã®å®è£ ç¶æ³ NTT Comã®ãããã¯ã¼ã¯ä¸ã§æ¤è¨¼ãå¾ãããç¥è¦ã¨ãæå¾ ãããã¦ã¼ã¹ã±ã¼ã¹ å¾æ¥ã®ç£è¦æè¡ãæ±ããèª²é¡ ãããã¯ã¼ã¯éç¨ã«ããã¦ã¯ãé害æ¤ç¥ãããã©ã¼ãã³ã¹åæã®ããç£è¦æè¡ãéè¦ã¨ãªãã¾ãã å¾æ¥ã®ãããã¯ã¼ã¯ã§ã¯ãSNMPï¼Simple Network Management Protocolï¼ã¨å¼ã°ããæè¡ãåºãå©ç¨ããã¦ãã¾ãã SNMPã®ä»çµã¿ãå³1ã«ç¤ºãã¾ããSNMPã¯UDPãã¼ã¹ãªãããã¯ã¼ã¯ç£è¦æè¡ã§ãããã¼ã¿ã¢ãã«ã¯MIBï¼Management Information Baseï¼ã¨
ããã«ã¡ã¯ããã¼ã¿åºç¤ã°ã«ã¼ãã®åç°(id:syou6162)ã§ãããã¼ã¿åºç¤ã°ã«ã¼ãã§ã¯å®å®ãã¦ãã¼ã¿ãå©ç¨ã§ããããã«æ§ã ãªåãçµã¿ãè¡ãªã£ã¦ãã¾ããæ¬ã¨ã³ããªã§ã¯ããã¼ã¿å質ã«åé¡ãããå ´åã«ããã«æ°ä»ããããã«ããSQLã«ããç£è¦ã®ä»çµã¿ãç´¹ä»ãã¾ãã èæ¯ SQLã使ã£ãç£è¦åºç¤ã®æ§ç¯ å®éã®ç£è¦é ç®ä¾ ä»ãã¼ã ãdailyã§è»¢éãã¦ãããã¼ã¿ããããã®å¤±æã«ããé ãã¦ããªãã BigQueryã®ã¨ã©ã¼ã¬ã¼ããæ¥æ¿ã«å¢å ãã¦ããªãã æ¿èªæ¸ã¿ãã¥ã¼ã®è¨å®ãæå³ããæ¶ãã¦ããªãã ä»å¾ã®å±æ èæ¯ ãã¼ã¿åºç¤ã®éç¨ããã¦ããã¨ãæ¥ã æ§ã ãªãã©ãã«ã¨åãåãå¿ è¦ãããã¾ããä¾ãã°ã以ä¸ã®ãããªãã®ãããã¾ãã ä»ãã¼ã ãdailyã§è»¢éãã¦ãããã¼ã¿ããããã®å¤±æã«ããé ãã¦ãã Terraformãªã©ã®IaCã§æ¿èªæ¸ã¿ãã¥ã¼ã®æ¨©é管çãè¡ãªã£ã¦ããããã³ã¼ãã®è¨å®ãã¹ã§æå³ãã¬ç¶æ
ããã«ã¡ã¯ãSREã®id:do-su-0805ã§ããæ®æ®µã¯id:do_su_0805ã¨ãã¦çæ´»ãã¦ãã¾ãã ãã®è¨äºã§ã¯ãAmazon ECSï¼ä»¥ä¸ãECSï¼ã§ã³ã³ãããåããã¨ãããã°ãã©ã¤ãã¼ã¨ãã¦awslogsãå©ç¨ãã¦Amazon CloudWatch Logsï¼ä»¥ä¸ãCloudWatch Logsï¼ã«ãã°ãåºåããéã«ãawslogs-stream-prefixã¨ãããã©ã¡ã¼ã¿ã«ã¯ä½ãè¨å®ããã¨ãããã«ã¤ãã¦èå¯ãã¾ãã çµè«ããè¨ãã¨ããã®ãã©ã¡ã¼ã¿ã«ãã³ã³ããã®ã¤ã¡ã¼ã¸ã¿ã°ããå ¥ããããã«ããã¨ãããåºåããããã°ã¹ããªã¼ã ã®/åºåãã®é層ãè¦ããããªãããã°ãä¸ä»£å¥ã«æ±ãããããªã£ãããã¨ããã話ã§ãã ECSï¼CloudWatch Logsæ§ææã®ãã°ã°ã«ã¼ãã¨ãã°ã¹ããªã¼ã ã«ã¤ã㦠ã©ã®ãããªãã°ã¹ããªã¼ã ãæ§æãããã¡ããäºä¾ããèãã¦ã¿ã awslogs-strea
ããã«ã¡ã¯ãéçºæ¬é¨ ãªã³ãã¼ãã£ã³ã°ãã¼ã ã®é äºï¼@sakay_yï¼ã§ãã社å ã®ãªã³ãã¼ãã£ã³ã°ã³ã³ãã³ãããã©ãã©ã社å¤ã¸å ¬éãããã¨ã夢è¦ã¦ãã¾ãã 2021å¹´ãã¨ã³ã¸ãã¢æ°äººç ä¿®ãè¡ãã¾ããã®ã§ã軽ãç´¹ä»ã¨ãè¬ç¾©è³æããã³ä¸é¨è¬ç¾©åç»ï¼New!ï¼ãå ¬éãããã¾ãã 2021å¹´ã®ã¨ã³ã¸ãã¢ç ä¿®ã«ã¤ã㦠è¬ç¾©è³æå ¬é Webã¢ããªã±ã¼ã·ã§ã³åºç¤ HTTP/DNS ã½ããã¦ã§ã¢ã©ã¤ã»ã³ã¹ ã½ããã¦ã§ã¢ãã¹ã ãã¹ãèªåå ã¢ã¯ã»ã·ããªã㣠Docker Chrome Developer Toolsã®ä½¿ãæ¹ ãµã¤ãã¦ãºã®ã¢ã¸ã£ã¤ã«ã»ã¯ãªãªã㣠ãã¶ã¤ã³ã®å½¹å²ã¨é¢ãããã ãã¼ã¿ãã¼ã¹ CI/CD ã»ãã¥ãªã㣠ã¢ãã«æ©ãæ £ããã人ã®ããã®ã¬ã¤ã ITã³ãã¥ããã£æåã¨æ å ±çºä¿¡ã«å ±éããæé·ã¨è²¢ç®ã®è¦ç´ æ£è¦è¡¨ç¾ Kubernetesã使ã£ãéçºå ¥é ã¢ãã¿ãªã³ã°å ¥é gRPCå ¥é æ¥æ¬èªè©±
Lambdaãå®æå®è¡ããä»çµã¿ãããä½ãã¾ãã 1æéã«1åèµ·åãã 1æ¥ã«1åèµ·åãã ãããã®Lambdaããèµ·åããªãã£ãå ´åãã«éç¥ã欲ãããªã£ãã®ã§ãCloudWatch Alarmãä½ã£ã¦ã¿ã¾ããã å®éã«Lambdaãèµ·åããªãäºè±¡ã«ééãããã¨ã¯ç¡ãã§ããããã®Alarmãããã¨ããã¡ããã¨èµ·åãã¦ããããï¼ãã¨ããã¢ã¤ã¢ã¤ã解æ¶ããã¾ããä¸ãä¸ã«æ°ã¥ããä¿éºã§ããã ããããã®æ¹ å®æå®è¡ããLambdaããèµ·åããªãã£ãå ´åãã®CloudWatch Alarmãä½ãããæ¹ å®æå®è¡ããLambdaã¨CloudWatch Alarmãä½æãã sam init sam init \ --runtime python3.8 \ --name Lambda-No-Start-Alarm-Sample \ --app-template hello-world \ --pack
Amazon Web Services ããã° Amazon DevOps Guru ãä¸è¬ãµã¼ãã¹æä¾éå§ã¨ãªãæ±äº¬ãªã¼ã¸ã§ã³ã§ãã使ãããã ãã¾ã ã¿ãªãããããã«ã¡ã¯ãã¢ãã¾ã³ ã¦ã§ã ãµã¼ãã¹ ã¸ã£ãã³ãã·ãã¢ã¨ãã³ã¸ã§ãªã¹ãã®äºç°ã§ãã 2020å¹´ã® re:Invent ã§ã¢ãã¦ã³ã¹ããã Amazon DevOps Guru ãä¸è¬ãµã¼ãã¹æä¾éå§ã¨ãªããæ±äº¬ãªã¼ã¸ã§ã³ã§ããå©ç¨ããã ãã¾ãã®ã§ãç¥ãããããã¾ãã DevOps Guru ã¯ã¢ããªã±ã¼ã·ã§ã³ã®å¯ç¨æ§ãåä¸ããã æ©æ¢°å¦ç¿ é§åã®ã¯ã©ã¦ããªãã¬ã¼ã·ã§ã³ãµã¼ãã¹ã§ããããããç¨ãããã¨ã§ã¢ããªã±ã¼ã·ã§ã³ã®éç¨ããã©ã¼ãã³ã¹ã¨å¯ç¨æ§ãç°¡åã«åä¸ããããã¨ãã§ãã¾ããæ©æ¢°å¦ç¿ãé常ã®éç¨ãã¿ã¼ã³ãå¦ç¿ããããããé¸è±ããåä½ãæ¤åºããè¿ éã«éç¨ä¸ã®åé¡ãç¹å®ãããã¨ãã§ãã¾ããä¾ãã°ãç°å¸¸ãªã¢ããªã±ã¼ã·ã§ã³ã®åä½ã¨ãªã
ããã«ã¡ã¯ã@watilde ã§ããAmplifyã®éçºè ä½é¨ä½é¨ã®åä¸ããã¹ãããã¤ã¼ãã®ã¦ã©ãããGitHubã§ã®åå¿ãªã©ãã¦ãã¾ããããå»å¹´ã®ãã¨ã§ãããæè¿ã¯cliã®æ¹åã¨ãã¦create-react-appã®ããã«initã®å®è¡æã«READMEã®çæãè¡ãPRãªã©ä½ã£ãããã¦ã¾ããåè: aws-amplify/amplify-cli#5808 ãã®è¨äºã¯è±èªã§æ¸ãã Improve UX by observability in front-end with Amplify and QuickSight ãèªåã§æ¥æ¬èªã«æ訳ãã¦ã¿ããã®ã§ããNodeå¦å 35æéç® ãªã³ã©ã¤ã³ãã©ã¤ã¢ã« ã§ãåæ§ã®å 容ãçºè¡¨äºå®ã§ãã JavaScriptã®ã¨ã©ã¼ä¾ JavaScriptã¯100%åãã¦ããã®ã ç§éã®ä½ãWebã¢ããªã»Webãµã¤ããæ§ã ãªããã¤ã¹ã§100ï¼ åä½ãã¦ãããã¯ãå®æ
ã¯ããã¾ãã¦ãProgateã®æå±±ã§ãã æ¬è¨äºã¯ProgateAdventCalendarã®2æ¥ç®ã®è¨äºã§ãã æ®æ®µã¯SREãã¼ã ã§Progateã®éçºãéç¨ãæ¯ããä»äºããã¦ããã¾ããProgateã«ã¯ä»å¹´ã®7æã«å ¥ç¤¾ãã¾ãããåè·ã¯Elixirãk8sãªã©ã使ã£ãWebã¢ããªã±ã¼ã·ã§ã³ã®éçºãéç¨ããã¦ãã¾ãããProgateã«Elixirã®ã³ã¼ã¹ãä½ãã®ãã¡ãã£ã¨ããéæã§ãã æ¬ç¨¿ã§ã¯ãµã¼ãã¹ãéçºã®ã¢ãã¿ãªã³ã°ã«ã¤ãã¦ç´¹ä»ãããã¨æãã¾ãã ã¢ãã¿ãªã³ã°ã¨ã¯ ã¢ãã¿ãªã³ã°ã¯æ¥æ¬èªã§ç£è¦ã¨è¨ãã主ã«ãµã¼ãã¹ã®é害æ¤ç¥ãå¯ç¨æ§åä¸ã®ããã«å©ç¨ããã¦ãã¾ããããã§ç´¹ä»ããã¢ãã¿ãªã³ã°ã¯å¤§ãã2種é¡ã«åé¡ãããã¨æãã¾ãã 1ã¤ç®ã¯æ»æ´»ç£è¦ããããã®ã¢ãã¿ãªã³ã°ã§ããµã¼ãã¹ãã¢ããªã±ã¼ã·ã§ã³ã®å¯ç¨æ§ç£è¦ããå¿ è¦ã«å¿ãã¦ãã§ã¤ã«ãªã¼ãã¼ããããã¢ã©ã¼ããé£ã°ãã¦éçºè ã¸ã¨å ±æãã¾ãã 2
procstat ãã©ã°ã¤ã³ã§ã¯ãåå¥ã®ããã»ã¹ããã¡ããªã¯ã¹ãåéã§ãã¾ãããã®ãã©ã°ã¤ã³ã¯ãLinux ãµã¼ãã¼ã¨ããµãã¼ã対象ãã¼ã¸ã§ã³ã® Windows Server ãå®è¡ãããµã¼ãã¼ã§ãµãã¼ãããã¾ãããã®ã»ã¯ã·ã§ã³ã§ã¯ãprocstat ç¨ã« CloudWatch ã¨ã¼ã¸ã§ã³ããè¨å®ããCloudWatch ã¨ã¼ã¸ã§ã³ãã«ãã£ã¦ã¤ã³ãã¼ããããã¡ããªã¯ã¹ã表示ããæ¹æ³ã«ã¤ãã¦èª¬æãã¾ããã¾ããprocstat ã«ãã£ã¦åéãããã¡ããªã¯ã¹ããªã¹ããã¾ãã procstat åãã® CloudWatch ã¨ã¼ã¸ã§ã³ãã®è¨å® procstat ãã©ã°ã¤ã³ã使ç¨ããã«ã¯ãCloudWatch ã¨ã¼ã¸ã§ã³ãè¨å®ãã¡ã¤ã«ã® procstat ã»ã¯ã·ã§ã³ã« metrics_collected ã»ã¯ã·ã§ã³ã追å ãã¾ããã¢ãã¿ã¼ãªã³ã°ããããã»ã¹ãæå®ããã«ã¯ 3 ã¤ã®æ¹æ³ãããã¾ããããã
çªç¶ã§ããã以ä¸ã®æ©è½ãããããã©ããããã®ã ãã¹ã¦ ãåç¥ã§ããããï¼ CloudWatch ServiceLens X-Ray CloudWatch Contributor Insights CloudWatch Synthetics CloudWatch Container Insights CloudWatch Logs Insights CloudWatch ã¡ããªã¯ã¹ Metric Math æ¤ç´¢å¼ ã«ã¹ã¿ã ã¡ããªã¯ã¹ CloudWatch ããã·ã¥ãã¼ã CloudWatch ç°å¸¸æ¤åºï¼Anomaly Detectionï¼ CloudWatch åãè¾¼ã¿ã¡ããªãã¯ãã©ã¼ããã CloudWatch ã¢ã©ã¼ã ç°å¸¸æ¤åºã«åºã¥ããã¢ã©ã¼ã è¤åã¢ã©ã¼ã ç§ã¯ããããªãã£ãã§ããããã 1ã2å¹´ã®CloudWatchç³»ã®ã¢ãããã¼ãéã¯åã¾ãããªã¨å人çã«ã¯æã£ã¦ãã¦ãCloud
Dockerã¯ã³ã³ããåã®ããã®æãä¸è¬çãªãã¼ã«ã®1ã¤ã§ãããDockerã³ã³ããã®å é¨ã§ä½ãåé¡ãèµ·ãã¦ããªãããç£è¦ããããã«ããªã¼ãã³ã½ã¼ã¹ã³ãã¥ããã£ã«ãã£ã¦ããã¤ãã®ãã¼ã«ãéçºããã¦ãã¾ãã ãã®ã¬ã¤ãã§ã¯ããã®ãã¡ã®1ã¤ã®ãã¼ã«ã§ããcAdvisorã«ç¦ç¹ãå½ã¦ã¦ãã¾ããï¼cAdvisor ãªãDockerã³ã³ãããç£è¦ããå¿ è¦ãããã®ãï¼ ç£è¦ã«ãããã½ããã¦ã§ã¢ã®ç¶æ ã«é¢ããéè¦ãªæ å ±ãåéã§ãããããéçºãã¼ã ã¯è£½åãæ¹åããæ¹æ³ãè¦ã¤ãããã¨ãã§ãã¾ãã åã³ã³ããã¯èªå·±å®çµåã®ã·ã¹ãã ã§ãããããç£è¦ã¯ããã«ä¸å¯æ¬ ã§ãã ã³ã³ããã®ç£è¦ã«ã¯ãåã³ã³ããã®ä½¿ç¨ç¶æ³ã®æ¸¬å®å¤ãè¨é²ãã¦ç£è¦ã·ã¹ãã ã«å ±åãããã¨ãå«ã¾ãã¾ãã ãã®ããã«ãã¦ããã°ã®æ¤åºã¨ã¢ããªã±ã¼ã·ã§ã³ã®æ¹åã確å®ã«ããç·åçãªããã©ã¼ãã³ã¹ã¨å ç¢æ§ãåä¸ããã¾ãã ã³ã³ããã®ç£è¦ã«cAdvisorã使
TL;DR ç£è¦ã¯ã¦ã¼ã¶ã¼ã«ãµã¼ãã¹ãæä¾ã§ãã¦ãããã観測ããããã®è¡çº SLI/SLOãå®ãã¦ãSLOãå®ããããã«ã¢ãã¿ãªã³ã°ãã ããã·ã¥ãã¼ãã¯å®å¸¸çã«è¡¨ç¤ºãã¦ãããã®ã¨é害æã«æ´»ç¨ãããã®ãä½ãã¨è¯ã ã¢ã©ã¼ãã¯ã¬ãã«åããã¦äººéã対å¿ããªããã°ãªããªããã®ã ã人éã¸éç¥ãã ç£è¦ã¨ã¯ ãµã¼ãã¹ãå¥å ¨ã«åä½ããç¶ããããã«ç£è¦ãè¡ãã¾ãã ãå¥å ¨ã«åä½ãã¦ãããã®å®ç¾©ã¯ãµã¼ãã¹ã«ãã£ã¦ç°ãªããã¦ã¼ã¶ã¼ã«Webãã¼ã¸ãè¦ãããã¨ãã§ãããã¨ã ã£ãããããããæ£å¸¸ã«çµäºãããã¨ã ã£ãããã¾ãã æçµçã«ã¦ã¼ã¶ã¼ã«æ£å¸¸ã«ãµã¼ãã¹ãæä¾ã§ãã¦ãããã¨ã観測ããããã«è¡ããã¨ã«å¤ããã¯ããã¾ããã ãã¦ã¦ã¼ã¶ã¼ã«ãµã¼ãã¹ãæä¾ããããã«ä½ãç£è¦ãã¾ããããï¼ ã¯ã©ã¦ãåæã§ããã°å人çã«ãªã½ã¼ã¹ãã¼ã¹ï¼CPU/Memoryï¼ããã SLI/SLOããã¼ã¹ ã«ç£è¦ããäºãæã¾ããã¨èãã¦ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}