Back to Blog Overview

Open Source AWS URL Shortener: Single Script CloudFormation Template

Published on 01.04.2026

We have released the source code for our serverless URL shortener as a standalone CloudFormation template. This allows engineering teams to deploy a private link-management utility directly into their AWS environment, maintaining full data sovereignty.

Scroll down to learn more ⬇️
The Stack


The template provisions a 100% serverless architecture. There are no servers to manage, and costs scale linearly with request volume.

https://github.com/silverlining-cloud/aws-self-hosted-url-shortener

Why use a self-hosted shortener?


Third-party SaaS shorteners often introduce latency, data privacy concerns, and procurement hurdles. By running the logic in your own VPC, you own the redirection logs, the domain mapping, and the security groups.

Commercial Tiers and Feature Sets


While the community version provides a functional baseline for non-commercial projects in us-east-1, we offer two professional tiers for teams with broader requirements.

1. Paid IaaS (Commercial License) For closed-source or commercial use cases, we provide an enhanced version via the AWS Marketplace.

2. Managed SaaS (API Only) For teams that prefer zero infrastructure management, our Managed API provides the same feature set as a hosted service.


Feature Breakdown


Community Edition (GPL-3.0)

Paid IaaS (AWS Marketplace)

Managed SaaS (Marketplace API)


Quickstart Deployment


Ensure you have the AWS CLI configured for us-east-1 and run the following:

  1. Upload the template: aws s3 cp template.yaml s3://<YOUR_BUCKET>/

Execute the Stack:

aws cloudformation create-stack --stack-name url-shortener \ --template-url https://<YOUR_BUCKET>.s3.amazonaws.com/template.yaml \ --capabilities CAPABILITY_NAMED_IAM

Need global region support or a commercial license? View the Paid Version on AWS Marketplace