AWS Lambda

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:

 

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:

  1. Amazon Elastic Compute Cloud (EC2)
  2. Amazon Lightsail
  3. Amazon Elastic Container Service (ECS)
  4. Amazon Elastic Container Registry (ECR)
  5. Amazon Elastic Kubernetes Service (EKS)
  6. AWS Lambda
  7. AWS Fargate
  8. AWS Outposts
  9. AWS Wavelength
  10. VMware Cloud on AWS
  11. AWS Local Zones
  12. Amazon EC2 Spot Instances
  13. Amazon EC2 Autoscaling
  14. AWS Batch
  15. AWS Compute Optimizer
  16. AWS Elastic Beanstalk
  17. EC2 Image Builde
LEARN

Your Guide to Surviving (and Winning) at ML Implementation

EBOOK

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.