2018-01-01ãã1ã¶æéã®è¨äºä¸è¦§
Jenkinsãé »ç¹ã«disk fullã«ãªã ãã«ãã®ç ´æ£ã®è¨å®ãªã©ããã¦ãããã ãã©ãworkspaceãããã«è¥å¤§åããåé¡ãèµ·ãã¦ãããããã¸ã§ãã®workspaceé ä¸ã«@ãã¤ãããã£ã¬ã¯ããªãããããã§ãã¦ãã¾ã£ã¦ãããã¨ã¯åãã£ã¦ãããã ããæ¶ãã¦ããã¾ã«å¾©æ´»â¦
Sentryããã©ã«ãã ã¨ãµã¼ãã¼åãã¹ã¬ããçªå·ã¿ãããªã㤠confã§åãæ¿ããããã¤ã¯ããµã¼ãã¹ã£ã½ãæãã§ãã£ã¦ãã¨ãã©ã®ãµã¼ãã¹ãåãããªãããããããå°ãããã¨ãã£ã¦ããããã¨ã«projectä½ã£ã¦SENTRY_DSNãå¤ããã®ãããã©ãã ãªãã¨ã ããã§â¦
ãã«ãã¤ã³ã®æ©è½ã§ã§ãã pipeline input step ã¨ããæ©è½ãå©ç¨ãããç°¡åã«ã§ãã¾ãããã¨ããããããã¼ãã©ããªæããã§æµãã¦ããç´¹ä»ã ã¾ãã¯ã¸ã§ããæ®éã«å®è¡ãã¾ã ã¸ã§ããå®è¡ãã人ã¯ãã¤ãéãã§ã ããã¨slackã«éç¥ããã¾ã ããã¯ãªã³ã¯â¦
on averageã¯ããæéã®å¹³åã ã¨æã£ã¦ãã Datadogã¯ãããªé¢¨ã«ããã¡ããªã¯ã¹ã®å¤ãé¾å¤ãè¶ ãããslackã«éç¥ããã¿ãããªæãã®ãã¨ããããã£ã¦è¨å®ãã¾ã æå®ããã¡ããªã¯ã¹ã®å¤ãã5åé(during the last 5 minutes)ã®å¹³å(on average)ã300ãä¸åã£â¦
alertåºãå¾ã«recoverãããªã alertãéç¥ããããã©ããã®å¾ãrecoverdãæ¥ãªãã¨ããç¾è±¡ 次ã®æ¥ã«ãªã£ã¦recoverããã ããã¯ãªããããæ¹ãããã ããã¨datadogã®ãµãã¼ãã«é£çµ¡ åå ãµãã¼ãã®åç > AWS Cloudwatch doesn't generate a metric valueâ¦
terraformã§ECSã®clusterã¨serviceãä½æããã«ããã£ã¦å®éã®éç¨ãéãã¦å°ãå¤ãã£ã¦ããã®ã§ã¾ã¨ãã¦ããã æåã®terraformã®moduleæ§æã§èµ·ããåé¡ç¹ 以åã¯ãaws_ecs_clusterã¨aws_autoscaling_groupãåä¸moduleã«ããã¦ããã åé¡ãã®1: ã¤ã³ã¹ã¿â¦
å ¥æããã¤ã³ã¹ã¿ã³ã¹ã¿ã¤ãã¨ã¹ãã©ãã¸ã¼ spot fleetã®åæ£ã¹ãã©ãã¸ã¼ã«ã¯ãlowestPriceã¨diversifiedããããlowestPriceã¯ãã®æç¹ã§å ¥æãå ¥ãããã¼ã«ã®ä¸ã§ä¸çªæå®å¤ã®ãã¤ã§å ¨å°è³¼å ¥ããããªã®ã§ããã®ãã¼ã«ãé«é¨°ããã¨ãã«å¼±ãã ããããdiveâ¦
ä¼ç¤¾ã§æçºè¡¨ãããã¤ãæ±ç¨çãªæãã«ãã¦æ®ãã¦ããã¾ãã EC2ã®ãå¤æ®µãæ§è½ãã®ã¾ã¾ã«8å²ãå®ããªãã¾ããã¨ãã話 Spot Fleetåã®AWSã®ECSã§ã¯ã©ã¹ã¿ã¼æ§æã«ã¤ã㦠ã¯ã©ã¹ã¿ã¼ã®EC2ã¤ã³ã¹ã¿ã³ã¹ã¯ãªã³ããã³ãï¼å®ä¾¡ï¼ã®autoscaling Dockeråã§ã¹ã±ã¼â¦