At AWS re:Invent, Amazon Web Services (AWS) has announced AWS Lambda, a compute service that runs developers’ code in response to events and automatically manages the compute resources for them, making it easy to build and manage applications that respond quickly to new information.
AWS Lambda starts running code within milliseconds of an event such as an image upload, in-app activity, website click, or output from a connected device. Developers can also use AWS Lambda to create new back-end services where compute resources are automatically triggered based on custom requests.
Developers pay only for the requests served and compute time required to run their code. AWS Lambda charges for compute time in increments of 100 milliseconds, making it cost-effective and easy to scale apps to whatever number of requests are required.
To learn more about AWS Lambda, visit http://aws.amazon.com/lambda.
JavaScript Code
AWS Lambda provides a high-performance computational platform which runs functions in code in response to changes in data, without the need to provision or manage a single virtual server. Customers write simple JavaScript code to take action on an event and upload it to AWS Lambda. Within milliseconds of a change in data, AWS Lambda responds by spinning up the appropriate compute resources to perform the action. It automatically scales to millions of requests, spreading across multiple Availability Zones if needed.
“AWS Lambda changes the way developers design and scale their dynamic applications in the cloud,” said Marco Argenti, Vice President, Mobile, Amazon Web Services. “With AWS Lambda, developers can quickly, easily, and cost-effectively write applications that respond to changes in data or the environment, creating new opportunities to deliver dynamic customer experiences.”
AWS Lambda works with any third-party library, including native ones, so developers don’t have to learn any new languages, tools, or frameworks. Developers can edit functions directly within AWS Lambda, which means they can instantly update an application without having to compile edits, build changes, and then redeploy the application.