Skip to main content

AWS Lambda Functions

Platform · FaaS

Event-driven functions for APIs, automation, and data processing on automatically scaling managed compute.

Event-driven functions for APIs, automation, and data processing on automatically scaling managed compute.

Best for

Teams building event-driven systems around AWS services that want each handler to scale independently without managing hosts or a container cluster.

Watch out for

Lambda’s strongest integrations are also its main portability cost. Event sources, IAM policies, networking, and operational tooling accumulate as AWS-specific infrastructure.

Workloads
  • APIs
  • Data Processing
  • Scheduled Jobs
  • Web Applications
Services
  • Functions
Hosting model
  • Managed
Lambda creates managed execution environments when events arrive and adjusts their number as demand changes. Functions connect directly to AWS services and IAM, making Lambda a central glue layer inside many AWS applications. Each invocation remains bounded by Lambda’s runtime, networking, and concurrency model. Scale-to-zero applies to on-demand execution; provisioned concurrency keeps environments warm. Rollback and weighted releases use published versions and aliases.

Development & Execution

Supported platform capabilities, execution environments, development technologies, deployment models, integrations, and triggers.

Runtimes

  • Custom Runtime
  • .NET Runtime
  • JVM
  • Node.js

Languages

  • C#
  • Go
  • Java
  • JavaScript
  • Python
  • Ruby
  • Rust
  • TypeScript

Frameworks

  • Express.js
  • Fastify
  • Spring Boot

Capabilities

  • Compute Autoscaling
  • Scale to Zero
  • Deployment Rollbacks
  • Deployment Traffic Splitting

Architecture

  • x64
  • ARM

Deployment & packaging

  • Docker / OCI
  • Local Emulator
  • Serverless (Managed Runtime)

Integrations

  • Datadog
  • GitHub
  • GitLab
  • Terraform

Triggers

  • Scheduled Invocation
  • Database Events
  • Event Streams
  • Publish-Subscribe Topics
  • HTTP Requests
  • Direct Invocation
  • Queue Messages
  • Storage Events

Pricing

Published pricing structure, representative costs, and material billing factors.

Starting Price
$0.20 Requests
Primary Billing
Resource based AWS Lambda On-Demand Usage
Free Tier
Recurring free allowances
Commitment
Lambda Functions are billed by request and execution duration, with duration aggregated by architecture and region.

AWS Lambda On-Demand Usage

Primary Pricing

Representative standard Lambda Functions rates for first-tier x86 usage in US East (N. Virginia); regional rates can differ.

ResourceBilling UnitPrice
Requests Charged after the monthly free allowanceper 1 million requests$0.20
x86 execution duration First 6 billion GB-seconds per month in US East (N. Virginia)per GB-second$0.0000166667

Free Tier

Recurring monthly free usage for standard AWS Lambda Functions.

  • Requests: 1,000,000 requests per month
  • Execution duration: 400,000 GB-seconds per month

Billing Commitment

Lambda Functions are billed by request and execution duration, with duration aggregated by architecture and region.

Pricing reference

Function pricing at scale

Includes AWS Lambda.

Monthly requests

1M 10M 100M
  • Short API requests
  • CPU-intensive functions

9 products · 2 workloads

Infrastructure & Availability

Where workloads run, how deployment is scoped, and what underlying infrastructure the platform depends on.

AWS Lambda is available across commercial AWS Regions, AWS GovCloud (US), and the two AWS China Regions. Lambda resources are regional; China and GovCloud use separate account partitions.

Execution

  • Single Region
  • Multi Region

Deployment scope

  • Regional

Infrastructure providers

  • Amazon Web Services

Available regions (38)

LocationRegion ID
North America 9 regions
US East (N. Virginia)us-east-1
US East (Ohio)us-east-2
US West (N. California)us-west-1
US West (Oregon)us-west-2
Canada (Central)ca-central-1
Canada West (Calgary)ca-west-1
Mexico (Central)mx-central-1
AWS GovCloud (US-East) Requires an AWS GovCloud (US) account.us-gov-east-1
AWS GovCloud (US-West) Requires an AWS GovCloud (US) account.us-gov-west-1
Latin America 1 region
South America (São Paulo)sa-east-1
Europe 8 regions
Europe (Frankfurt)eu-central-1
Europe (Ireland)eu-west-1
Europe (London)eu-west-2
Europe (Milan)eu-south-1
Europe (Paris)eu-west-3
Europe (Spain)eu-south-2
Europe (Stockholm)eu-north-1
Europe (Zurich)eu-central-2
Asia Pacific 14 regions
Asia Pacific (Hong Kong)ap-east-1
Asia Pacific (Hyderabad)ap-south-2
Asia Pacific (Jakarta)ap-southeast-3
Asia Pacific (Malaysia)ap-southeast-5
Asia Pacific (Melbourne)ap-southeast-4
Asia Pacific (Mumbai)ap-south-1
Asia Pacific (New Zealand)ap-southeast-6
Asia Pacific (Osaka)ap-northeast-3
Asia Pacific (Seoul)ap-northeast-2
Asia Pacific (Singapore)ap-southeast-1
Asia Pacific (Sydney)ap-southeast-2
Asia Pacific (Taipei)ap-east-2
Asia Pacific (Thailand)ap-southeast-7
Asia Pacific (Tokyo)ap-northeast-1
China Mainland 2 regions
China (Beijing) Requires AWS China-specific account credentials; availability verified separately in AWS China documentation.cn-north-1
China (Ningxia) Requires AWS China-specific account credentials; availability verified separately in AWS China documentation.cn-northwest-1
Middle East & Africa 4 regions
Africa (Cape Town)af-south-1
Israel (Tel Aviv)il-central-1
Middle East (Bahrain)me-south-1
Middle East (UAE)me-central-1

Availability reviewed · Availability source

Resource & Execution Limits

Memory

128-10,240 MB

Per function

Execution time

15 minutes

Per invocation

Temporary storage

512-10,240 MB

Per execution environment

Synchronous payload

6 MB request / 6 MB response

Per invocation

Concurrent executions

1,000

Default regional account quota

Security & Compliance

Security Controls

Access Control
IAM execution roles, identity policies and resource policies
Encryption at Rest
AWS-managed encryption; customer-managed KMS keys supported Coverage depends on Lambda data type
Encryption in Transit
HTTPS / TLS
Private Networking
Customer VPC access Functions still run in a Lambda-managed VPC
Secrets Management
AWS Secrets Manager integration Separate AWS service; customer IAM configuration required
Code Signing
AWS Signer enforcement
Audit Logging
AWS CloudTrail management events Some data-event coverage requires configuration

Audits & Certifications

SOC Reports
SOC 1, 2 & 3 AWS Lambda in current report scope
PCI DSS
In scope Customer environment remains subject to shared responsibility

Compliance

FedRAMP
Class C / Class D East/West / GovCloud respectively
HIPAA
HIPAA eligible Executed AWS BAA and customer controls required

FAQ

How long does AWS Lambda stay warm?
There is no guaranteed warm period. Lambda may retain a completed execution environment for a period of time and reuse it for later invocations, but AWS says not to assume that an execution environment will persist indefinitely.
Is AWS Lambda free?
Yes, within the recurring AWS Lambda free allowance. It includes 1 million requests and 400,000 GB-seconds of execution duration per month before usage charges apply.

Explore