Skip to content
Work in progressThis site is being rebuilt. Content is incomplete; check back later.
Also in:Also in:

Designing a URL Redirection & Vanity URL Service

Start with 200 redirect objects. Earn every component after that.

↓ PDF

Topology simulator

Pick a level to see the components that stage earns, and switch between generic building blocks and their AWS services. Select any component, then inject a 10× slowdown or an outage to see its blast radius and the fallback path. “Show changes” overlays what the level added, changed or removed versus the one before.

L3 · Bloom-filter miss guard — Bot path-scans cause a 404 storm

UpdateKeysmight exist?GetItemClient · Browser / BotOKBrowser /BotAnycast DNS · Route 53OKRoute 53Edge CDN · CloudFrontOKCloudFrontEdge KV Store · CF Function + KVSOKCF Function+ KVSRedirect Service · ECS FargateOKECS FargateDB of Record · DynamoDBOKDynamoDBAdmin UI · Admin UI + APIOKAdmin UI +APIBloom Filter Guard · In-process BloomOKIn-processBloom

Cost economics

The table follows the level picked above. Unit prices are AWS us-east-1 list prices as of 2026-11-23, linked under the table; usage volumes (traffic, task sizes, miss rates, log sizes) are modelled and marked ASSUMPTION. The enterprise range (25–40% off list) is also an ASSUMPTION: AWS publishes no discount schedule.

AWS economics · us-east-1

L3 · Bloom-filter miss guard + DynamoDB

300M redirects / month

modelled volume Unit prices are AWS list prices (us-east-1, sources below); request and storage volumes per level are modelling assumptions, explained on each marked line.

ComponentAWS serviceList $/moBasis
CloudFront HTTPS requestsAmazon CloudFront$300300M x $0.0100/10k (US) = $300.0. Gross list; always-free tier (10M req/mo) not netted.
CloudFront data transfer outAmazon CloudFront$13assumption~0.5 KB per 301/302 response -> 150.0 GB x $0.085/GB (US, first-10TB tier) = $12.75. Gross; 1 TB/mo always-free not netted.
CloudFront Functions invocationsAmazon CloudFront$30300M x $0.10/1M = $30.0 (one viewer-request invocation per redirect).
CloudFront KeyValueStore edge readsAmazon CloudFront$9300M x $0.03/1M = $9.0 (ASSUMPTION: one kvs.get per request).
KeyValueStore API (hot-set sync)Amazon CloudFront$2assumption2,000 API calls/mo x $1/1,000 = $2.0.
Application Load BalancerElastic Load Balancing$281 x (730 h x $0.0225 + 730 h x 2 LCU x $0.008) = $28.11. ASSUMPTION: average 2 LCU (LCU dimensions not modelled).
ECS Fargate redirect/admin service with in-memory Bloom filterAWS Fargate$1081 region(s) x 3 tasks x 730 h x (1 vCPU x $0.04048 + 2 GB x $0.004445) = $108.12 (Linux/x86, on-demand). ASSUMPTION: task count/size.
DynamoDB lookups (eventually consistent, <=4 KB)Amazon DynamoDB$2assumption60% served from KVS hot set, 30% of all requests are misses (bot scans). Origin sees 120M; Bloom (1% FP) passes 0.9M of 90M misses + 30M long-tail hits = 30.9M reads x 0.5 RRU = 15.45M RRU x $0.125/1M = $1.93.
DynamoDB rule writesAmazon DynamoDB$1assumption1M writes/mo x 1 WRU (<=1 KB) x $0.625/1M = $0.63.
DynamoDB storageAmazon DynamoDB$1assumption10M rules x ~200 B = 2 GB x 1 replica(s) x $0.25/GB-mo = $0.5. Gross; 25 GB free tier not netted.
AWS list total$493
Enterprise range (25–40% off list)$296–$370/mo
$330/mo

Pricing as of · Sources: CloudFront pay-as-you-go pricing, CloudFront flat-rate plans, AWS Price List API: AmazonCloudFront (publicationDate 2026-10-19), CloudFront quotas (Functions, KeyValueStore), DynamoDB on-demand pricing, AWS Price List API: AmazonDynamoDB us-east-1, AWS Price List API: AmazonECS (Fargate) us-east-1, AWS Price List API: AWSELB us-east-1, ElastiCache pricing, Amazon Data Firehose pricing, AWS Price List API: AmazonKinesisFirehose us-east-1, AWS Price List API: AmazonKinesis (Data Streams) us-east-1, AWS Price List API: AmazonS3 us-east-1, S3: object redirects (x-amz-website-redirect-location) and the 50-routing-rule limit, Amazon Athena pricing, Amazon Route 53 pricing, AWS Price List API: AWSDataTransfer us-east-1

Connections & Backlinks

Explore the graph →

Uses Building Blocks

  • Bloom Filters as a Building BlockComing Soon
sujeet.pro

Interactive Lab · Designing a URL Redirection & Vanity URL Service

This article contains interactive simulators and calculators that do not render accurately when printed from the browser.

Please download the formatted PDF edition:

https://sujeet.pro/design-url-redirection-service/design-url-redirection-service.pdf

Interactive version: https://sujeet.pro/design-url-redirection-service/interactive-lab/