Overview

Product video
PeerTube on AWS by FOSSonCloud is an open-source AWS CloudFormation template that offers an easy-to-install AWS infrastructure solution for quickly deploying PeerTube, using both AWS and PeerTube best practices.
PeerTube is a free, open-source, federated video platform that enables creators to host their own video site while participating in the wider Fediverse via ActivityPub.
This solution leverages an S3 bucket fronted by CloudFront for global delivery of user-generated video content, provisions an Aurora PostgreSQL cluster for the database, and an ElastiCache Redis cluster for cache and job queues. It configures SES with Easy DKIM for emails, and configures Route53 with convenient DNS entries.
The template ensures multi-level security by incorporating AWS IAM for federated access to resources with least privilege and AWS managed keys and Secrets Manager to manage secrets for encryption of data at rest and in transit.
This pattern uses a singleton Auto Scaling Group with a persistent EBS data volume - PeerTube is not horizontally scalable in this deployment.
An optional email address is collected as part of the CloudFormation parameters as the AdminEmail parameter. This email is used as the initial admin login for the PeerTube instance and is not shared with any third party.
Highlights
- Production-ready PeerTube site, with search, email, and caching
- Integrated with AWS Certificate Manager for HTTPS support
- Logs in CloudWatch Logs, Remote access via Session Manager
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 |
|---|---|
c7g.8xlarge | $0.02 |
t4g.small | $0.02 |
c7g.large | $0.02 |
r7g.medium | $0.02 |
a1.xlarge | $0.02 |
c7g.16xlarge | $0.02 |
m7g.2xlarge | $0.02 |
m7g.medium | $0.02 |
m7g.4xlarge | $0.02 |
r7g.2xlarge | $0.02 |
Vendor refund policy
We do not currently support refunds, but you can cancel at any time.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
CloudFormation Template v3.0.0
PeerTube on AWS by FOSSonCloud deploys a production-ready PeerTube instance using AWS best practices.
PeerTube is a free, open-source, federated video platform that enables creators to host their own video site while participating in the wider Fediverse via ActivityPub.
WHAT'S DEPLOYED
- VPC with public and private subnets (or use your existing VPC)
- Application Load Balancer with ACM certificate for HTTPS
- Auto Scaling Group with a single Graviton (arm64) EC2 instance running PeerTube
- Persistent EBS data volume attached to the active instance
- Aurora PostgreSQL cluster (multi-AZ)
- ElastiCache Redis cluster for caching and job queues
- S3 bucket for user-uploaded videos, captions, and exports
- CloudFront distribution fronting S3 for global video delivery
- SES domain identity with Easy DKIM for email delivery
- Route53 DNS records
- CloudWatch Logs integration
- AWS Secrets Manager for credential storage
- IAM roles with least-privilege permissions
REQUIREMENTS
- Route 53 hosted zone for DNS
- ACM certificate for HTTPS
CloudFormation Template (CFT)
AWS CloudFormation templates are JSON or YAML-formatted text files that simplify provisioning and management on AWS. The templates describe the service or application architecture you want to deploy, and AWS CloudFormation uses those templates to provision and configure the required services (such as Amazon EC2 instances or Amazon RDS DB instances). The deployed application and associated resources are called a "stack."
Version release notes
- Upgrade to PeerTube v8.1.5
- Upstream replaced yarn with pnpm; install script now uses npm run install-node-dependencies
- Manual post-upgrade migration required for existing deployments - see https://github.com/Chocobozzz/PeerTube/releases/tag/v8.0.0 (run peertube-8.0.js after the v8 database migration completes)
- New object_storage.captions bucket configuration wired to the same S3 bucket + CloudFront distribution
- Upgrade base AMI from Ubuntu 22.04 to Ubuntu 24.04 (Noble Numbat)
- Upgrade to OE devenv version 2.8.3
- Upgrade to OE Common Constructs version 4.5.1
- Aurora PostgreSQL upgraded 15.4 -> 15.13 (causes brief downtime on stack update)
- ElastiCache Redis upgraded 6.2 -> 7.0
- Upgrade to aws-cdk-lib 2.225.0
- Introduce versioned AMI parameter (AsgAmiIdv300) so CloudFormation treats each release's AMI swap as a parameter change
Additional details
Usage instructions
Run the stack, providing valid parameters. When the stack creation completes, go to the outputs of the stack and open the URL in your browser. To access the application server, find the EC2 instance in the AWS console and Connect using the Session Manager option. The initial admin email is set via the AdminEmail parameter; the initial admin password is generated on first boot and stored in AWS Secrets Manager. For more detailed instructions, see the GitHub project.
Resources
Support
Vendor support
Email support offered with subscription.
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.