Skip to main content

AWS Lambda and the Serverless Cloud

AWS Lambda evolution and re:Invent 2015 news

Tim Wagner – general manager of AWS Lambda and AWS IoT at AWS – talked about how AWS Lambda – and the serverless cloud it spawned – have evolved since the service’s 2014 launch.

What AWS Lambda is and how it’s been evolving

First of all, AWS Lambda allows you to NOT think about servers. Which means you no longer have to deal with over/under capacity, deployments, scaling and fault tolerance, OS or language updates, metrics, and logging.

On the other hand, AWS Lambda lets you painlessly drop in your own code, run code in parallel, create backends, develop event handlers and data processing systems, and never pay for idle time.

In practice, AWS Lambda introduced a new serverless world, providing an event-driven scale with the flexibility of sub-second billing.

Back in November 2014, only S3, Amazon DynamoDB, and Kinesis were available for Lambda functions. Since then, plenty of other services have been integrated, like CloudFormation, SWF, CloudTrail, SES, Cognito, API Gateway, SNS, and CloudWatch. In this hands-on lab you learn how we can use the log stream functionality of CloudWatch to monitor the execution of a Lambda function.

Initially, only Node.js was supported, and Lambda functions had to be coded in JavaScript. Later, AWS added CORS support, mobile backends capabilities, sync calls and resource policies. Since this summer, new features and options have been available: Java support, S3 uploads, Tokyo region, and Alexa skills.

Blueprints from AWS partners have recently begun appearing to help you get started quickly by using sample configurations of events sources and Lambda functions.

AWS Lambda Cloudwatch Logs Processing

What’s new in AWS Lambda?

Werner Vogels highlighted recent Lambda-related updates during his second re:Invent Keynote in Las Vegas. Here are the new features Lambda now offers:

  • SES inbound rules for custom spam/virus checks.
  • CloudWatch Log processing to scan, audit, or index log entries in near real-time.
  • Python 2.7 support in all SDKs, CLI, and Console, including the latest SDK (version 1.1.3 of boto3).
  • Long-running functions  – from only 60 seconds up to 5 minutes.
  • Resource sizing between 23 power levels: compute price scales with the power level, the duration can range from 100ms to 5min. Keep in mind that AWS Free Tier includes 1M free requests and 400KGB-s/month.
  • Scheduled functions to enable periodic execution with a 5 min granularity (or by using cronjob syntax). For example, you could easily poll SQS or other data sources. CLI and SDK support will be available later this year.
  • Functions Versioning by using incremental integer versions, plus $LATEST and custom aliases, so you get total flexibility with versioning (both on API Gateway and Lambda).
  • IoT backends, to easily develop backends for your IoT applications.
  • VPC support for Lambda execution inside your own VPC. There is a new VpcConfig function configuration parameter. The execution takes just a bit longer, but you can finally access VPC resources such as RDS databases and local Memcached instances.

AWS Lambda versioning aliases
We are definitely looking forward to getting our hands of whatever is coming next for Lambda. If you want to deepen your understanding of how Lambda works, try Cloud Academy’s Understanding AWS Lambda course and read article AWS Lambda: an introduction and practical walkthrough.

Avatar

Written by

Alex Casalboni

Alex is a Software Engineer with a great passion for music and web technologies. He's experienced in web development and software design, with a particular focus on frontend and UX.

Related Posts

Sam Ghardashem
Sam Ghardashem
— May 15, 2019

Aviatrix Integration of a NextGen Firewall in AWS Transit Gateway

Learn how Aviatrix’s intelligent orchestration and control eliminates unwanted tradeoffs encountered when deploying Palo Alto Networks VM-Series Firewalls with AWS Transit Gateway.Deploying any next generation firewall in a public cloud environment is challenging, not because of the f...

Read more
  • AWS
Joe Nemer
Joe Nemer
— May 3, 2019

AWS Config Best Practices for Compliance

Use AWS Config the Right Way for Successful ComplianceIt’s well-known that AWS Config is a powerful service for monitoring all changes across your resources. As AWS Config has constantly evolved and improved over the years, it has transformed into a true powerhouse for monitoring your...

Read more
  • AWS
  • Compliance
Avatar
Francesca Vigliani
— April 30, 2019

Cloud Academy is Coming to the AWS Summits in Atlanta, London, and Chicago

Cloud Academy is a proud sponsor of the 2019 AWS Summits in Atlanta, London, and Chicago. We hope you plan to attend these free events that bring the cloud computing community together to connect, collaborate, and learn about AWS. These events are all about learning. You can learn how t...

Read more
  • AWS
  • AWS Summits
Paul Hortop
Paul Hortop
— April 2, 2019

How to Monitor Your AWS Infrastructure

The AWS cloud platform has made it easier than ever to be flexible, efficient, and cost-effective. However, monitoring your AWS infrastructure is the key to getting all of these benefits. Realizing these benefits requires that you follow AWS best practices which constantly change as AWS...

Read more
  • AWS
  • Monitoring
Joe Nemer
Joe Nemer
— April 1, 2019

AWS EC2 Instance Types Explained

Amazon Web Services’ resource offerings are constantly changing, and staying on top of their evolution can be a challenge. Elastic Cloud Compute (EC2) instances are one of their core resource offerings, and they form the backbone of most cloud deployments. EC2 instances provide you with...

Read more
  • AWS
  • EC2
Avatar
Nitheesh Poojary
— March 26, 2019

How DNS Works – the Domain Name System (Part One)

Before migrating domains to Amazon's Route53, we should first make sure we properly understand how DNS worksWhile we'll get to AWS's Route53 Domain Name System (DNS) service in the second part of this series, I thought it would be helpful to first make sure that we properly understand...

Read more
  • AWS
Avatar
Stuart Scott
— March 14, 2019

Multiple AWS Account Management using AWS Organizations

As businesses expand their footprint on AWS and utilize more services to build and deploy their applications, it becomes apparent that multiple AWS accounts are required to manage the environment and infrastructure.  A multi-account strategy is beneficial for a number of reasons as ...

Read more
  • AWS
  • Identity Access Management
Avatar
Sanket Dangi
— February 11, 2019

WaitCondition Controls the Pace of AWS CloudFormation Templates

AWS's WaitCondition can be used with CloudFormation templates to ensure required resources are running.As you may already be aware, AWS CloudFormation is used for infrastructure automation by allowing you to write JSON templates to automatically install, configure, and bootstrap your ...

Read more
  • AWS
  • CloudFormation
Badrinath Venkatachari
Badrinath Venkatachari
— February 1, 2019

10 Common AWS Mistakes & How to Avoid Them

Massive migration to the public cloud is changing architecture patterns, operating principles, and governance models. That means new approaches are vital to get a handle on soaring cloud spend. Because the cloud’s short-term billing cycles call for financial discipline, you must empower...

Read more
  • AWS
  • Operations
Avatar
Andrew Larkin
— January 24, 2019

The 9 AWS Certifications: Which is Right for You and Your Team?

As companies increasingly shift workloads to the public cloud, cloud computing has moved from a nice-to-have to a core competency in the enterprise. This shift requires a new set of skills to design, deploy, and manage applications in cloud computing.As the market leader and most ma...

Read more
  • AWS
  • AWS Certifications
Avatar
Andrew Larkin
— January 15, 2019

2018 Was a Big Year for Content at Cloud Academy

As Head of Content at Cloud Academy I work closely with our customers and my domain leads to prioritize quarterly content plans that will achieve the best outcomes for our customers.We started 2018 with two content objectives: To show customer teams how to use Cloud Services to solv...

Read more
  • AWS
  • Azure
  • Cloud Computing
  • Google Cloud Platform
Avatar
Jeremy Cook
— November 29, 2018

Amazon Elastic Inference – GPU Acceleration for Faster Inferencing

“Add GPU acceleration to any Amazon EC2 instance for faster inference at much lower cost (up to 75% savings)”So you’ve just kicked off the training phase of your multilayered deep neural network. The training phase is leveraging Amazon EC2 P3 instances to keep the training time to a...

Read more
  • AWS
  • Elastic Inference
  • re:Invent 2018