All about Aws Lambda

priyanka kumari
4 min readOct 20, 2023

--

Hii folk

🚀 Excited to share day 14 of comprehensive 30 days of AWSlearning path 🎮🎉👇

Welcome to Day 14 of our comprehensive 30-day aws learning path! In today’s session, we’ll be delving into the fascinating world of cloud AWS lambda commands . By the end of this lesson, we’ll have a solid understanding of cloud how it’s functions

Our goal is to focus on fundamentals then identify and learn the most commonly used services first and learn specialized services on a need to know basis.

Introduction of Aws lambda

AWS lambda is compute service that runs your code in response to event and automatically manages the compute resources ,making it the fastest way to turn idea into modern ,production ,serverless application

· It is platform as a services

· It supports only limited languages like node js,python,java,c#,ruby, go and PowerShell

· You cannot log into compute instance choose customized or language platform

· Aws lambda runs your code on a high-availability compute infrastructure

· Aws lambda execute your code only when need and scale automatically from the few request per day to thousand per second

· You pay only for the compute time you consume no charges when your code is not running

When To Use Lambda?

AWS lambda is very helpful when you know how to write code but you don’t know how to provision the underlying infrastructure in AWS. AWS lambda will scale up the applications rapidly when there is sudden incoming traffic and scale down to zero when the incoming traffic is reduced.

AWS Lambda Key Features

1. AutoScaling and High Availability: AWS lambda will make sure that your application was highly available to the end users when there is sudden incoming traffic. High availability can be achieved by scaling the application.

2. Serverless Execution: There is no need for provisioning the servers manually in AWS. AWS lambda will provision the underlying infrastructure based on the triggers you are mentioned whenever a new file uploaded to a particular then AWS lambda will automatically trigger and takes care of the infrastructure.

3. Pay-per-use-pricing: AWS will charge you only for the time that time compute engine was active. AWS bills you based on the time taken to execute the code.

4. Supports different programming languages: AWS lambda function will support different programming languages. You can build the function with the language at your convenience. Following are some languages supported by AWS lambda:

1. Python.

2. Node.js.

3. Java.

4. C#.

5. PowerShell.

6. Go.

5. Integrates with other AWS Services: AWS lambda can be integrated with different AWS services like the following :

1. API Gateway

2. DynamoDB

3. S3

4. Step Functions

5. SNS

6. SQS.

6. Versioning and Deployment: AWS lambda function will maintain the different kinds of versions of the code by which you can change between the versions without any disruptions y based on the application performances.

7. Security and Identity Management: AWS lambda will leverage AWS Identity and Access Management (IAM) to control the access to the functions which are built by using lambda You can define fine-grained permissions and policies to secure your functions and ensure that only authorized entities can invoke them

How lambda work ?

· First you upload your circle to lambda in one and more lambda function

· Aws lambda will then execute the code in your behalf

· After the code is invoked ,lambda automatically take care of provisioning and managing the required server

Steps for Creating AWS Lambda Functions using the AWS Console

Step 1: Log in to your AWS console and search for Lambda. As shown in the following image.

Step 2: Click on Create function.

step 3: Here we are going to use a sample hello world program by using Author from scratch and configure the details according to your requirement.

Step 4: Successfully our function is created.

Thanks for reading

I hope found this useful?

✅Reshare this with others so that it helps more people

✅Tag your colleagues and friends who you think will need this

--

--

priyanka kumari
priyanka kumari

Written by priyanka kumari

Cloud || Devops enthusiast|| Learning & helping

No responses yet