AWS Lambda architecture brings serverless to enterprise cloud
A comprehensive collection of articles, videos and more, hand-picked by our editors
Amazon Web Services introduced Lambda to handle a variety of external events and anonymous functions without having...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
to package every line of code within the same application.
In traditional software development, every input handler, error handling routine or other feature is coded into the application. By moving some features out of the main application and into functions, the actual application is often smaller and less expensive to run -- and can even run in a smaller instance. When that entire app is mounted on a VM instance, it requires more memory and processing resources. It also might require a larger VM instance, which can quickly translate into higher operational expenses. Worse still, some of that program's functions may be used only rarely or never at all.
AWS Lambda allows developers to code and run various functions in response to specific events on an as-needed basis. For example, Lambda lets you build a function that can respond to customer requests, file transfers, Web clicks, database updates, storage changes, messaging streams, API call logs and so on. The function starts up, runs and then stops, using only the compute resources needed for that particular event. This means the application core is smaller, more efficient and less costly to operate.
Running cloud workloads on-demand is an easy way to mitigate costs. Lambda drills down further by enabling workload functions to be broken up so companies pay only for each function as it runs. AWS Lambda runs the function within a few milliseconds of the event, allocates the computing resource and bills in increments of 100 milliseconds. This makes the Lambda approach extremely scalable because the function can run tens of millions of times per month.
Deciding if AWS Lambda is a good option for your enterprise depends on your application development and cloud service needs. Services like AWS Elastic Compute Cloud (EC2) are designed for traditional cloud application instances -- where users have full control over the instance and its environment. EC2 obligates users to provision, monitor and manage each instance themselves. AWS Lambda runs code in response to specific events, which can be triggered from within the AWS environment or from individual applications. When an event occurs, Lambda automatically provisions, executes, monitors and logs associated code.
AWS Lambda aims to shear time off cloud development
Tips on leveraging Lambda expressions
AWS Lambda helps IT pros avoid management overhead
Related Q&A from Stephen J. Bigelow
One size does not fit all when administrators develop a protection policy for specific applications. Learn about the configuration options in System ...continue reading
Set up and operate a VM network using proven strategies to ensure security and performance. With a little planning, virtualization admins can avoid ...continue reading
Virtual switch security is achieved through a number of features. Virtualization admins can create and enforce policies, lock down MAC addresses and ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.