{"id":28468,"date":"2018-04-08T11:08:11","date_gmt":"2018-04-08T09:08:11","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=28468"},"modified":"2019-02-25T11:52:06","modified_gmt":"2019-02-25T09:52:06","slug":"handling-amazon-sns-messages-with-php-lumen-and-cloudwatch","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/","title":{"rendered":"Handling Amazon SNS messages with PHP, Lumen and CloudWatch"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>Gonzalo Ayuso throws a few snippets of code in the blog posts title &#8220;<a href=\"https:\/\/gonzalo123.com\/2018\/01\/22\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/\">Handling Amazon SNS messages with PHP, Lumen and CloudWatch<\/a>&#8220;, which shows how to work with <a href=\"https:\/\/aws.amazon.com\/sns\/\">Amazon SNS<\/a>&nbsp;(Simple Notifications Service) and <a href=\"https:\/\/aws.amazon.com\/cloudwatch\/\">Amazon CloudWatch<\/a>&nbsp;(cloud and network monitoring solution) from PHP.&nbsp; The examples are based on the <a href=\"https:\/\/lumen.laravel.com\/\">Lumen<\/a> micro-framework, which is basically a stripped down <a href=\"https:\/\/laravel.com\/\">Laravel<\/a>.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Gonzalo Ayuso throws a few snippets of code in the blog posts title &#8220;Handling Amazon SNS messages with PHP, Lumen and CloudWatch&#8220;, which shows how to work with Amazon SNS&nbsp;(Simple Notifications Service) and Amazon CloudWatch&nbsp;(cloud and network monitoring solution) from PHP.&nbsp; The examples are based on the Lumen micro-framework, which is basically a stripped down &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Handling Amazon SNS messages with PHP, Lumen and CloudWatch<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Handling Amazon SNS messages with PHP, Lumen and CloudWatch #WebDev #PHP #Amazon #AWS #frameworks #cloud","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_links_to":"","_links_to_target":""},"categories":[1,18,133,62,1334],"tags":[3270,3578,3577,2366,3063,3549,3576,127,38,1330,2289],"keyring_services":[],"class_list":["post-28468","post","type-post","status-publish","format-standard","hentry","category-general","category-programming","category-sysadmin","category-technology","category-web-work","tag-amazon-aws","tag-amazon-cloudwatch","tag-amazon-sns","tag-cloud-computing","tag-frameworks","tag-laravel","tag-lumen","tag-monitoring","tag-php","tag-web-development","tag-web-hosting"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Gonzalo Ayuso throws a few snippets of code in the blog posts title &quot;Handling Amazon SNS messages with PHP, Lumen and CloudWatch&quot;, which shows how to work with Amazon SNS (Simple Notifications Service) and Amazon CloudWatch (cloud and network monitoring solution) from PHP. The examples are based on the Lumen micro-framework, which is basically a stripped down\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Leonid Mamchenkov\"\/>\n\t<meta name=\"google-site-verification\" content=\"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Leonid Mamchenkov - Life, universe, and everything else\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Handling Amazon SNS messages with PHP, Lumen and CloudWatch - Leonid Mamchenkov\" \/>\n\t\t<meta property=\"og:description\" content=\"Gonzalo Ayuso throws a few snippets of code in the blog posts title &quot;Handling Amazon SNS messages with PHP, Lumen and CloudWatch&quot;, which shows how to work with Amazon SNS (Simple Notifications Service) and Amazon CloudWatch (cloud and network monitoring solution) from PHP. The examples are based on the Lumen micro-framework, which is basically a stripped down\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2018-04-08T09:08:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-02-25T09:52:06+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MamchenkovBlog\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Handling Amazon SNS messages with PHP, Lumen and CloudWatch - Leonid Mamchenkov\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Gonzalo Ayuso throws a few snippets of code in the blog posts title &quot;Handling Amazon SNS messages with PHP, Lumen and CloudWatch&quot;, which shows how to work with Amazon SNS (Simple Notifications Service) and Amazon CloudWatch (cloud and network monitoring solution) from PHP. The examples are based on the Lumen micro-framework, which is basically a stripped down\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2018\\\/04\\\/08\\\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\\\/#blogposting\",\"name\":\"Handling Amazon SNS messages with PHP, Lumen and CloudWatch - Leonid Mamchenkov\",\"headline\":\"Handling Amazon SNS messages with PHP, Lumen and CloudWatch\",\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2018\\\/04\\\/08\\\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"},\"datePublished\":\"2018-04-08T11:08:11+02:00\",\"dateModified\":\"2019-02-25T11:52:06+02:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2018\\\/04\\\/08\\\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2018\\\/04\\\/08\\\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\\\/#webpage\"},\"articleSection\":\"All, Programming, Sysadmin, Technology, Web work, Amazon AWS, Amazon CloudWatch, Amazon SNS, cloud computing, frameworks, Laravel, Lumen, monitoring, PHP, web development, web hosting\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2018\\\/04\\\/08\\\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/programming\\\/#listItem\",\"name\":\"Programming\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/programming\\\/#listItem\",\"position\":3,\"name\":\"Programming\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/programming\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2018\\\/04\\\/08\\\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\\\/#listItem\",\"name\":\"Handling Amazon SNS messages with PHP, Lumen and CloudWatch\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2018\\\/04\\\/08\\\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\\\/#listItem\",\"position\":4,\"name\":\"Handling Amazon SNS messages with PHP, Lumen and CloudWatch\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/programming\\\/#listItem\",\"name\":\"Programming\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2018\\\/04\\\/08\\\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2018\\\/04\\\/08\\\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2018\\\/04\\\/08\\\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\\\/#webpage\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2018\\\/04\\\/08\\\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\\\/\",\"name\":\"Handling Amazon SNS messages with PHP, Lumen and CloudWatch - Leonid Mamchenkov\",\"description\":\"Gonzalo Ayuso throws a few snippets of code in the blog posts title \\\"Handling Amazon SNS messages with PHP, Lumen and CloudWatch\\\", which shows how to work with Amazon SNS (Simple Notifications Service) and Amazon CloudWatch (cloud and network monitoring solution) from PHP. The examples are based on the Lumen micro-framework, which is basically a stripped down\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2018\\\/04\\\/08\\\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"datePublished\":\"2018-04-08T11:08:11+02:00\",\"dateModified\":\"2019-02-25T11:52:06+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/\",\"name\":\"Blog of Leonid Mamchenkov\",\"description\":\"Life, universe, and everything else\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Handling Amazon SNS messages with PHP, Lumen and CloudWatch - Leonid Mamchenkov","description":"Gonzalo Ayuso throws a few snippets of code in the blog posts title \"Handling Amazon SNS messages with PHP, Lumen and CloudWatch\", which shows how to work with Amazon SNS (Simple Notifications Service) and Amazon CloudWatch (cloud and network monitoring solution) from PHP. The examples are based on the Lumen micro-framework, which is basically a stripped down","canonical_url":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/#blogposting","name":"Handling Amazon SNS messages with PHP, Lumen and CloudWatch - Leonid Mamchenkov","headline":"Handling Amazon SNS messages with PHP, Lumen and CloudWatch","author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"},"datePublished":"2018-04-08T11:08:11+02:00","dateModified":"2019-02-25T11:52:06+02:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/#webpage"},"isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/#webpage"},"articleSection":"All, Programming, Sysadmin, Technology, Web work, Amazon AWS, Amazon CloudWatch, Amazon SNS, cloud computing, frameworks, Laravel, Lumen, monitoring, PHP, web development, web hosting"},{"@type":"BreadcrumbList","@id":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","position":1,"name":"Home","item":"https:\/\/mamchenkov.net\/wordpress","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/#listItem","name":"Programming"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/#listItem","position":3,"name":"Programming","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/#listItem","name":"Handling Amazon SNS messages with PHP, Lumen and CloudWatch"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/#listItem","position":4,"name":"Handling Amazon SNS messages with PHP, Lumen and CloudWatch","previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/#listItem","name":"Programming"}}]},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/#person","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author","url":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"WebPage","@id":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/#webpage","url":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/","name":"Handling Amazon SNS messages with PHP, Lumen and CloudWatch - Leonid Mamchenkov","description":"Gonzalo Ayuso throws a few snippets of code in the blog posts title \"Handling Amazon SNS messages with PHP, Lumen and CloudWatch\", which shows how to work with Amazon SNS (Simple Notifications Service) and Amazon CloudWatch (cloud and network monitoring solution) from PHP. The examples are based on the Lumen micro-framework, which is basically a stripped down","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#website"},"breadcrumb":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/#breadcrumblist"},"author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"creator":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"datePublished":"2018-04-08T11:08:11+02:00","dateModified":"2019-02-25T11:52:06+02:00"},{"@type":"WebSite","@id":"https:\/\/mamchenkov.net\/wordpress\/#website","url":"https:\/\/mamchenkov.net\/wordpress\/","name":"Blog of Leonid Mamchenkov","description":"Life, universe, and everything else","inLanguage":"en-US","publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"}}]},"og:locale":"en_US","og:site_name":"Leonid Mamchenkov - Life, universe, and everything else","og:type":"article","og:title":"Handling Amazon SNS messages with PHP, Lumen and CloudWatch - Leonid Mamchenkov","og:description":"Gonzalo Ayuso throws a few snippets of code in the blog posts title &quot;Handling Amazon SNS messages with PHP, Lumen and CloudWatch&quot;, which shows how to work with Amazon SNS (Simple Notifications Service) and Amazon CloudWatch (cloud and network monitoring solution) from PHP. The examples are based on the Lumen micro-framework, which is basically a stripped down","og:url":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/","og:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:secure_url":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:width":1024,"og:image:height":1024,"article:published_time":"2018-04-08T09:08:11+00:00","article:modified_time":"2019-02-25T09:52:06+00:00","article:publisher":"https:\/\/www.facebook.com\/MamchenkovBlog","twitter:card":"summary_large_image","twitter:site":"@mamchenkov","twitter:title":"Handling Amazon SNS messages with PHP, Lumen and CloudWatch - Leonid Mamchenkov","twitter:description":"Gonzalo Ayuso throws a few snippets of code in the blog posts title &quot;Handling Amazon SNS messages with PHP, Lumen and CloudWatch&quot;, which shows how to work with Amazon SNS (Simple Notifications Service) and Amazon CloudWatch (cloud and network monitoring solution) from PHP. The examples are based on the Lumen micro-framework, which is basically a stripped down","twitter:creator":"@mamchenkov","twitter:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg"},"aioseo_meta_data":{"post_id":"28468","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","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":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","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":"","isEnabled":true},"graphs":[]},"schema_type":"default","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,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-07-20 05:14:24","updated":"2026-01-15 13:34:46","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\" 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:\/\/mamchenkov.net\/wordpress\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/\" title=\"Programming\">Programming<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHandling Amazon SNS messages with PHP, Lumen and CloudWatch\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/mamchenkov.net\/wordpress"},{"label":"Technology","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/"},{"label":"Programming","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/"},{"label":"Handling Amazon SNS messages with PHP, Lumen and CloudWatch","link":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/08\/handling-amazon-sns-messages-with-php-lumen-and-cloudwatch\/"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":28553,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/05\/07\/php-application-logging-with-amazon-cloudwatch-logs-and-monolog\/","url_meta":{"origin":28468,"position":0},"title":"PHP application logging with Amazon CloudWatch Logs and Monolog","author":"Leonid Mamchenkov","date":"May 7, 2018","format":false,"excerpt":"AWS Developer Blog ran this post a while back - \"PHP application logging with Amazon CloudWatch Logs and Monolog\", in which they show how to use Monolog and Amazon CloudWatch together in any PHP application.\u00a0 It goes beyond a basic configuration of connecting the two, all the way into setting\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/05\/php-aws-500x254.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":28586,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/05\/18\/vue-cloudwatch-dashboard\/","url_meta":{"origin":28468,"position":1},"title":"Vue CloudWatch Dashboard","author":"Leonid Mamchenkov","date":"May 18, 2018","format":false,"excerpt":"Vue CloudWatch Dashboard - a simple live dashboard for Amazon CloudWatch metrics.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/05\/Vue-CloudWatch-Dashboard-500x313.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":36094,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/02\/25\/how-to-build-a-serverless-ci-cd-pipeline-on-aws\/","url_meta":{"origin":28468,"position":2},"title":"How To Build a Serverless CI\/CD Pipeline On AWS","author":"Leonid Mamchenkov","date":"February 25, 2019","format":false,"excerpt":"\"How To Build a Serverless CI\/CD Pipeline On AWS\" is a nice guide to some of the newer Amazon AWS services, targeted at developers and DevOps. It shows how to tie together the following: Amazon EC2 (server instances)Docker (containers)Amazon ECR (Elastic Container Registry)Amazon S3 (storage)Amazon IAM (Identity and Access Management)Amazon\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/02\/aws.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":29051,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/12\/07\/12-best-api-monitoring-tools-for-your-business\/","url_meta":{"origin":28468,"position":3},"title":"12 Best API Monitoring Tools for Your Business","author":"Leonid Mamchenkov","date":"December 7, 2018","format":false,"excerpt":"\"12 Best API Monitoring Tools for Your Business\" lists a bunch of services that are useful for the monitoring of your API.\u00a0 Read the whole thing for more details.\u00a0 Here's the list of the services covered: Amazon CloudWatchRigorUptrendsAssertibleBlazeMeterAppDynamicsNew RelicAPI FortressTraceviewRapidSpikeAgilityWorksAPI Science","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/12\/api.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/12\/api.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/12\/api.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":25090,"url":"https:\/\/mamchenkov.net\/wordpress\/2015\/12\/28\/5-aws-mistakes-you-should-avoid\/","url_meta":{"origin":28468,"position":4},"title":"5 AWS mistakes you should avoid","author":"Leonid Mamchenkov","date":"December 28, 2015","format":false,"excerpt":"\"5 AWS mistakes you should avoid\" is a rather opinionated piece on what you should and shouldn't do with your infrastructure, especially, when using AWS. \u00a0Here's an example: A typical web application consists of at least: load balancer scalable web backend database and looks like the following figure. This pattern\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"typical-web-application","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/12\/typical-web-application-500x298.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":29173,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/01\/04\/serverless-php-on-aws-lambda\/","url_meta":{"origin":28468,"position":5},"title":"Serverless PHP on AWS Lambda","author":"Leonid Mamchenkov","date":"January 4, 2019","format":false,"excerpt":"For all those of you who want to try out Amazon Lambda with PHP, here's a quick and simple guide as to how to set it up: Serverless PHP on AWS Lambda. This is some pretty exciting stuff!","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/01\/2019sls-deploy.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/01\/2019sls-deploy.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/01\/2019sls-deploy.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/01\/2019sls-deploy.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/01\/2019sls-deploy.png?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/28468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=28468"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/28468\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=28468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=28468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=28468"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=28468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}