Snip AWS
Serverless · Zero Cold Start · Edge-Ready

Short links.
Built on AWS.

Paste any URL, get a sharp short link powered by API Gateway, Lambda, and DynamoDB — no servers to manage, no bills when idle.

No sign-up. No tracking. Links live as long as the table does.

<50ms
P99 Lambda cold
Concurrent requests
$0
Cost at idle

Architecture

Why serverless wins

Every decision in this stack is intentional — zero waste, maximum throughput, pay-per-invocation economics.

Sub-50ms Edge Latency

API Gateway with CloudFront distribution routes requests to the nearest AWS edge node — users get responses before they blink.

API Gateway CloudFront

Zero-Cost Serverless Core

Lambda's 1M free invocations per month means your shortener runs for free at moderate scale. No EC2, no RDS, no idle spend.

Lambda Free Tier

On-Demand DynamoDB Scaling

DynamoDB On-Demand mode absorbs any traffic spike with single-digit millisecond reads. No capacity planning, ever.

DynamoDB On-Demand

IAM-First Security Model

Fine-grained IAM roles scope Lambda execution to exactly the DynamoDB table it needs — principle of least privilege by default.

IAM Least Privilege

Infrastructure as Code

The entire stack is defined with SAM/CloudFormation — deploy to any region in under 60 seconds with a single sam deploy.

SAM CloudFormation

Global HTTPS Endpoints

Every route served over TLS 1.3 via API Gateway's managed certificates. No certificate rotation headaches, ever.

TLS 1.3 ACM

Request Flow

Zero hops from browser to DB

Browser
POST /shorten
API Gateway
Auth + routing
Lambda
ID gen + write
DynamoDB
<5ms PutItem
No VPC cold-start penalty
Idempotent writes with condition expressions
CORS handled at Gateway level