PeerTube on AWS by FOSSonCloud is an open-source CloudFormation template and custom AMI that deploys a production-ready PeerTube federated video platform on AWS, using both AWS and PeerTube best practices.
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
AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
You pay by the hour for the EC2 instance type you run this software on. Pricing scales with the compute size you choose. The options span several instance families: t4g for burstable general use, m7g for balanced compute, c7g for compute-focused work, r7g for memory-heavy loads, and a1 for Arm-based general use. Within each family, sizes range from small (nano, micro, medium) up to large multi-core and bare-metal instances. Larger instances carry higher hourly rates. You select one instance type per deployment, and billing tracks the hours that instance runs.
Top-of-mind questions for buyers
What does the hourly rate cover, and what does deploying this software set up in my AWS account?
The hourly rate covers the software running on your chosen EC2 instance. This deploys a CloudFormation template that builds the video platform infrastructure. It includes auto scaling groups, load balancers with SSL, object storage for uploads, a content delivery network, caching, a managed database, and log aggregation.
Am I charged when the EC2 instance is stopped or paused?
Software charges accrue per hour while the instance runs. A fully stopped instance does not accrue software charges. However, other AWS resources in the deployment, such as storage, databases, and load balancers, may still bill separately. The hourly software meter tracks running time only.
If my video traffic grows, do I switch instance types or add more instances?
You select one instance type per deployment, and billing tracks that instance's hours. To handle more load, you move to a compute or memory family that fits your needs. The setup uses a single instance in an auto scaling group for resilience rather than scaling out across many.
ordinaryexperts.com
Helpful?
Vendor refund policy
We do not currently support refunds, but you can cancel at any time.
How can we make this page better?
Tell us how we can improve this page, or report an issue with this product.
Give us feedbackReport a problem with this product or seller
Legal
Vendor terms and conditions
Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA).
Content disclaimer
Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.
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
Fix a CloudFormation dependency-ordering bug where the ASG could launch before the ElastiCache Redis cluster's endpoint attributes (RedisEndpoint.Address/.Port) were resolved, leaving newly-launched instances with an empty redis: section in config/production.yaml. PeerTube would then crash-loop on startup (ioredis ERR_MISSING_ARGS), which surfaced as a 502 Bad Gateway from the ALB since nginx's /elb-check health check doesn't depend on the PeerTube app being up. The ASG now has an explicit CDK dependency on the Redis cluster, mirroring the existing dependency on the database.
No install-script changes in this release; AMI rebuilt from the same PeerTube v8.2.3 install script as 3.1.0 (AWS Marketplace requires a distinct AMI ID per submitted version).
Additional details
Usage instructions
Template components
CloudFormation template
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.
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.
Be the first to review this product. We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.