Menu
×
   ❮   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE
     ❯   

AWS Cloud Tutorial

AWS HOME AWS Intro AWS Cloud Certification AWS Get Started AWS Cloud Computing AWS Cloud Benefits AWS EC2 Intro AWS EC2 Instance Types AWS EC2 Pricing AWS EC2 Scaling AWS EC2 Auto Scaling AWS Elastic Load Balancing AWS Messaging AWS SNS AWS SQS AWS Serverless AWS Lambda AWS Containers AWS ECS AWS EKS AWS Fargate AWS First Recap AWS Infrastructure AWS Regions AWS Availability Zones AWS Edge Locations AWS Provision AWS Provision Services AWS Elastic Beanstalk AWS CloudFormation AWS Second Recap AWS Networking AWS Connectivity AWS Subnet and Access AWS Global Networking AWS Third Recap AWS Storage and DBs AWS Instance Stores AWS EBS AWS S3 AWS EBS vs S3 AWS Elastic File System AWS RDS AWS DynamoDB AWS DynamoDB vs RDS AWS Redshift AWS DMS AWS Additional DB Services AWS Fourth Recap AWS Cloud Security AWS Shared Responsibility AWS User Access AWS Organizations AWS Cloud Compliance AWS DDoS AWS Other Services AWS Fifth Recap AWS Monitoring and Analytics AWS CloudWatch AWS CloudTrail AWS TrustedAdvisor AWS Sixth Recap AWS Pricing and Support AWS Free Tier AWS Pricing Models AWS Billing Dashboard AWS Consolidated Billing AWS Budgets AWS Cost Explorer AWS Support Plans AWS Marketplace AWS Seventh Recap AWS Migration and Innovation AWS CAF AWS Migration Strategies AWS Snow Family AWS Innovation AWS Eight Recap AWS Cloud Journey AWS Well-Architected Framework AWS Cloud Benefits AWS Ninth Recap AWS Exam Preparation

AWS Examples

AWS Cloud Exercises AWS Cloud Quiz AWS Certificate

More AWS

AWS Machine Learning AWS Serverless

AWS Cloud Lambda


Serverless Cloud Compute - AWS Lambda

AWS Lambda a serverless compute service.

This service lets you run code without needing to think about servers.

It lets you focus on what's most important, such as making a great application.

You only pay for the compute time that you use.

Pay for what you use translates to that you only pay when your code is running.


How AWS Lambda Works

The high-level steps to understand the concept:

  1. Deploy your code to Lambda
  2. Make the code ready to trigger an event
  3. The code only runs when triggered
  4. Pay only when your code is running

Example:

You can look at serverless as a car.

You start the car to travel to your destination.

Once you are at the destination, you stop it.

You only used fuel when driving.

Lambda works in the same way. The use is on-demand when you run the code.


What is AWS Lambda?

Serverless computing helps abstract the infrastructure in the cloud.

As a result, it reduces costs and can help to increase innovation.

AWS Lambda can be used to:

  • Build and deploy apps
  • Monitor and maintain apps

Related reads:

Read more about AWS Lambda here
  

AWS and W3Schools offers free and paid Cloud Courses

Engage in a text and video based learning experience.

Free AWS training - Upskill today and reach for the Cloud.

Get started »


Back-End Code

You can run Back-End code with AWS Lambda.

Here are some popular Back-End languages:


AWS Cloud Exercises

Test Yourself With Exercises

Exercise:

What kind of service is AWS Lambda?

AWS Lambda is a   service

Start the Exercise


×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
[email protected]

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
[email protected]

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.

Copyright 1999-2024 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.