In the world of computing now a new buzzword has attracted customer traction i.e Serverless computing. You can even call it as Serverless function or Function as a service (Fass). Almost all cloud vendors are providing options for serverless computing. On AWS it is called as Lambda, on Azure it is called as Azure function, on Google it is called Cloud Function. More or less they provide similar set of features. In this post, we will try to explain about AWS Lambda service. We will be going to see what it does, features, billing and some usecases where AWS Serverless Service Lambda can be utilized. But before diving into it let’s first try to understand the term Serverless.
What is Serverless computing and why it is called serverless?
Serverless computing is a new type of computing in which you do not need to launch any server or vm, you just need to create your function and upload them. We are sure the above statement may sound odd to you, you must be thinking where your function gets uploaded if there is no server or vm and also there is no language runtime so how your functions will execute. Let’s solve this puzzle of serverless, actually in reality your function gets hosted and executes on containers which are running on some underlying hosts. You do not have to worry about launching anything, it is just care by automation provided by your cloud service provider. So in reality it is not actually serverless, the only thing is that layer is hidden from you. You are only responsible for creating and uploading your function in the language runtime technologies that the serverless service supports.
- Lambda provides serverless infrastructure.
- It lets you run code without provisioning or managing server.
- You will be charged for only compute time you consume. You will not be charged when your code is not running.
- Language runtimes supported by lambda Python, Ruby, Nodejs, GO, PowerShell, C#.
- AWS takes care of managing patching the infrastructure required to run lambda functions.
- Your code runs in completely isolated environment with its own resources and file system.
- Lambda keeps your code stored on S3 with encryption at rest. Additional integrity checks are performed for code in use.