...

Cloud Computing - AWS Developer Associate

Back to Course

Lesson Description


Lession - #1340 AWS Understanding Lambda Function


How does the lambda work in AWS?

AWS Lambda allows you to run code without provisioning or overseeing servers. You pay just for the figure time you consume - there is no charge when your code isn't running. With Lambda, you can run code for practically any kind of use or backend administration - all with zero organization.

Create the function

You make a Node.js Lambda work utilizing the Lambda console. Lambda naturally makes default code for the capacity.

To make a Lambda work with the control center

1. Open the Functions page of the Lambda console.
2. Pick Create function.
3. Under Basic data, do the accompanying:
  • For Function name, enter my-work.
  • For Runtime, affirm that Node.js 14.x is chosen. Note that Lambda gives runtimes to .NET (PowerShell, C#>
    , Go, Java, Node.js, Python, and Ruby.

4. Pick Create work.

Lambda makes a Node.js work and an execution job that concedes the capacity consent to transfer logs. The Lambda work accepts the execution job when you summon your capacity, and utilizations the execution job to make certifications for the AWS SDK and to peruse information from occasion sources.