AWS Lambda was first introduced by AWS in 2014 and is still, even today, sending shockwaves through the IT and programming community. The original platform that started the concept of "serverless" websites and applications, Lambda is a powerful tool that allows microsecond usage of compute time - the ultimate on-demand computing. You can watch the original announcement of the platform by AWS CTO Werner Vogels at re:Invent here:
AWS Lambda
Applications of AWS Lambda
There are an endless number of useful functions you can leverage AWS Lambda for. It can be used on a cron to run an EBS snapshot backup routinely as well as snapshotting RDS and replicating snapshots to another region to facilitate disaster recovery. Lambda can also be built to run repeated jobs such as resizing images, reacting to AWS CloudWatch metrics, and actioning accordingly (rebooting systems with pegged CPU, etc), or hitting an analytics API and loading the parsed data into a data warehouse. It can also be used as a backend service for mobile applications that need to call databases, post data, and update files, but this might be better served by AWS Amplify.
- What products are individual customers most likely to purchase as an upsell?
- For content being posted by users can we use a machine to tell if it is objectionable (nudity, profanity, etc.)?
- Is there a way we can pull out themes and sentiments from large amounts of customer product reviews?
The build-your-own solution requires massive amounts of trial and error, overseen by teams of data scientists. Thankfully, this work has already been done by AWS and high-level algorithms (in these cases Personalize, Rekognition, and Comprehend) can simply be implemented and trained at a fraction of the cost and time.
Lambda Invocation
Because you only call it when you need it methods for invoking Lambdas are key. Invocation methods currently include:
- CloudWatch alerts
- Cron style invocation
- S3 triggers
- API Gateway triggers
- SES
Other methods exist and a full list of AWS services that can act as Lambda triggers can be found here.
Supported Languages
The languages supported in AWS Lambda at the time of this writing include:
- Node.js
- Java
- C#
- Python
- Go
To keep up to speed with supported languages for Lambda you can refer to the AWS Lambda FAQ.
Request your FREE Quote for your AWS Lambda-based project
Speak with our team to understand how Metal Toad can help you drive innovation, growth and success.
The AWS Compute Ecosystem
AWS Lambda is part of the broader AWS Compute ecosystem, which includes:
- Amazon Elastic Compute Cloud (EC2)
- Amazon Lightsail
- Amazon Elastic Container Service (ECS)
- Amazon Elastic Container Registry (ECR)
- Amazon Elastic Kubernetes Service (EKS)
- AWS Lambda
- AWS Fargate
- AWS Outposts
- AWS Wavelength
- VMware Cloud on AWS
- AWS Local Zones
- Amazon EC2 Spot Instances
- Amazon EC2 Autoscaling
- AWS Batch
- AWS Compute Optimizer
- AWS Elastic Beanstalk
- EC2 Image Builde
Your Guide to Surviving (and Winning) at ML Implementation
Get our free ebook on AWS Machine Learning
Our AWS Machine Learning Survival Guide provides the key insights you'll need to successfully navigate the adventure of ML implementation.