Menu
AWS Lambda
Developer Guide

Lambda Execution Environment and Available Libraries

The underlying AWS Lambda execution environment is based on the following:

  • Public Amazon Linux AMI version (AMI name: amzn-ami-hvm-2015.09.1.x86_64-gp2):

    • AMI ID – ami-f0091d91 in the US West (Oregon) region.

    • AMI ID – ami-60b6c60a in the US East (N. Virginia) region.

    • AMI ID – ami-bff32ccc in the EU (Ireland) region.

    • AMI ID – ami-bc5b48d0 in the EU (Frankfurt) region.

    • AMI ID – ami-383c1956 in the Asia Pacific (Tokyo) region.

    For information about using an AMI, see Amazon Machine Images (AMI) in the Amazon EC2 User Guide for Linux Instances.

  • Linux kernel version – 4.1.19-24.31.amzn1.x86_64

If you are using any native binaries in your code, make sure they are compiled in this environment.

AWS Lambda supports the following runtime versions:

  • Node.js – v0.10.36, v4.3.2 (recommended)

  • Java – Java 8

  • Python – Python 2.7

The following libraries are available in the AWS Lambda execution environment so you don't need to include them:

If you author your Lambda function code in Python, the following libraries are available in the AWS Lambda execution environment so you don't need to include them:

  • AWS SDK for Python (Boto 3) version 1.3.1

There are no additional libraries available for Java.

Suggested Reading

If you are new to AWS Lambda, we suggest you read through all of the topics in the How It Works section to familiarize yourself with Lambda, starting with How It Works.

After you read all of the topics in the How it Works section, we recommend that you review Building AWS Lambda-Based Applications, try the Getting Started exercise, and then explore the Use Cases. Each use case provides step-by-step instructions for you to set up the end-to-end experience.