Overview
Piper TTS running on the AMI
Piper 1.5 running as a systemd service behind nginx: health open, synthesis API gated by a per-instance password (HTTP Basic Auth), a WAV returned from a synthesis round-trip.
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
Overview
Piper is a fast, local, neural text-to-speech engine that turns text into natural-sounding speech entirely on your own instance - no cloud API calls, no per-character billing, and no text ever leaving your VPC. This AMI delivers the Piper HTTP server fully installed and configured as a system service with a high-quality English voice baked in, so a production-ready speech synthesis endpoint is running within minutes of launch. The current release available is Piper 1.5.
Why This AMI Over DIY or Unsupported Images
Deploying Piper manually on EC2 means building a Python environment, installing the HTTP server extra, downloading a voice model, hardening a reverse proxy, adding authentication, separating storage, and writing systemd units - work that can take hours and introduces security risk if done incorrectly. Piper's own HTTP server ships with no authentication at all. This AMI eliminates that effort and risk: you get a hardened, production-grade deployment with a unique-per-instance credential, a baked-in voice model, a dedicated data volume, and automatic service recovery - all backed by 24/7 expert support from cloudimg.
Application Stack
Piper is installed into a dedicated Python virtual environment under /opt/piper and run by an unprivileged service account on Python 3.12. The HTTP server listens on the loopback address and an nginx reverse proxy fronts it on port 80. A systemd service starts the server on boot and restarts it on failure.
Secure By Default
Access is gated by HTTP Basic Authentication at the nginx reverse proxy. This image generates a fresh password, unique to your instance, on its first boot and writes it to a root-only file. A lightweight health endpoint stays open for load balancers; every synthesis request requires the password. No shared or default credentials ship in the image, and no text you synthesize ever leaves the instance.
Ready To Use
POST JSON to the synthesis endpoint and receive a WAV audio file. The default English voice model ships baked into the image, so the server works fully offline the moment it boots; add more voices at any time with a single command. Voice models live on a dedicated, independently resizable storage volume kept separate from the operating system disk.
AWS Integrations
- Amazon S3 - Store or archive generated audio files and additional voice models in S3 for durable, cost-effective storage.
- Amazon CloudWatch - Monitor instance health, nginx access logs, and Piper service status using the CloudWatch agent and alarms.
- Application Load Balancer - Front multiple Piper instances with an ALB using the open health endpoint for target-group checks.
- Amazon Polly alternative - Run speech synthesis in your own VPC with no per-character cloud charges and full data residency.
Use Cases
- Accessibility and read-aloud - Add natural-sounding text-to-speech to web apps, documents, and e-learning without a paid cloud speech API.
- Voice assistants and IVR - Generate prompts and responses for self-hosted voice assistants, telephony, and interactive voice response systems.
- Media and content production - Batch-generate narration for videos, podcasts, and audiobooks entirely on your own infrastructure.
- Private and offline synthesis - Keep sensitive text in your own VPC for compliance or data-residency requirements, with no external API calls.
cloudimg Support
24/7 technical support by email and live chat. Our engineers help with Piper deployment, adding and selecting voices, tuning synthesis parameters, TLS termination, scaling, and AWS integration configuration.
All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
Highlights
- Unlike unsupported community images or manual EC2 installs that require hours of configuration and ship with no authentication, this AMI delivers the Piper neural text-to-speech HTTP server as a production-ready systemd service behind an nginx reverse proxy on port 80 - fully configured, with a high-quality English voice model baked in, and running within minutes of launch with no manual setup required.
- Secure by default with no shared or default credentials: every instance generates a unique HTTP Basic Authentication password on first boot, stored in a root-only file. A lightweight health endpoint stays open for load balancer checks while every synthesis request requires the password, and no text you synthesize ever leaves the instance.
- 24/7 technical support from cloudimg engineers by email and live chat, with one-hour average response for critical issues. Expert help covers adding and selecting voices, tuning synthesis parameters, TLS termination, scaling, and integration with AWS services like S3 and CloudWatch - support you cannot get from free community images.
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
Free trial
- ...
Dimension | Description | Cost/hour |
|---|---|---|
m5.large Recommended | m5.large | $0.08 |
t3.micro | t3.micro instance type | $0.04 |
t2.micro | t2.micro instance type | $0.04 |
i7ie.xlarge | i7ie.xlarge instance type | $0.12 |
c6id.metal | c6id.metal instance type | $0.24 |
i4i.4xlarge | i4i.4xlarge instance type | $0.24 |
r6idn.16xlarge | r6idn.16xlarge instance type | $0.24 |
m8i.4xlarge | m8i.4xlarge instance type | $0.24 |
m6in.metal | m6in.metal instance type | $0.24 |
m8i.metal-96xl | m8i.metal-96xl instance type | $0.24 |
Vendor refund policy
Refunds available on request.
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 of the Piper 1.5 neural text-to-speech server.
Additional details
Usage instructions
Connect via SSH on port 22 as the default login user for your operating system variant (the user guide lists it per variant; on Ubuntu it is 'ubuntu'). The Piper synthesis API is served by nginx on port 80. Retrieve the generated password with: sudo cat /root/piper-credentials.txt. The health endpoint is open at http://<instance-public-ip>/health; the synthesis endpoint is gated by HTTP Basic Authentication (user 'admin' + the password). Synthesize speech with: curl -u admin:<password> -X POST -H 'Content-Type: application/json' -d '{"text":"Hello from Piper"}' -o hello.wav http://<instance-public-ip>/synthesize. The server runs on loopback port 5000 and is managed with systemctl (piper-http.service, nginx.service). Voice models are stored under /var/lib/piper/voices; add more with: sudo -u piper /opt/piper/venv/bin/python -m piper.download_voices <voice> --data-dir /var/lib/piper/voices. The user guide covers listing voices, tuning synthesis, backups and enabling HTTPS.
Resources
Vendor resources
Support
Vendor support
cloudimg provides 24/7 technical support for this product by email and live chat. Our engineers help with deployment, configuration, updates, performance tuning, troubleshooting, and AWS integration guidance. Critical issues receive a one-hour average response time.
Support Scope Includes:
- Piper HTTP server deployment and configuration
- Adding, selecting and managing voice models
- Tuning synthesis parameters (length, noise, speaker)
- Backup and restore procedures
- TLS termination setup
- Scaling and performance optimization
- Security hardening and credential management
- Integration with AWS services (S3, CloudWatch)
Getting Started After Launch:
- Launch the AMI on your chosen EC2 instance with port 80 open in your security group.
- SSH into the instance and retrieve your unique authentication password from the root-only file at /root/piper-credentials.txt.
- POST text to the synthesis endpoint with the basic auth credentials and receive a WAV file.
- Verify the service is running by hitting the open health endpoint.
- Add more voices or tune synthesis parameters as needed.
The Piper service starts automatically on boot via systemd and restarts on failure. Voice models are stored on a dedicated EBS volume separate from the OS disk.
For support requests, troubleshooting, or refund inquiries, contact support@cloudimg.co.uk .
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.