DEV Community

Aadit Unni
Aadit Unni

Posted on • Edited on

Create a Lambda to do Arithmetic Operations

[2/100] #100DaysOfCloud Today, I created an AWS Lambda with a language of your choice to do arithmetic operations on 2 numbers supplied as input and return the result.

Lambda:

  • With AWS Lambda, you can run code without provisioning or managing servers. You pay only for the compute time that you consume—there's no charge when your code isn't running. You can run code for virtually any type of application or backend service—all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app.

  • AWS Lambda natively supports Java, Go, PowerShell, Node. js, C#, Python, and Ruby code, and provides a Runtime API which allows you to use any additional programming languages to author your functions.

  • You can configure the amount of memory allocated to a Lambda function, between 128 MB and 10,240 MB.

  • Lambda supports two types of deployment packages: container images and . zip file archives.

You can try to do create a Lambda function and do arithmetic operations on two numbers by following the steps from the below link.

GitHub

Top comments (0)