{"id":2125,"date":"2019-06-21T12:11:42","date_gmt":"2019-06-21T12:11:42","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=2125"},"modified":"2024-03-29T12:33:24","modified_gmt":"2024-03-29T12:33:24","slug":"get-started-with-aws-lambda","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/","title":{"rendered":"Get Started with AWS Lambda"},"content":{"rendered":"<h1><span style=\"color: #ff6600;\"><strong>How to Get Started with AWS Lambda?<\/strong><\/span><\/h1>\n<p>&nbsp;<\/p>\n<p>Get Started with AWS Lambda, in this Tutorial one, you can learn Get Started with AWS Lambda. Are you the one who is looking for the best platform which provides information about getting started with AWS Lambda? Or the one who is looking forward to taking the advanced Certification Course from India\u2019s Leading <a href=\"https:\/\/prwatech.in\/aws-training-institute-in-pune\/\">AWS Training institute<\/a>? Then you\u2019ve landed on the Right Path.<\/p>\n<p>&nbsp;<\/p>\n<p>The Below mentioned Tutorial will help to Understand the detailed information about getting started with AWS Lambda, so Just Follow All the Tutorials of India\u2019s Leading <a href=\"https:\/\/prwatech.in\/aws-training-institute-in-pune\/\">Best AWS Training institute<\/a> and Be a Pro AWS Developer.<\/p>\n<p><strong>\u00a0<\/strong>To get started with AWS Lambda, use the Lambda console to create a function. In a few minutes, you can create a function, invoke it, and verify details like view logs, metrics, and trace data.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u00a0<\/strong>To use AWS Lambda and other AWS services, you need an AWS account. If you don&#8217;t have an AWS Account, visit\u00a0<a href=\"https:\/\/aws.amazon.com\/\">amazon.com<\/a> and choose to\u00a0<strong>Create an AWS Account<\/strong>.<\/p>\n<p>As a best practice, you should also create an <a href=\"https:\/\/prwatech.in\/blog\/aws\/aws-identity-and-access-management-iam\/\">AWS Identity and Access Management (IAM)<\/a> User with administrator permissions and use that for all work that does not require root credentials.<\/p>\n<p>Run a Serverless &#8220;<span style=\"color: #ff0000;\">Hello, World!<\/span>&#8221; or \u201c<span style=\"color: #ff0000;\">Hello Prwatech<\/span>\u201d With AWS Lambda<\/p>\n<p>In the following steps given below, you will learn the basics of running code on AWS Lambda without provisioning or managing servers. We will also walk through how to create a \u201c<span style=\"color: #ff0000;\">Hello World<\/span>\u201d Lambda function using the AWS Lambda console.<\/p>\n<p>AWS Lambda comes under\u00a0<a href=\"https:\/\/aws.amazon.com\/free\/\">free tier<\/a>\u00a0eligible.<\/p>\n<h3><span style=\"color: #ff6600;\">Step 1: Enter the Lambda Console:<\/span><\/h3>\n<p>When you\u00a0open the AWS Management Console find\u00a0Lambda\u00a0under\u00a0<strong><em>Compute<\/em><\/strong><em>\u00a0<\/em>and click to open the AWS Lambda Console.<\/p>\n<p>Blueprints provide sample\/example code to do some minimal processing. Most blueprints process events from specific event sources, such as AWS S3, AWS DynamoDB, or a custom application.<\/p>\n<h2><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2126\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al1.jpg\" alt=\"Get Started with AWS Lambda\" width=\"850\" height=\"436\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al1.jpg 769w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al1-300x154.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al1-768x393.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/h2>\n<h3><span style=\"color: #ff6600;\">Step 2: Select a Lambda Blueprint:<\/span><\/h3>\n<p><strong>a)<\/strong> In the AWS Lambda console, select\u00a0<span style=\"color: #000000;\"><strong>Create a Function<\/strong><\/span>.<\/p>\n<p><strong>Note:<\/strong> The console shows this\u00a0page only if you do not have any Lambda functions created on your own. If you have created functions already, you will see the\u00a0<em>Lambda &gt; Functions<\/em>\u00a0page. On the list page, choose to\u00a0<em>Create a function<\/em>\u00a0to go to the Create function page then select blueprints.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2127\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al2.jpg\" alt=\"Get Started with AWS Lambda\" width=\"850\" height=\"475\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al2.jpg 787w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al2-300x168.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al2-768x429.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><strong>b)<\/strong> Select\u00a0Blueprints.<\/p>\n<p><strong>c)<\/strong> In the Filter box, type in\u00a0<em>hello-world-python\u00a0<\/em>in the text box given below and select the hello-world-python blueprint.<\/p>\n<p><strong>d)<\/strong> Then click\u00a0<span style=\"color: #000000;\"><strong>Configure.<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2128\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al3.jpg\" alt=\"Get Started with AWS Lambda\" width=\"850\" height=\"458\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al3.jpg 802w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al3-300x162.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al3-768x414.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<h3><span style=\"color: #ff6600;\"><strong>Step 3: Configure and Create Your AWS Lambda Function<\/strong><\/span><\/h3>\n<p>AWS Lambda function consists of code you provide, associated dependencies, and configuration. The configuration information you provide includes the compute resources you want to allocate (for example, memory), execution timeout, and an IAM role that AWS Lambda can assume to execute your Lambda function on your behalf.<\/p>\n<p><strong>a)<\/strong> You will now enter\u00a0<em>Basic Information\u00a0<\/em>about your Lambda function.<\/p>\n<h3><span style=\"color: #ff6600;\"><strong>Basic Information:<\/strong><\/span><\/h3>\n<p><strong>\u00a0\u2666\u00a0Function Name:<\/strong> You can name your Lambda function here. For this tutorial, <strong><span style=\"color: #000000;\">enter\u00a0<em>hello-world-python<\/em>.<\/span><\/strong><\/p>\n<p><strong>\u00a0Execution Role:<\/strong> You will create an IAM role (referred to as the execution role) with the necessary permissions that AWS Lambda can assume to invoke your Lambda function on your behalf. Select <span style=\"color: #000000;\"><strong><em>Create a new role from template(s).<\/em><\/strong><\/span><\/p>\n<p><strong>\u00a0\u2666\u00a0Role name:<\/strong> type\u00a0lambda_basic_execution in the text box as given below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2129\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al4.jpg\" alt=\"Get Started with AWS Lambda\" width=\"850\" height=\"505\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al4.jpg 769w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al4-300x178.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al4-768x456.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<h3><span style=\"color: #0000ff;\"><strong>Lambda Function Code:<\/strong><\/span><\/h3>\n<p><strong>\u00a0\u2666\u00a0<\/strong>In this section, you can review the example code authored in Python language.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2130\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al5.jpg\" alt=\"Get Started with AWS Lambda\" width=\"850\" height=\"300\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al5.jpg 780w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al5-300x106.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al5-768x271.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><strong>b)<\/strong> Go to the bottom of the page and select\u00a0Create Function.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2131\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al6.jpg\" alt=\"Get Started with AWS Lambda\" width=\"850\" height=\"120\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al6.jpg 767w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al6-300x42.jpg 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><strong>c) Runtime:\u00a0<\/strong>Currently, you can author your Lambda function code in Java, Node.js, C#, Go or Python languages. For this tutorial, leave this on\u00a0<em>Python 3.7<\/em>\u00a0as the runtime.<\/p>\n<p><strong>d) Handler:\u00a0<\/strong>You can specify a handler (a method\/function in your code) where AWS Lambda function can begin executing your code. AWS Lambda provides event data as input to this handler, which used for processes of the event.<\/p>\n<p>In this example, AWS Lambda Function identifies this from the code sample and this should be pre-populated with\u00a0<em>lambda_function.lambda_handler<\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2132\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al7.jpg\" alt=\"\" width=\"850\" height=\"523\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al7.jpg 771w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al7-300x184.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al7-768x472.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><strong>e)<\/strong> Scroll down to\u00a0configure your memory, timeout, and VPC settings. \u00a0For this tutorial, leave the default Lambda function configuration values.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2133\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al8.jpg\" alt=\"\" width=\"850\" height=\"440\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al8.jpg 763w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al8-300x155.jpg 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<h3><span style=\"color: #ff6600;\">Step 4: Invoke Lambda Function and Verify Results<\/span><\/h3>\n<p>The console shows the hello-world-python Lambda function &#8211; you can now test the function, verify results, and review the logs.<\/p>\n<p><strong>a)<\/strong> Select\u00a0Configure Test Event\u00a0from the drop-down menu from \u201cSelect a test event&#8230;&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2134\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al9.jpg\" alt=\"\" width=\"850\" height=\"476\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al9.jpg 772w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al9-300x168.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al9-768x430.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><strong>b)<\/strong> The editor pops up to enter an event to test your function.<\/p>\n<p><strong>\u00a0\u2666\u00a0<\/strong>Choose\u00a0<em>Hello World from<\/em>\u00a0the Sample event template list from the Input test event page.<\/p>\n<p><strong>\u00a0<\/strong>Type in an event name like<\/p>\n<p><strong>\u00a0\u2666\u00a0<\/strong>You can change the values in the sample JSON file, but don\u2019t change the event structure. For this tutorial, replace\u00a0<em>value1\u00a0<\/em>with\u00a0<em>hello, world!.<\/em><\/p>\n<h5><strong>Select\u00a0Create.<\/strong><\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2135\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al10.jpg\" alt=\"\" width=\"850\" height=\"429\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al10.jpg 804w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al10-300x151.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al10-768x388.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><strong>c)<\/strong> Select\u00a0Test<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2136\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al11.jpg\" alt=\"\" width=\"850\" height=\"261\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al11.jpg 776w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al11-300x92.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al11-768x236.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><strong>d)<\/strong> Upon successful execution, view the results in the console:<\/p>\n<p><strong>\u00a0\u2666<\/strong>The\u00a0Execution results\u00a0section verifies that the execution succeeded.<\/p>\n<p><strong>\u00a0<\/strong>In the\u00a0Summary\u00a0section, you can see the key information reported in the Log output.<\/p>\n<p><strong>\u00a0\u2666<\/strong>In the\u00a0Log output\u00a0section, you can see the logs generated by the Lambda function execution.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2137\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al12.jpg\" alt=\"\" width=\"850\" height=\"446\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al12.jpg 780w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al12-300x157.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al12-768x403.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<h3><span style=\"color: #ff6600;\">Step 5: Monitor Your Metrics<\/span><\/h3>\n<p>AWS Lambda automatically monitors Lambda functions and reports metrics through Amazon CloudWatch. To help you monitor your code as it executes, AWS Lambda automatically tracks the number of requests, the latency per request, and the number of requests resulting in an error and publishes the associated metrics.<\/p>\n<p><strong>a)<\/strong> Invoke the Lambda function a few more times by repeatedly clicking the <b>Test button<\/b>\u00a0then, it will generate the metrics that can be viewed in the next step.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2138\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al13.jpg\" alt=\"\" width=\"850\" height=\"304\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al13.jpg 803w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al13-300x107.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al13-768x274.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><strong>b)<\/strong> Select\u00a0Monitoring\u00a0to view the results.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2139\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al14.jpg\" alt=\"\" width=\"850\" height=\"478\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al14.jpg 771w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al14-300x169.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al14-768x432.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><strong>c)<\/strong> Scroll down to\u00a0view the metrics for your AWS Lambda function. \u00a0Lambda metrics are reported through Amazon CloudWatch. You can leverage these metrics to set custom alarms.<\/p>\n<p><strong>d)<\/strong> The Monitoring tab will show six CloudWatch metrics:\u00a0<em>Invocation count, Invocation duration, Invocation errors<\/em>,\u00a0<em>Throttled invocations, Iterator age, and DLQ errors.<\/em><\/p>\n<p><strong>e)<\/strong> With AWS Lambda, you pay for what you use. After you hit your AWS Lambda free tier limit, you are charged based on the number of requests for your functions (invocation count) and the time your code executes (invocation duration). \u00a0For more information, see\u00a0<a href=\"https:\/\/aws.amazon.com\/lambda\/pricing\/\">AWS Lambda Pricing<\/a>.<\/p>\n<h3><span style=\"color: #ff6600;\">Step 6: Delete the Lambda Function<\/span><\/h3>\n<p>While you will not get charge for keeping your Lambda function, you can easily delete it from the AWS Lambda console.<br \/>\n<strong>a)<\/strong> Select the\u00a0Actions\u00a0button and click\u00a0Delete Function.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2140\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al15.jpg\" alt=\"\" width=\"850\" height=\"478\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al15.jpg 773w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al15-300x169.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al15-768x432.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><strong>Before you delete the function<\/strong>, you can change the values in the sample JSON, but don\u2019t change the event structure. For this tutorial, replace\u00a0<em>value1\u00a0<\/em>with\u00a0<strong><span style=\"color: #000000;\">Hello, Prwatech!<\/span><\/strong><\/p>\n<p>For that, you have to click on <strong>select a test event<\/strong> and next click on <strong>configure event<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2141\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al16.jpg\" alt=\"Get Started with AWS Lambda\" width=\"850\" height=\"480\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al16.jpg 762w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al16-300x169.jpg 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>Replace\u00a0<em>value1\u00a0<\/em>with\u00a0<span style=\"color: #000000;\"><strong>Hello, Prwatech! <\/strong><\/span>As given below to return the result by your function execution.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2142\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al17.jpg\" alt=\"Started with AWS Lambda\" width=\"850\" height=\"548\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al17.jpg 774w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al17-300x193.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al17-768x495.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2143\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al18.jpg\" alt=\"\" width=\"850\" height=\"444\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al18.jpg 777w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al18-300x157.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al18-768x401.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p>When you have to delete function click on Actions and click delete<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2144\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al19.jpg\" alt=\"\" width=\"850\" height=\"458\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al19.jpg 779w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al19-300x162.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al19-768x414.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p><strong>b)<\/strong> You will be ask to confirm your termination &#8211; <strong><span style=\"color: #000000;\">select the Delete function.<\/span><\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2145\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al20.jpg\" alt=\"\" width=\"850\" height=\"247\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al20.jpg 771w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al20-300x87.jpg 300w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al20-768x223.jpg 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"color: #0000ff;\"><strong>Congratulations!<\/strong><\/span><\/p>\n<p>You have created your first<span style=\"color: #000000;\"> AWS Lambda function<\/span>. This is your first step in learning how to run applications without needing to provision or manage servers. Lambda automatically scales your applications by running your code in response to each trigger, scaling precisely with the size of your workloads.<\/p>\n<p>I hope you have learned how to create <span style=\"color: #000000;\">AWS Lambda function and understand how AWS Lambda helps you run code without thinking of servers.<\/span><\/p>\n<h5 style=\"text-align: center;\"><strong><span style=\"color: #0000ff;\"># Last but not least, always asks for help!<\/span><\/strong><\/h5>\n","protected":false},"excerpt":{"rendered":"<p>How to Get Started with AWS Lambda? &nbsp; Get Started with AWS Lambda, in this Tutorial one, you can learn Get Started with AWS Lambda. Are you the one who is looking for the best platform which provides information about getting started with AWS Lambda? Or the one who is looking forward to taking the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,1660],"tags":[1808,1806,1807,366,1804,1805],"class_list":["post-2125","post","type-post","status-publish","format-standard","hentry","category-aws","category-aws-lambda","tag-aws-lambda-tutorial-for-beginners","tag-building-your-first-aws-lambda-function","tag-create-a-serverless-function-with-aws-lambda","tag-get-started-with-aws-lambda","tag-run-a-serverless-hello","tag-world-with-aws-lambda"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Get Started with AWS Lambda? - Prwatech Bangalore<\/title>\n<meta name=\"description\" content=\"To get started with AWS Lambda, use the Lambda console to create a function. In a few minutes, you can create a function, invoke it, and verify details.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Get Started with AWS Lambda? - Prwatech Bangalore\" \/>\n<meta property=\"og:description\" content=\"To get started with AWS Lambda, use the Lambda console to create a function. In a few minutes, you can create a function, invoke it, and verify details.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-21T12:11:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-29T12:33:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al1.jpg\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/\",\"url\":\"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/\",\"name\":\"How to Get Started with AWS Lambda? - Prwatech Bangalore\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al1.jpg\",\"datePublished\":\"2019-06-21T12:11:42+00:00\",\"dateModified\":\"2024-03-29T12:33:24+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"To get started with AWS Lambda, use the Lambda console to create a function. In a few minutes, you can create a function, invoke it, and verify details.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al1.jpg\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al1.jpg\",\"width\":769,\"height\":394},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Started with AWS Lambda\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Get Started with AWS Lambda? - Prwatech Bangalore","description":"To get started with AWS Lambda, use the Lambda console to create a function. In a few minutes, you can create a function, invoke it, and verify details.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"How to Get Started with AWS Lambda? - Prwatech Bangalore","og_description":"To get started with AWS Lambda, use the Lambda console to create a function. In a few minutes, you can create a function, invoke it, and verify details.","og_url":"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2019-06-21T12:11:42+00:00","article_modified_time":"2024-03-29T12:33:24+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al1.jpg","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/","url":"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/","name":"How to Get Started with AWS Lambda? - Prwatech Bangalore","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al1.jpg","datePublished":"2019-06-21T12:11:42+00:00","dateModified":"2024-03-29T12:33:24+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"To get started with AWS Lambda, use the Lambda console to create a function. In a few minutes, you can create a function, invoke it, and verify details.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al1.jpg","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/06\/al1.jpg","width":769,"height":394},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/aws\/aws-lambda\/get-started-with-aws-lambda\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Get Started with AWS Lambda"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/2125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=2125"}],"version-history":[{"count":11,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/2125\/revisions"}],"predecessor-version":[{"id":11199,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/2125\/revisions\/11199"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=2125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=2125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=2125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}