Overview
This AMI runs Kutt, a self-hosted URL shortener with a web dashboard, click and referrer analytics, custom short domains, QR codes and a REST API, on Ubuntu 24.04 LTS. Links, users and settings are kept in PostgreSQL; Redis provides caching and rate limiting. The container image is pinned to Kutt 3.2.6 and baked into the AMI, so first start does not depend on a registry.
What Perimattic adds
Administrator created for you: during first-login setup, a random 24-character password is generated on your server and used to create the one administrator account through Kutt's own one-time create-admin endpoint, before the site is published. Setup then checks that the password works, that a wrong password and a stranger are refused, that sign-up stays closed, and that anonymous requests to the users, links and domains interfaces are refused.
HTTPS and a hardened database: Apache is configured as a reverse proxy and a free Let's Encrypt certificate is requested for your domain with certbot. PostgreSQL and Redis are password-protected and reachable only from the Kutt container, never published to the internet.
Pinned and tested: the application version is fixed, not 'latest', so a rebuild never changes the server behind your back. Patched base: Ubuntu 24.04 LTS built through an automated EC2 Image Builder pipeline, with security updates applied at build time.
What you should know
Kutt has no invitation flow without an email server configured: to give someone else an account, sign in as the administrator and create it under the Admin page. Sign-up stays closed even if email is configured later. Kutt is light in our tests (around 125 MB for the application, with PostgreSQL and Redis together adding under 100 MB more).
Licence and attribution
Built on the open-source Kutt (MIT licence), unmodified. Not affiliated with, endorsed by, or sponsored by the Kutt project.
Getting Started Launch the AMI and open ports 22, 80 and 443 in the security group SSH in and answer the setup prompts (domain and admin email) Open https://your-domain/ and sign in with the email and password printed at the end of setup Create a short link from the dashboard or the REST API using your account's API key
A domain name with an A record pointing at the instance is required, because the site is served over HTTPS.
This AMI is built and supported by Perimattic.
Book a free setup consultation at https://cal.com/gaurav-pareek-perimattic/marketplace-setup-consultations or email us at aws-support@perimattic.com .
Support Managed and supported by Perimattic, a cloud infrastructure company with 13+ years of experience serving global clients. We offer free setup assistance, custom integrations, infrastructure consulting, and 24/7 support.
Highlights
- Kutt 3.2.6 (MIT) pinned and pre-installed: self-hosted URL shortener with link analytics, custom domains, QR codes and a REST API, backed by PostgreSQL and Redis.
- Secure first login: a random 24-character administrator password is generated, sign-up is closed and anonymous access is refused. HTTPS through Apache and Let's Encrypt; PostgreSQL and Redis are password-protected and unpublished.
- Built on patched Ubuntu 24.04 LTS and supported by Perimattic: free setup assistance at aws-support@perimattic.com.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t3.medium Recommended | $0.03 |
t3.micro | $0.03 |
c3.2xlarge | $0.03 |
c3.4xlarge | $0.03 |
c3.8xlarge | $0.03 |
c3.large | $0.03 |
c3.xlarge | $0.03 |
c4.2xlarge | $0.03 |
c4.4xlarge | $0.03 |
c4.8xlarge | $0.03 |
Vendor refund policy
For any questions or concerns, please contact: Perimattic.com Email: aws-support@perimattic.com
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Initial release.
- Application: Kutt 3.2.6 (container image pinned, baked into the AMI).
- Base: Ubuntu 24.04 LTS, fully patched at build time, built by an automated EC2 Image Builder pipeline.
- TLS: Apache reverse proxy with a Let's Encrypt certificate requested by certbot at first login.
- Credentials are generated on the instance at first login; none are present in the image.
- The administrator is created through Kutt's one-time create-admin endpoint with a random 24-character password generated at first login; sign-up is closed, and setup verifies all of this before the site is published.
- Kutt 3.2.6 (MIT, unmodified official image) stores links and users in PostgreSQL and uses Redis for caching and rate limiting; both are password-protected and unpublished.
- No invitation flow without email configured; sign-up stays closed either way.
Additional details
Usage instructions
-
Launch an Instance
From AWS Marketplace, click Continue to Subscribe and then Continue to Configuration to launch the AMI.
-
Choose the Recommended Instance Type
t3.small (2 GB of memory) is the recommended size: Kutt, PostgreSQL and Redis together use well under 300 MB; the rest is the operating system, Docker and Apache.
-
Configure Security Group
Allow inbound traffic on the following ports:
- 22 (SSH) - terminal access for setup
- 80 (HTTP) - needed to validate your domain for the TLS certificate
- 443 (HTTPS) - access to Kutt
-
Point a domain at the instance
Create a DNS A record (for example links.example.com) pointing to the instance's public IP before you log in.
-
Connect to the Instance
ssh -i <your-key.pem> ubuntu@<public-ip>
-
First-Login Setup
The first SSH login runs a guided setup:
- Prompts for your domain and admin email and checks the DNS A record
- Generates a random 24-character administrator password on your server
- Starts PostgreSQL, Redis and Kutt, creates the administrator through Kutt's one-time create-admin endpoint, then checks that the password works, that a wrong password and a stranger are refused, that sign-up stays closed, and that anonymous requests are refused
- Configures Apache as an HTTPS reverse proxy and requests a Let's Encrypt certificate
- Prints the URL, email and password; they are also stored in /opt/app/access.txt (root only)
If a step fails, fix the problem shown and log in again: the setup resumes where it stopped.
-
Access Kutt
Open https://<your-domain>/ and sign in with the email and password printed at the end of setup (view it again with: sudo cat /opt/app/access.txt). Create short links from the dashboard; generate an API key under Settings to create links from scripts. Change the administrator password in the web UI whenever you like.
-
Credentials
Generated on your server, never shared between customers. View them again with:
sudo cat /opt/app/access.txt
-
Manage the Services
cd /opt/app sudo docker compose ps sudo docker compose restart
Links, users and settings are in the PostgreSQL database (Docker volume db-data, reachable only from the kutt container); Redis holds only ephemeral cache/rate-limit data and can be lost without losing any link. Back up the db-data volume or take EBS snapshots.
Thank you for subscribing.
Need Support or Customization? Perimattic's team can help with setup issues, custom features and integrations:
Email us: aws-support@perimattic.com WhatsApp: +91-92142 66896 Learn more: <www.perimattic.com >
We offer free setup assistance, custom development and integrations, and infrastructure consulting.
Resources
Vendor resources
Support
Vendor support
Support by Perimattic
Perimattic provides 24/7 support for all AWS Marketplace products. Our team has 13+ years of cloud infrastructure expertise serving global clients.
Contact Channels: Email: aws-support@perimattic.com WhatsApp: +91-92142 66896 Website: <www.perimattic.com >
What We Help With: Initial setup and configuration assistance (free) Troubleshooting connectivity, performance, and backup issues Custom development and integrations Infrastructure consulting and architecture review Migration planning from other solutions Automation solutions and scaling guidance
Instance Sizing Guidance: t2.medium or t3.medium: Development environments, small applications m5.large: Production workloads with moderate traffic m5.xlarge: High-traffic production deployments and larger datasets
For workload-specific sizing recommendations, contact our team for a free consultation.
Refunds and Issues: If you experience any issues or need to request a refund, contact us at aws-support@perimattic.com and we will respond promptly.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.