Overview
This AMI runs an open-source live streaming server on Ubuntu 24.04 LTS: your encoder sends a stream to it over RTMP, and viewers watch on your own web page over HLS with a built-in live chat. The upstream vendor image, version 0.3.0, is pinned and baked into the AMI, so first start does not depend on a registry. Data is kept in an SQLite database and a data folder on the instance.
What Perimattic adds
Default credentials replaced: a fresh installation of this server has an administrator password and a stream key that are both a well-known default. During first-login setup this AMI starts the server with its RTMP port closed to the network, replaces both through the administrator API with random values generated on your server (a 24-character password and a 24-character stream key), proves that the defaults and wrong credentials are refused on the admin API and on the RTMP port, and only then opens the RTMP port. Nothing is published through Apache until setup has finished, and no credential is stored in the image.
HTTPS: Apache is configured as a reverse proxy (including the chat WebSocket) and a free Let's Encrypt certificate is requested for your domain with certbot. The web interface listens only on the loopback interface and the server runs as an unprivileged user. The public directory listing and federation are off, and the server sends no telemetry.
Patched base: Ubuntu 24.04 LTS built through an automated EC2 Image Builder pipeline, with security updates applied at build time.
Limits you should know
The RTMP ingest port, TCP 1935, must be open in your security group so that your encoder can reach the server; it accepts a stream only with your stream key. RTMP is not encrypted, so the key crosses the network in the clear: broadcast from a trusted network and change the key if it leaks. The stream page, the video and the chat are public by design: viewers can chat without an account. Transcoding uses a lot of CPU, and video leaves the instance for every viewer, so AWS data transfer charges apply and grow with your audience. In our tests the server used about 130 MB of memory idle and about 180 to 250 MB with one small test stream; we measured only 320x240 and 640x360 test streams, not a production broadcast, so a t3.medium (2 vCPU, 4 GB) is the recommended starting size and heavier or multi-quality streams need more CPU. Stream segments are stored on the instance's root volume.
Licence and attribution
The streaming server is released under the MIT licence; this AMI runs the unmodified upstream image. The image also contains FFmpeg, a GPL build from the Alpine Linux distribution, which is used as a separate program to transcode video. Built on the open-source Owncast (MIT). Not affiliated with, endorsed by, or sponsored by Owncast; Owncast is a trademark of its owner.
Getting Started Launch the AMI and open ports 22, 80, 443 and 1935 in the security group SSH in and answer the setup prompts (domain and admin email) Open https://your-domain/admin and sign in as admin with the password printed at the end of setup In your encoder choose a custom RTMP service with the server address and stream key printed at the end of setup, then start streaming
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
- Live streaming server 0.3.0 (MIT) pinned and pre-installed: RTMP ingest, HLS playback and live chat on your own domain.
- Secure first login: the default administrator password and default stream key are replaced with generated ones before anything is published, and the RTMP port opens only afterwards. HTTPS through Apache and Let's Encrypt. Allow TCP 1935 for your encoder.
- Built on patched Ubuntu 24.04 LTS and supported by Perimattic: free setup assistance at aws-support@perimattic.com.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
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: Live Streaming Server 0.3.0 (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.
- A random 24-character administrator password and a random 24-character stream key are generated at first login and set through the admin API before the RTMP port is opened; setup verifies that the vendor's default password and stream key and wrong credentials are refused.
- Application: live streaming server 0.3.0 (MIT, unmodified official image, runs as an unprivileged user) with FFmpeg for transcoding. The directory listing and federation are off.
- TCP 1935 (RTMP ingest, stream-key authenticated) is the one extra public port.
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.medium (2 vCPU, 4 GB) is the recommended starting size: the server used about 130 MB idle and 180 to 250 MB with one small test stream, but video transcoding is CPU-bound and was only measured with 320x240 and 640x360 test streams. Allow TCP 1935 for the RTMP ingest.
-
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 Live Streaming Server
- 1935 - RTMP ingest for your encoder (authenticated by the generated stream key)
-
Point a domain at the instance
Create a DNS A record (for example live.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 and a random 24-character stream key on your server
- Starts the server with the RTMP port closed to the network, replaces the vendor's default administrator password and stream key through the admin API and proves the defaults no longer work
- Opens the RTMP port (TCP 1935) only after the defaults are gone
- Configures Apache as an HTTPS reverse proxy (with WebSocket) and requests a Let's Encrypt certificate
- Prints the URLs, the administrator password and the RTMP address and stream key; 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 Live Streaming Server
Open https://<your-domain>/admin and sign in as admin with the password printed at the end of setup (view it again with: sudo cat /opt/app/access.txt). The RTMP address is rtmp://<your-domain>:1935/live and the stream key is in the same file.
-
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
The database, stream segments and uploads are in /opt/app/data: back up all of /opt/app or snapshot the volume before upgrades. RTMP is unencrypted, so use the stream key only from a trusted network and change it in the admin if it leaks. Transcoding is CPU-heavy and viewer traffic leaves AWS, so watch CPU credits and data transfer.
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.