{"id":16005,"date":"2014-11-14T03:06:25","date_gmt":"2014-11-13T21:36:25","guid":{"rendered":"https:\/\/tothenewco.pro\/blog\/?p=16005"},"modified":"2015-08-04T11:58:36","modified_gmt":"2015-08-04T06:28:36","slug":"aws-lambda-walk-through","status":"publish","type":"post","link":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/","title":{"rendered":"AWS Lambda walk-through"},"content":{"rendered":"<p>Amazon has a trait of keep on surprising us with it&#8217;s extremely impressive services that makes our life a lot easier. In AWS re:invent 2014, it launches loads of astonishing services, including a preview of AWS Lambda, a service that would reduce loads of our efforts to build applications that run in the Cloud.<\/p>\n<p>AWS Lambda is a compute service that requires zero-administration, it gives you freedom from launching, configuring or monitoring an EC2 instance, it runs your code in response to events and automatically manages the compute resources for you. You just need to create a Lambda function, give it permission to access specific AWS resources, and then connect the function to your AWS resources. Whenever objects uploaded to Amazon Simple Storage Service (S3) buckets are modified, messages arrived in Amazon Kinesis streams, or tables are updated in Amazon DynamoDB, Lambda will automatically run the code.<\/p>\n<p>Let us walk through an example to get <a title=\"Introduction To AWS LAMBDA\" href=\"https:\/\/tothenewco.pro\/blog\/introduction-to-aws-lambda\/\">an overview of Lambda<\/a>, suppose you want to execute a function whenever your S3 buckets are modified. In order to do so, you have to follow below steps :<\/p>\n<ul>\n<li>Create your desired function in <a title=\"Node.js Development\" href=\"https:\/\/tothenewco.pro\/mean-node-js-development-consulting\">Node.js<\/a><\/li>\n<li>Create a zip file of it<\/li>\n<li>Upload that zip file to AWS Lambda, creating the Lambda function.<\/li>\n<li>Once you&#8217;re done with your code, you need to create an IAM role for Lambda and S3, that can assume to invoke your Lambda function<\/li>\n<li>After that, configure notifications to the Bucket, publishing events of the S3 bucket to Lambda.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>Now if you will modify your s3 bucket, bucket notification will publish events to Lambda and Lambda then executes the function you&#8217;ve created on your behalf.<\/p>\n<p>Similarly, you can use Lambda function with other AWS services. When a resource changes, Lambda will execute any functions that are associated with it. It will launch and manage compute resources on your behalf<\/p>\n<p>&nbsp;<\/p>\n<p>Thanks<br \/>\n\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2013<br \/>\nNikhil Kumar Sharma<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Amazon has a trait of keep on surprising us with it&#8217;s extremely impressive services that makes our life a lot easier. In AWS re:invent 2014, it launches loads of astonishing services, including a preview of AWS Lambda, a service that would reduce loads of our efforts to build applications that run in the Cloud. AWS [&hellip;]<\/p>\n","protected":false},"author":124,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":4,"footnotes":""},"categories":[1174],"tags":[1545,1546],"class_list":["post-16005","post","type-post","status-publish","format-standard","hentry","category-aws-2","tag-lambda","tag-reinvent-2014"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Amazon has a trait of keep on surprising us with it&#039;s extremely impressive services that makes our life a lot easier. In AWS re:invent 2014, it launches loads of astonishing services, including a preview of AWS Lambda, a service that would reduce loads of our efforts to build applications that run in the Cloud. AWS\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Nikhil Kumar Sharma\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/\" \/>\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=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"AWS Lambda walk-through | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Amazon has a trait of keep on surprising us with it&#039;s extremely impressive services that makes our life a lot easier. In AWS re:invent 2014, it launches loads of astonishing services, including a preview of AWS Lambda, a service that would reduce loads of our efforts to build applications that run in the Cloud. AWS\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\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=\"AWS Lambda walk-through | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Amazon has a trait of keep on surprising us with it&#039;s extremely impressive services that makes our life a lot easier. In AWS re:invent 2014, it launches loads of astonishing services, including a preview of AWS Lambda, a service that would reduce loads of our efforts to build applications that run in the Cloud. AWS\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/tothenewco.pro\/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\\\/aws-lambda-walk-through\\\/#article\",\"name\":\"AWS Lambda walk-through | TO THE NEW Blog\",\"headline\":\"AWS Lambda walk-through\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nikhil-sharma\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2014-11-14T03:06:25+05:30\",\"dateModified\":\"2015-08-04T11:58:36+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-lambda-walk-through\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-lambda-walk-through\\\/#webpage\"},\"articleSection\":\"AWS, lambda, re:invent 2014\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-lambda-walk-through\\\/#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\\\/aws-lambda-walk-through\\\/#listItem\",\"name\":\"AWS Lambda walk-through\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-lambda-walk-through\\\/#listItem\",\"position\":3,\"name\":\"AWS Lambda walk-through\",\"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\\\/nikhil-sharma\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nikhil-sharma\\\/\",\"name\":\"Nikhil Kumar Sharma\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-lambda-walk-through\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/910a28868c1246d9bb93ff99e7b41d629230d6d8c48e9e245788b833039ff175?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Nikhil Kumar Sharma\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-lambda-walk-through\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-lambda-walk-through\\\/\",\"name\":\"AWS Lambda walk-through | TO THE NEW Blog\",\"description\":\"Amazon has a trait of keep on surprising us with it's extremely impressive services that makes our life a lot easier. In AWS re:invent 2014, it launches loads of astonishing services, including a preview of AWS Lambda, a service that would reduce loads of our efforts to build applications that run in the Cloud. AWS\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-lambda-walk-through\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nikhil-sharma\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nikhil-sharma\\\/#author\"},\"datePublished\":\"2014-11-14T03:06:25+05:30\",\"dateModified\":\"2015-08-04T11:58:36+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":"AWS Lambda walk-through | TO THE NEW Blog","description":"Amazon has a trait of keep on surprising us with it's extremely impressive services that makes our life a lot easier. In AWS re:invent 2014, it launches loads of astonishing services, including a preview of AWS Lambda, a service that would reduce loads of our efforts to build applications that run in the Cloud. AWS","canonical_url":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/#article","name":"AWS Lambda walk-through | TO THE NEW Blog","headline":"AWS Lambda walk-through","author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/nikhil-sharma\/#author"},"publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"},"datePublished":"2014-11-14T03:06:25+05:30","dateModified":"2015-08-04T11:58:36+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/#webpage"},"isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/#webpage"},"articleSection":"AWS, lambda, re:invent 2014"},{"@type":"BreadcrumbList","@id":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","position":1,"name":"Home","item":"https:\/\/tothenewco.pro\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/aws-2\/#listItem","name":"AWS"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/aws-2\/#listItem","position":2,"name":"AWS","item":"https:\/\/tothenewco.pro\/blog\/category\/aws-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/#listItem","name":"AWS Lambda walk-through"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/#listItem","position":3,"name":"AWS Lambda walk-through","previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/aws-2\/#listItem","name":"AWS"}}]},{"@type":"Organization","@id":"https:\/\/tothenewco.pro\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/tothenewco.pro\/blog\/"},{"@type":"Person","@id":"https:\/\/tothenewco.pro\/blog\/author\/nikhil-sharma\/#author","url":"https:\/\/tothenewco.pro\/blog\/author\/nikhil-sharma\/","name":"Nikhil Kumar Sharma","image":{"@type":"ImageObject","@id":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/910a28868c1246d9bb93ff99e7b41d629230d6d8c48e9e245788b833039ff175?s=96&d=mm&r=g","width":96,"height":96,"caption":"Nikhil Kumar Sharma"}},{"@type":"WebPage","@id":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/#webpage","url":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/","name":"AWS Lambda walk-through | TO THE NEW Blog","description":"Amazon has a trait of keep on surprising us with it's extremely impressive services that makes our life a lot easier. In AWS re:invent 2014, it launches loads of astonishing services, including a preview of AWS Lambda, a service that would reduce loads of our efforts to build applications that run in the Cloud. AWS","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/#breadcrumblist"},"author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/nikhil-sharma\/#author"},"creator":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/nikhil-sharma\/#author"},"datePublished":"2014-11-14T03:06:25+05:30","dateModified":"2015-08-04T11:58:36+05:30"},{"@type":"WebSite","@id":"https:\/\/tothenewco.pro\/blog\/#website","url":"https:\/\/tothenewco.pro\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"AWS Lambda walk-through | TO THE NEW Blog","og:description":"Amazon has a trait of keep on surprising us with it's extremely impressive services that makes our life a lot easier. In AWS re:invent 2014, it launches loads of astonishing services, including a preview of AWS Lambda, a service that would reduce loads of our efforts to build applications that run in the Cloud. AWS","og:url":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/","og:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"AWS Lambda walk-through | TO THE NEW Blog","twitter:description":"Amazon has a trait of keep on surprising us with it's extremely impressive services that makes our life a lot easier. In AWS re:invent 2014, it launches loads of astonishing services, including a preview of AWS Lambda, a service that would reduce loads of our efforts to build applications that run in the Cloud. AWS","twitter:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"16005","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","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-29 15:05:50","updated":"2024-02-29 09:26:22","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:\/\/tothenewco.pro\/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:\/\/tothenewco.pro\/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\tAWS Lambda walk-through\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tothenewco.pro\/blog"},{"label":"AWS","link":"https:\/\/tothenewco.pro\/blog\/category\/aws-2\/"},{"label":"AWS Lambda walk-through","link":"https:\/\/tothenewco.pro\/blog\/aws-lambda-walk-through\/"}],"_links":{"self":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/16005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/users\/124"}],"replies":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/comments?post=16005"}],"version-history":[{"count":0,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/16005\/revisions"}],"wp:attachment":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/media?parent=16005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/categories?post=16005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/tags?post=16005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}