{"id":323,"date":"2017-01-18T16:40:19","date_gmt":"2017-01-18T07:40:19","guid":{"rendered":"http:\/\/www.stay-ko.be\/?p=323"},"modified":"2017-01-18T16:40:19","modified_gmt":"2017-01-18T07:40:19","slug":"cloud-watch-ec2-recreate-cannot-get-custom-metrics","status":"publish","type":"post","link":"http:\/\/stay-ko.be\/aws\/cloud-watch-ec2-recreate-cannot-get-custom-metrics\/","title":{"rendered":"[Cloud Watch] EC2\u3092\u8907\u88fd\u3057\u305f\u3089\u3001\u30ab\u30b9\u30bf\u30e0\u30e1\u30c8\u30ea\u30af\u30b9\u304c\u53d6\u5f97\u3067\u304d\u306a\u304b\u3063\u305f"},"content":{"rendered":"
t2.micro \u3067\u904b\u7528\u3057\u3066\u3044\u305f\u5f53\u30b5\u30a4\u30c8\u3067\u3059\u304c\u3001\u5927\u3057\u305f\u30ea\u30bd\u30fc\u30b9\u3082\u4f7f\u3063\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u5224\u3063\u305f\u306e\u3067 t2.nano \u306b\u79fb\u884c\u3057\u307e\u3057\u305f\u3002
\n\u305d\u306e\u969b\u3001Cloudwatch\u306e\u30ab\u30b9\u30bf\u30e0\u30e1\u30c8\u30ea\u30af\u30b9\u304c\u53d6\u5f97\u3067\u304d\u3066\u306a\u304f\u3066\u300c\u3042\u308c\uff1f\u3042\u308c\uff1f\u300d\u3068\u306a\u3063\u305f\u306e\u3067\u3001\u8ab0\u304b\u306e\u304a\u5f79\u306b\u7acb\u3066\u3070\u3068\u3002<\/p>\n
\u7d50\u679c\u7684\u306b\u3001\u30de\u30cb\u30e5\u30a2\u30eb<\/a>\u3092\u8aad\u3081\u3070\u3061\u3083\u3093\u3068\u66f8\u3044\u3066\u3044\u305f\u3093\u3067\u3059\u304c\u3001\u3001\u3001<\/p>\n \n \u30b9\u30af\u30ea\u30d7\u30c8\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u542b\u307e\u308c\u308b CloudWatchClient.pm \u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u307e\u3059\u3002<\/strong>\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304b\u3089 AMI \u3092\u4f5c\u6210\u3059\u308b\u3068\u3001\u30ad\u30e3\u30c3\u30b7\u30e5 TTL (\u30c7\u30d5\u30a9\u30eb\u30c8: 6 \u6642\u9593\u3001Auto Scaling \u30b0\u30eb\u30fc\u30d7\u3067\u306f 24 \u6642\u9593) \u4ee5\u5185\u306b\u3053\u306e AMI \u304b\u3089\u8d77\u52d5\u3057\u305f\u3059\u3079\u3066\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u3001\u5143\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e ID \u3092\u4f7f\u7528\u3057\u3066\u30e1\u30c8\u30ea\u30af\u30b9\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u30ad\u30e3\u30c3\u30b7\u30e5 TTL \u671f\u9593\u304c\u7d4c\u904e\u3057\u305f\u5f8c\u306f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u73fe\u5728\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e ID \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u3092\u3059\u3050\u306b\u4fee\u6b63\u3059\u308b\u306b\u306f\u3001$ rm \/var\/tmp\/aws-mon\/instance-id \u3092\u4f7f\u7528\u3057\u3066\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/strong>\n<\/p><\/blockquote>\n \u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u306a\u306e\u3067\u3001\u7279\u6bb5\u6025\u304c\u306a\u3044\u65b9\u306f\u30c7\u30d5\u30a96\u6642\u9593\u7d4c\u904e\u5f8c\u3001\u52dd\u624b\u306b\u518d\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u6025\u304e\u5909\u66f4\u3057\u305f\u3051\u308c\u3070\u30ad\u30e3\u30c3\u30b7\u30e5\u30c7\u30fc\u30bf\u306e\u3000 t2.micro \u3067\u904b\u7528\u3057\u3066\u3044\u305f\u5f53\u30b5\u30a4\u30c8\u3067\u3059\u304c\u3001\u5927\u3057\u305f\u30ea\u30bd\u30fc\u30b9\u3082\u4f7f\u3063\u3066\u3044\u306a\u3044\u3053\u3068… Continue Reading →<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[15,20],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/stay-ko.be\/wp-json\/wp\/v2\/posts\/323"}],"collection":[{"href":"http:\/\/stay-ko.be\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/stay-ko.be\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/stay-ko.be\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/stay-ko.be\/wp-json\/wp\/v2\/comments?post=323"}],"version-history":[{"count":6,"href":"http:\/\/stay-ko.be\/wp-json\/wp\/v2\/posts\/323\/revisions"}],"predecessor-version":[{"id":329,"href":"http:\/\/stay-ko.be\/wp-json\/wp\/v2\/posts\/323\/revisions\/329"}],"wp:attachment":[{"href":"http:\/\/stay-ko.be\/wp-json\/wp\/v2\/media?parent=323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/stay-ko.be\/wp-json\/wp\/v2\/categories?post=323"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/stay-ko.be\/wp-json\/wp\/v2\/tags?post=323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\/var\/tmp\/aws-mon\/instance-id<\/code>\u3000\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3057\u3066\u306d\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"