Serverless URL Shortener
A real-world serverless application built with AWS to generate and manage custom short URLs.
Project Overview
- Create short URLs from long links using a web form
- Redirect users to the original URL via a clean custom domain
- Modern UX: "Go to" button and clipboard copy support
Architecture Summary
- Frontend: Static HTML site hosted on Amazon S3 + CloudFront with HTTPS
- Backend: Two AWS Lambda functions — one for generating links, one for redirects
- API Gateway: One HTTP API with two routes mapped to Lambdas:
POST /create → creates short links
ANY /{proxy+} → handles redirection
- DynamoDB: Stores mapping between shortCode and long URLs
- Custom domain:
go.stevedel.com configured via Route 53 + ACM
AWS Services Used
- AWS Lambda – Backend logic for create/redirect
- Amazon API Gateway – HTTP API with custom domain
- Amazon DynamoDB – Key-value store for URL mappings
- AWS Certificate Manager (ACM) – TLS cert for CloudFront and custom domain
- Amazon Route 53 – DNS routing for go.stevedel.com
- Amazon S3 – Hosts the frontend site
- Amazon CloudFront – Delivers static site over HTTPS
- AWS IAM – Secures GitHub Actions deployments
- GitHub Actions – CI/CD pipeline for code + infra updates
Live Demo
Try it live at: resume.stevedel.com
Short links are served from: go.stevedel.com
Code
Source code available on GitHub: DelGuers/aws-portfolio-site