{"id":11349,"date":"2014-01-17T17:25:53","date_gmt":"2014-01-17T11:55:53","guid":{"rendered":"https:\/\/2thenew.xyz\/blog\/?p=11349"},"modified":"2015-07-09T15:36:42","modified_gmt":"2015-07-09T10:06:42","slug":"setup-custom-cloudwatch-metrics-on-ec2-instance","status":"publish","type":"post","link":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/","title":{"rendered":"Setup custom CloudWatch metrics on EC2 instance"},"content":{"rendered":"<p>AWS provides its user the <a title=\"AWS Monitoring Services\" href=\"https:\/\/2thenew.xyz\/devops-aws\">Cloud Monitoring service which is used<\/a> to keep a check on the resources being used.<\/p>\n<p dir=\"ltr\">It can be a great tool for <a title=\"AWS Developers and Administrators\" href=\"https:\/\/2thenew.xyz\/wcm\/cq-aem-development-consulting\">developers and system administrators<\/a> for cases like:<\/p>\n<ul>\n<li><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif; font-style: normal;\">Monitoring data\/graphs<\/span><\/li>\n<li><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif; font-style: normal;\">Setting up alarms<\/span><\/li>\n<li><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif; font-style: normal;\">Identify trends<\/span><\/li>\n<li><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif; font-style: normal;\">Take actions based on the state of cloud environment<\/span><\/li>\n<\/ul>\n<p>But AWS does not provide the memory and the disk utilization metrics out of the box.These metrics can be monitored using third party scripts that are are written in Perl and are verified by AWS.<\/p>\n<p>To install the scripts a few very basic and simple steps need to be followed, which are:<\/p>\n<p><strong>Prerequisites: \u00a0<\/strong><\/p>\n<p dir=\"ltr\">We\u2019ll have to install the following packages to get these scripts to work.<\/p>\n<ol>\n<li>\n<p dir=\"ltr\">For Debian Flavored Servers,<\/p>\n<p>[shell]sudo apt-get install unzip libwww-perl libcrypt-ssleay-perl[\/shell]<\/p>\n<\/li>\n<\/ol>\n<ol>\n<li>\n<p dir=\"ltr\">For Red Hat Flavored Servers,<\/p>\n<p>[shell]cd \/<br \/>\nyum install perl-Digest-SHA1<br \/>\nperl -MCPAN -e shell ## Type &#8216;yes&#8217; at every prompt, this will drop you at cpan prompt.<br \/>\ncpan[1]&gt; install Bundle::LWP5_837 LWP ## Here also type &#8216;yes&#8217; at every prompt.[\/shell]<\/p>\n<\/li>\n<\/ol>\n<p dir=\"ltr\">Now we will download and configure the CloudWatch Monitoring Scripts on EC2 Linux system.<\/p>\n<p dir=\"ltr\">Following are the steps which we need to follow:<\/p>\n<p>[shell]cd \/opt<br \/>\nwget http:\/\/ec2-downloads.s3.amazonaws.com\/cloudwatch-samples\/CloudWatchMonitoringScripts-v1.1.0.zip<br \/>\nunzip CloudWatchMonitoringScripts-v1.1.0.zip<br \/>\nrm CloudWatchMonitoringScripts-v1.1.0.zip<br \/>\ncd aws-scripts-mon<br \/>\nopen the\u00a0awscreds.template\u00a0file and enter your accesskeyid and secret key[\/shell]<\/p>\n<p>Above mentioned commands will set up the the required monitoring for us. Next step for us would be to send memory and disk usage details to CloudWatch, which would enable us to access information and setup alarms from AWS CloudWatch console.<\/p>\n<p>The command below runs every minute and pushes data to CloudWatch. And to enable 1 minute granularity in CloudWatch we would also need to enable \u201cDetailed Monitoring\u201d.<\/p>\n<p>[shell]*\/1 * * * * \/opt\/aws-scripts-mon\/mon-put-instance-data.pl &#8211;mem-util &#8211;disk-space-util \u00a0&#8211;swap-util &#8211;disk-path=\/ &#8211;disk-path=\/data &#8211;aws-credential-file=\/opt\/mon-scripts\/awscreds.template[\/shell]<\/p>\n<p dir=\"ltr\">In the above command we are monitoring two EBS volumes, one is Root volume and another volume which we have mounted on \/data directory. It will push data every minute to CloudWatch.<\/p>\n<p>Now you can set the alarm on your memory and disk utilization as per your application\u2019s requirement.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AWS provides its user the Cloud Monitoring service which is used to keep a check on the resources being used. It can be a great tool for developers and system administrators for cases like: Monitoring data\/graphs Setting up alarms Identify trends Take actions based on the state of cloud environment But AWS does not provide [&hellip;]<\/p>\n","protected":false},"author":90,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":6,"footnotes":""},"categories":[1174],"tags":[1172,248,1266,1268,1267],"class_list":["post-11349","post","type-post","status-publish","format-standard","hentry","category-aws-2","tag-amazon-web-services","tag-aws","tag-cloudwatch","tag-cloudwatch-monitoring","tag-custom-cloudwatch"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"AWS provides its user the Cloud Monitoring service which is used to keep a check on the resources being used. It can be a great tool for developers and system administrators for cases like: Monitoring data\/graphs Setting up alarms Identify trends Take actions based on the state of cloud environment But AWS does not provide\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"abhishek.tomar\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Setup custom CloudWatch metrics on EC2 instance | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"AWS provides its user the Cloud Monitoring service which is used to keep a check on the resources being used. It can be a great tool for developers and system administrators for cases like: Monitoring data\/graphs Setting up alarms Identify trends Take actions based on the state of cloud environment But AWS does not provide\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"article:tag\" content=\"aws\" \/>\n\t\t<meta property=\"article:tag\" content=\"amazon web services\" \/>\n\t\t<meta property=\"article:tag\" content=\"cloudwatch\" \/>\n\t\t<meta property=\"article:tag\" content=\"cloudwatch monitoring\" \/>\n\t\t<meta property=\"article:tag\" content=\"custom cloudwatch\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2014-01-17T11:55:53+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2015-07-09T10:06:42+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Setup custom CloudWatch metrics on EC2 instance | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"AWS provides its user the Cloud Monitoring service which is used to keep a check on the resources being used. It can be a great tool for developers and system administrators for cases like: Monitoring data\/graphs Setting up alarms Identify trends Take actions based on the state of cloud environment But AWS does not provide\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/setup-custom-cloudwatch-metrics-on-ec2-instance\\\/#article\",\"name\":\"Setup custom CloudWatch metrics on EC2 instance | TO THE NEW Blog\",\"headline\":\"Setup custom CloudWatch metrics on EC2 instance\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/abhishek-tomar\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2014-01-17T17:25:53+05:30\",\"dateModified\":\"2015-07-09T15:36:42+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/setup-custom-cloudwatch-metrics-on-ec2-instance\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/setup-custom-cloudwatch-metrics-on-ec2-instance\\\/#webpage\"},\"articleSection\":\"AWS, amazon web services, aws, CloudWatch, CloudWatch Monitoring, Custom CloudWatch\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/setup-custom-cloudwatch-metrics-on-ec2-instance\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/#listItem\",\"name\":\"AWS\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/#listItem\",\"position\":2,\"name\":\"AWS\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/setup-custom-cloudwatch-metrics-on-ec2-instance\\\/#listItem\",\"name\":\"Setup custom CloudWatch metrics on EC2 instance\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/setup-custom-cloudwatch-metrics-on-ec2-instance\\\/#listItem\",\"position\":3,\"name\":\"Setup custom CloudWatch metrics on EC2 instance\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/#listItem\",\"name\":\"AWS\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/abhishek-tomar\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/abhishek-tomar\\\/\",\"name\":\"abhishek.tomar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/setup-custom-cloudwatch-metrics-on-ec2-instance\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6606885f7c0669268a111875f6c0ef05104c83e6c62be85ed3258b6a3c4ca1b8?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"abhishek.tomar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/setup-custom-cloudwatch-metrics-on-ec2-instance\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/setup-custom-cloudwatch-metrics-on-ec2-instance\\\/\",\"name\":\"Setup custom CloudWatch metrics on EC2 instance | TO THE NEW Blog\",\"description\":\"AWS provides its user the Cloud Monitoring service which is used to keep a check on the resources being used. It can be a great tool for developers and system administrators for cases like: Monitoring data\\\/graphs Setting up alarms Identify trends Take actions based on the state of cloud environment But AWS does not provide\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/setup-custom-cloudwatch-metrics-on-ec2-instance\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/abhishek-tomar\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/abhishek-tomar\\\/#author\"},\"datePublished\":\"2014-01-17T17:25:53+05:30\",\"dateModified\":\"2015-07-09T15:36:42+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Setup custom CloudWatch metrics on EC2 instance | TO THE NEW Blog","description":"AWS provides its user the Cloud Monitoring service which is used to keep a check on the resources being used. It can be a great tool for developers and system administrators for cases like: Monitoring data\/graphs Setting up alarms Identify trends Take actions based on the state of cloud environment But AWS does not provide","canonical_url":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/#article","name":"Setup custom CloudWatch metrics on EC2 instance | TO THE NEW Blog","headline":"Setup custom CloudWatch metrics on EC2 instance","author":{"@id":"https:\/\/2thenew.xyz\/blog\/author\/abhishek-tomar\/#author"},"publisher":{"@id":"https:\/\/2thenew.xyz\/blog\/#organization"},"datePublished":"2014-01-17T17:25:53+05:30","dateModified":"2015-07-09T15:36:42+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/#webpage"},"articleSection":"AWS, amazon web services, aws, CloudWatch, CloudWatch Monitoring, Custom CloudWatch"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.xyz\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/category\/aws-2\/#listItem","name":"AWS"}},{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/category\/aws-2\/#listItem","position":2,"name":"AWS","item":"https:\/\/2thenew.xyz\/blog\/category\/aws-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/#listItem","name":"Setup custom CloudWatch metrics on EC2 instance"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/#listItem","position":3,"name":"Setup custom CloudWatch metrics on EC2 instance","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/category\/aws-2\/#listItem","name":"AWS"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.xyz\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.xyz\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.xyz\/blog\/author\/abhishek-tomar\/#author","url":"https:\/\/2thenew.xyz\/blog\/author\/abhishek-tomar\/","name":"abhishek.tomar","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/6606885f7c0669268a111875f6c0ef05104c83e6c62be85ed3258b6a3c4ca1b8?s=96&d=mm&r=g","width":96,"height":96,"caption":"abhishek.tomar"}},{"@type":"WebPage","@id":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/#webpage","url":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/","name":"Setup custom CloudWatch metrics on EC2 instance | TO THE NEW Blog","description":"AWS provides its user the Cloud Monitoring service which is used to keep a check on the resources being used. It can be a great tool for developers and system administrators for cases like: Monitoring data\/graphs Setting up alarms Identify trends Take actions based on the state of cloud environment But AWS does not provide","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.xyz\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.xyz\/blog\/author\/abhishek-tomar\/#author"},"creator":{"@id":"https:\/\/2thenew.xyz\/blog\/author\/abhishek-tomar\/#author"},"datePublished":"2014-01-17T17:25:53+05:30","dateModified":"2015-07-09T15:36:42+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.xyz\/blog\/#website","url":"https:\/\/2thenew.xyz\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.xyz\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"article","og:title":"Setup custom CloudWatch metrics on EC2 instance | TO THE NEW Blog","og:description":"AWS provides its user the Cloud Monitoring service which is used to keep a check on the resources being used. It can be a great tool for developers and system administrators for cases like: Monitoring data\/graphs Setting up alarms Identify trends Take actions based on the state of cloud environment But AWS does not provide","og:url":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/","og:image":"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","article:tag":{"0":"aws","1":"amazon web services","3":"cloudwatch","4":"cloudwatch monitoring","5":"custom cloudwatch"},"article:published_time":"2014-01-17T11:55:53+00:00","article:modified_time":"2015-07-09T10:06:42+00:00","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Setup custom CloudWatch metrics on EC2 instance | TO THE NEW Blog","twitter:description":"AWS provides its user the Cloud Monitoring service which is used to keep a check on the resources being used. It can be a great tool for developers and system administrators for cases like: Monitoring data\/graphs Setting up alarms Identify trends Take actions based on the state of cloud environment But AWS does not provide","twitter:image":"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"11349","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"article","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-30 08:06:02","updated":"2024-02-29 10:50:14","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.xyz\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.xyz\/blog\/category\/aws-2\/\" title=\"AWS\">AWS<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tSetup custom CloudWatch metrics on EC2 instance\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.xyz\/blog"},{"label":"AWS","link":"https:\/\/2thenew.xyz\/blog\/category\/aws-2\/"},{"label":"Setup custom CloudWatch metrics on EC2 instance","link":"https:\/\/2thenew.xyz\/blog\/setup-custom-cloudwatch-metrics-on-ec2-instance\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/posts\/11349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/users\/90"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/comments?post=11349"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/posts\/11349\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/media?parent=11349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/categories?post=11349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/tags?post=11349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}