Skip to content

Serverless API on AWS always-free services

A JSON API with sign-in, built only from AWS services that have always-free monthly allowances.

Suggest an edit

Users sign in with Cognito and receive a token. The frontend, served through CloudFront, calls a Lambda function URL with that token; Lambda checks it and reads or writes DynamoDB.

Each piece has an always-free allowance that does not expire. Watch out for the parts that are not covered: API Gateway, CloudWatch log volume and data transfer are charged separately, and on the Paid plan anything beyond the allowances is billed.

AWS Lambda

Runs the API code

Free limits for AWS Lambda
ResourceFree amountResetsTypeSource
Requests1 million per monthMonthlyAlways freerepost.aws · Verified 17 Nov 2026
Compute time400,000 GB-seconds per monthMonthlyAlways freerepost.aws · Verified 17 Nov 2026

Amazon DynamoDB

Stores the data

Free limits for Amazon DynamoDB
ResourceFree amountResetsTypeSource
Read and write capacity25 WCUs and 25 RCUsMonthlyAlways freeaws.amazon.com · Verified 17 Nov 2026
Storage25 GBMonthlyAlways freeaws.amazon.com · Verified 17 Nov 2026
Stream reads2.5 million stream read requests per monthMonthlyAlways freeaws.amazon.com · Verified 17 Nov 2026

Amazon Cognito

Signs users in and issues tokens

Free limits for Amazon Cognito
ResourceFree amountResetsTypeSource
Monthly active users (direct or social sign-in)10,000 MAUs per monthMonthlyAlways freeaws.amazon.com · Verified 17 Nov 2026
Monthly active users (SAML or OIDC)50 MAUs per monthMonthlyAlways freeaws.amazon.com · Verified 17 Nov 2026

Amazon CloudFront

Serves the frontend and caches responses

Free limits for Amazon CloudFront
ResourceFree amountResetsTypeSource
Data transfer out1 TB per monthMonthlyAlways freeaws.amazon.com · Verified 17 Nov 2026
HTTP/HTTPS requests10 million per monthMonthlyAlways freeaws.amazon.com · Verified 17 Nov 2026
CloudFront Functions invocations2 million per monthMonthlyAlways freeaws.amazon.com · Verified 17 Nov 2026
Free flat-rate plan1 million requests and 100 GB data transfer per monthMonthlyFree plandocs.aws.amazon.com · Verified 17 Nov 2026