Curriculum
Course: AWS Cloud
Login

Curriculum

AWS Cloud

AWS Cloud Tutorial

0/103
Text lesson

AWS Lambda

Serverless Cloud Compute – AWS Lambda

AWS Lambda is a serverless compute service that allows you to run code without having to manage servers.

This enables you to focus on what matters most, like developing an excellent application.

You only pay for the compute time you actually use, meaning you are charged only when your code is running.

How AWS Lambda Works

Here are the high-level steps to understand the concept:

  1. Deploy your code to Lambda.
  2. Prepare the code to respond to an event trigger.
  3. The code runs only when it is triggered.
  4. You pay only for the time your code is running.

Example:

You can think of serverless computing like a car.

You start the car to reach your destination, and once you arrive, you turn it off.

You only consume fuel while driving.

Similarly, AWS Lambda operates on an on-demand basis; you only use resources when you run your code.

What is AWS Lambda?

Serverless computing abstracts the underlying infrastructure in the cloud, leading to reduced costs and fostering greater innovation.

AWS Lambda can be utilized to:

  • Build and deploy applications
  • Monitor and maintain applications

Back-End Code

You can execute back-end code using AWS Lambda.

Some popular back-end languages include:

  • Node.js – Learn Node.js
  • Python – Learn Python
  • Java – Learn Java
  • Kotlin – Learn Kotlin
  • C# – Learn C#