Frappe Cloud & Press
Complete reference for Frappe Cloud managed hosting and Press self-hosted alternative.
Quick Reference: Frappe Cloud Concepts
| Concept |
Description |
| Site |
A single Frappe instance with its own database, domain, and apps |
| Bench |
A shared runtime environment hosting one or more sites with the same app versions |
| Server |
The underlying infrastructure (VM) running one or more benches |
| Private Bench |
A dedicated bench for a single customer with full control |
| Shared Bench |
A Frappe-managed bench shared across multiple sites |
| Press |
The open-source platform (AGPL-3.0) that powers Frappe Cloud |
| Agent |
Flask application on each server enabling Press-to-site communication |
Decision Tree: Frappe Cloud vs Self-Hosted
Choosing hosting strategy:
├── Small team, want zero ops overhead?
│ └── Frappe Cloud (Shared Bench) — fastest time to production
├── Need custom server configuration?
│ ├── Budget for managed infra? → Frappe Cloud (Private Bench)
│ └── Want full control? → Self-hosted with bench
├── Need to host Frappe for multiple clients?
│ ├── Want managed platform? → Frappe Cloud
│ └── Want own platform? → Self-hosted Press
├── Regulatory/compliance — data must stay on-premises?
│ └── Self-hosted (bench or Press)
└── Development/testing environment?
├── Quick prototype → Frappe Cloud (free trial)
└── Long-term dev → Local bench installation
Frappe Cloud Overview
Frappe Cloud is a fully managed hosting platform for the Frappe stack. It handles server provisioning, backups, updates, monitoring, and scaling.
Core Features
| Feature |
Details |
| Automated backups |
Scheduled daily backups with retention policies |
| Automatic updates |
Managed update cycles for Frappe apps |
| Scaling |
Horizontal and vertical scaling without downtime |
| Multi-tenancy |
Multiple independent sites per bench |
| SSL/TLS |
Automatic certificate provisioning and renewal |
| Monitoring |
Real-time server and site monitoring |
| Role-based access |
Granular permissions for team members |
| Billing |
Daily/monthly subscriptions, wallet credits, multiple payment methods |
Infrastructure Options
| Option |
Use Case |
| Shared Bench |
Cost-effective for small sites; Frappe manages the bench |
| Private Bench |
Dedicated environment; custom app versions and update schedules |
| Dedicated Server |
Full server for high-traffic or compliance requirements |
Frappe Cloud Dashboard
Site Management
The dashboard provides centralized control for all site operations:
- Create sites — Provision new sites on shared or private benches
- Install/remove apps — Add or remove Frappe apps from sites
- Backups — Manual and scheduled backups, restore from backup
- Domain management — Add custom domains with automatic SSL
- Site config — Edit
site_config.json via the dashboard
- Monitoring — View CPU, memory, disk usage, and request logs
- Site actions — Migrate, update, suspend, archive, or transfer sites
Bench Management
- Create benches — Set up shared or private benches
- App management — Select apps and their versions/branches
- Update scheduling — Control when benches receive updates
- Environment variables — Set custom environment variables
- SSH access — Connect to bench via SSH for debugging
- Log browser — View application and error logs
- Database access — Query the database via the dashboard
Server Management
- Provision servers — Create servers across multiple cloud providers
- Scale resources — Upgrade CPU, memory, and storage
- Storage add-ons — Attach additional storage volumes
- Server snapshots — Create and restore server snapshots
Deploying Apps on Frappe Cloud
Adding a Custom App
- Navigate to Apps in the Frappe Cloud dashboard
- Click Add App and provide the GitHub repository URL
- Select the branch to deploy
- Configure build settings if needed
- The app becomes available for installation on sites within compatible benches
App Marketplace
Frappe Cloud includes a marketplace where developers can:
- List apps with descriptions and pricing
- Set compatibility requirements (Frappe version, dependencies)
- Configure pricing models (free, one-time, subscription)
- Manage payouts for commercial apps
- Track installations and usage analytics
Deployment Workflow
Developer pushes code → Frappe Cloud detects update →
Bench rebuild triggered → Assets compiled →
Sites migrated → New version live
For Private Benches: Updates are controlled by the bench owner — NEVER auto-deployed without approval.
For Shared Benches: Frappe manages the update schedule.
Site Provisioning Workflow
Creating a New Site
- Select bench — Choose shared or private bench
- Choose plan — Select resource allocation (CPU, memory, storage)
- Configure apps — Select which apps to install
- Set domain — Use
*.frappe.cloud subdomain or custom domain
- Create — Frappe Cloud provisions the site (typically under 5 minutes)
Custom Domain Setup
- Navigate to site Domains in the dashboard
- Add your custom domain (e.g.,
erp.example.com)
- Configure DNS: Add a CNAME record pointing to the Frappe Cloud proxy
- Frappe Cloud verifies DNS and provisions SSL certificate automatically
- ALWAYS wait for DNS propagation before expecting SSL to work (up to 48 hours)
Critical Rules
- ALWAYS use CNAME records for custom domains (not A records)
- NEVER transfer DNS to Frappe Cloud — only add CNAME records
- ALWAYS verify SSL is active before switching production traffic
- Custom domain SSL uses Let's Encrypt — auto-renews before expiry
Frappe Cloud vs Self-Hosted Comparison
| Aspect |
Frappe Cloud |
Self-Hosted (bench) |
Self-Hosted (Press) |
| Setup time |
Minutes |
Hours |
Days |
| Server management |
Managed |
You manage |
You manage |
| Backups |
Automatic |
Manual/cron |
Automatic |
| Updates |
Managed schedule |
bench update |
Managed via Press |
| SSL certificates |
Automatic |
Manual/certbot |
Automatic |
| Scaling |
Dashboard button |
Manual |
Dashboard |
| Multi-tenancy |
Built-in |
DNS multi-tenant |
Built-in |
| Cost |
Subscription |
Infrastructure only |
Infrastructure only |
| Custom server config |
Limited |
Full control |
Full control |
| Data sovereignty |
Frappe's infra |
Your infra |
Your infra |
| SSH access |
Private bench only |
Full |
Full |
| Monitoring |
Built-in |
Set up yourself |
Built-in |
| Support |
Included |
Community only |
Community only |
Press: Self-Hosted Frappe Cloud
What Is Press?
Press is the open-source platform (AGPL-3.0) that powers Frappe Cloud. Organizations can self-host Press to create their own managed hosting platform for Frappe applications.
GitHub: https://github.com/frappe/press
Architecture
| Component |
Technology |
Role |
| Press |
Frappe Framework |
Platform management, billing, dashboard |
| Agent |
Flask |
Server-to-site communication |
| Docker |
Container runtime |
App packaging and deployment |
| Ansible |
Automation |
Server provisioning and configuration |
| Frappe UI |
Vue.js |
Dashboard frontend |
Key Capabilities
- Multi-server management — Provision and manage multiple servers
- Site lifecycle — Create, update, migrate, backup, restore, archive sites
- Bench management — Deploy benches with specific app versions
- Billing system — Subscriptions, invoicing, wallet credits, ERP integration
- Marketplace — App listing, pricing, payouts
- Role-based access — Granular permissions per team and resource
- Monitoring — Real-time metrics and alerting
When to Self-Host Press
- You need to host Frappe for multiple clients/tenants
- You want a managed platform but on your own infrastructure
- You need full data sovereignty and regulatory compliance
- You want to offer Frappe hosting as a service
When NOT to Self-Host Press
- NEVER self-host Press for a single site — use bench directly
- NEVER self-host Press without dedicated DevOps capacity
- NEVER underestimate the operational overhead — Press itself requires maintenance
Self-Hosting Requirements
- Dedicated servers (bare metal or VMs) with Ubuntu
- DNS management for wildcard domains
- Object storage for backups (S3-compatible)
- SMTP service for transactional email
- Familiarity with Ansible, Docker, and Frappe Framework
Frappe Cloud Limitations
What You CANNOT Do on Frappe Cloud
- Install system-level packages (no root access on shared benches)
- Modify Nginx/Supervisor configuration directly
- Access raw database files (only SQL access via dashboard)
- Run long-running background processes outside Frappe's job queue
- Use non-standard ports or protocols
Shared Bench Limitations
- No SSH access
- No custom environment variables (use site_config.json instead)
- Shared resources with other sites — performance may vary
- Update schedule controlled by Frappe (not the site owner)
Private Bench Advantages Over Shared
- SSH access for debugging
- Custom environment variables
- Controlled update schedule
- Dedicated resources
- Custom app versions and branches
Frappe Cloud Best Practices
Site Configuration
- ALWAYS set
maintenance_mode before large data imports
- ALWAYS use the dashboard for site config changes (not direct file edits)
- NEVER disable scheduler on Frappe Cloud — use
pause_scheduler instead
- ALWAYS test app updates on a staging site before production
Backup Strategy
- Frappe Cloud creates automatic daily backups
- ALWAYS create a manual backup before major changes
- ALWAYS download and store backups off-platform periodically
- NEVER rely solely on Frappe Cloud backups — maintain your own copies
Performance
- Monitor site usage via the dashboard — upgrade plan before hitting limits
- Use background jobs for heavy operations (not synchronous API calls)
- Enable Redis caching for frequently accessed data
- Review slow query logs via the database analyzer tool
Frappe Cloud DevOps Tools
| Tool |
Purpose |
| Log Browser |
View application logs, error logs, scheduler logs |
| Database Analyzer |
Run SQL queries, view slow queries, analyze indexes |
| Binlog Browser |
View database change logs (binary log events) |
| SSH Access |
Terminal access to private benches for debugging |
| Process Status |
View running workers, scheduler status, job queue |
Analytics Integrations
Frappe Cloud sites can connect to external analytics tools:
- Frappe Insights (native)
- Power BI (via API)
- Metabase (via database connection)
- Custom dashboards (via Frappe API)
Reference Files
| File |
Contents |
| examples.md |
Cloud deployment workflow examples |
| anti-patterns.md |
Common Frappe Cloud mistakes and fixes |
1---2name: frappe-ops-cloud3description: >4 Use when working with Frappe Cloud, Press API, provisioning sites, or managing benches on Frappe Cloud infrastructure.5 Prevents failed deployments from misconfigured cloud settings and API misuse.6 Covers Frappe Cloud dashboard, Press API, site provisioning, bench management, environment variables, cloud-specific limitations.7 Keywords: Frappe Cloud, Press, cloud API, site provisioning, bench management, FC, frappecloud, Frappe Cloud deploy, FC hosting, cloud setup, managed hosting..8license: MIT9compatibility: "Claude Code, Claude.ai Projects, Claude API. Frappe v14-v16."10metadata:11 author: OpenAEC-Foundation12 version: "2.0"13---1415# Frappe Cloud & Press1617Complete reference for Frappe Cloud managed hosting and Press self-hosted alternative.1819---2021## Quick Reference: Frappe Cloud Concepts2223| Concept | Description |24|---------|-------------|25| **Site** | A single Frappe instance with its own database, domain, and apps |26| **Bench** | A shared runtime environment hosting one or more sites with the same app versions |27| **Server** | The underlying infrastructure (VM) running one or more benches |28| **Private Bench** | A dedicated bench for a single customer with full control |29| **Shared Bench** | A Frappe-managed bench shared across multiple sites |30| **Press** | The open-source platform (AGPL-3.0) that powers Frappe Cloud |31| **Agent** | Flask application on each server enabling Press-to-site communication |3233---3435## Decision Tree: Frappe Cloud vs Self-Hosted3637```38Choosing hosting strategy:39├── Small team, want zero ops overhead?40│ └── Frappe Cloud (Shared Bench) — fastest time to production41├── Need custom server configuration?42│ ├── Budget for managed infra? → Frappe Cloud (Private Bench)43│ └── Want full control? → Self-hosted with bench44├── Need to host Frappe for multiple clients?45│ ├── Want managed platform? → Frappe Cloud46│ └── Want own platform? → Self-hosted Press47├── Regulatory/compliance — data must stay on-premises?48│ └── Self-hosted (bench or Press)49└── Development/testing environment?50 ├── Quick prototype → Frappe Cloud (free trial)51 └── Long-term dev → Local bench installation52```5354---5556## Frappe Cloud Overview5758Frappe Cloud is a fully managed hosting platform for the Frappe stack. It handles server provisioning, backups, updates, monitoring, and scaling.5960### Core Features6162| Feature | Details |63|---------|---------|64| **Automated backups** | Scheduled daily backups with retention policies |65| **Automatic updates** | Managed update cycles for Frappe apps |66| **Scaling** | Horizontal and vertical scaling without downtime |67| **Multi-tenancy** | Multiple independent sites per bench |68| **SSL/TLS** | Automatic certificate provisioning and renewal |69| **Monitoring** | Real-time server and site monitoring |70| **Role-based access** | Granular permissions for team members |71| **Billing** | Daily/monthly subscriptions, wallet credits, multiple payment methods |7273### Infrastructure Options7475| Option | Use Case |76|--------|----------|77| **Shared Bench** | Cost-effective for small sites; Frappe manages the bench |78| **Private Bench** | Dedicated environment; custom app versions and update schedules |79| **Dedicated Server** | Full server for high-traffic or compliance requirements |8081---8283## Frappe Cloud Dashboard8485### Site Management8687The dashboard provides centralized control for all site operations:8889- **Create sites** — Provision new sites on shared or private benches90- **Install/remove apps** — Add or remove Frappe apps from sites91- **Backups** — Manual and scheduled backups, restore from backup92- **Domain management** — Add custom domains with automatic SSL93- **Site config** — Edit `site_config.json` via the dashboard94- **Monitoring** — View CPU, memory, disk usage, and request logs95- **Site actions** — Migrate, update, suspend, archive, or transfer sites9697### Bench Management9899- **Create benches** — Set up shared or private benches100- **App management** — Select apps and their versions/branches101- **Update scheduling** — Control when benches receive updates102- **Environment variables** — Set custom environment variables103- **SSH access** — Connect to bench via SSH for debugging104- **Log browser** — View application and error logs105- **Database access** — Query the database via the dashboard106107### Server Management108109- **Provision servers** — Create servers across multiple cloud providers110- **Scale resources** — Upgrade CPU, memory, and storage111- **Storage add-ons** — Attach additional storage volumes112- **Server snapshots** — Create and restore server snapshots113114---115116## Deploying Apps on Frappe Cloud117118### Adding a Custom App1191201. Navigate to **Apps** in the Frappe Cloud dashboard1212. Click **Add App** and provide the GitHub repository URL1223. Select the branch to deploy1234. Configure build settings if needed1245. The app becomes available for installation on sites within compatible benches125126### App Marketplace127128Frappe Cloud includes a marketplace where developers can:129130- List apps with descriptions and pricing131- Set compatibility requirements (Frappe version, dependencies)132- Configure pricing models (free, one-time, subscription)133- Manage payouts for commercial apps134- Track installations and usage analytics135136### Deployment Workflow137138```139Developer pushes code → Frappe Cloud detects update →140 Bench rebuild triggered → Assets compiled →141 Sites migrated → New version live142```143144**For Private Benches**: Updates are controlled by the bench owner — NEVER auto-deployed without approval.145146**For Shared Benches**: Frappe manages the update schedule.147148---149150## Site Provisioning Workflow151152### Creating a New Site1531541. **Select bench** — Choose shared or private bench1552. **Choose plan** — Select resource allocation (CPU, memory, storage)1563. **Configure apps** — Select which apps to install1574. **Set domain** — Use `*.frappe.cloud` subdomain or custom domain1585. **Create** — Frappe Cloud provisions the site (typically under 5 minutes)159160### Custom Domain Setup1611621. Navigate to site **Domains** in the dashboard1632. Add your custom domain (e.g., `erp.example.com`)1643. Configure DNS: Add a **CNAME** record pointing to the Frappe Cloud proxy1654. Frappe Cloud verifies DNS and provisions SSL certificate automatically1665. **ALWAYS** wait for DNS propagation before expecting SSL to work (up to 48 hours)167168### Critical Rules169170- **ALWAYS** use CNAME records for custom domains (not A records)171- **NEVER** transfer DNS to Frappe Cloud — only add CNAME records172- **ALWAYS** verify SSL is active before switching production traffic173- Custom domain SSL uses Let's Encrypt — auto-renews before expiry174175---176177## Frappe Cloud vs Self-Hosted Comparison178179| Aspect | Frappe Cloud | Self-Hosted (bench) | Self-Hosted (Press) |180|--------|:------------:|:-------------------:|:-------------------:|181| **Setup time** | Minutes | Hours | Days |182| **Server management** | Managed | You manage | You manage |183| **Backups** | Automatic | Manual/cron | Automatic |184| **Updates** | Managed schedule | `bench update` | Managed via Press |185| **SSL certificates** | Automatic | Manual/certbot | Automatic |186| **Scaling** | Dashboard button | Manual | Dashboard |187| **Multi-tenancy** | Built-in | DNS multi-tenant | Built-in |188| **Cost** | Subscription | Infrastructure only | Infrastructure only |189| **Custom server config** | Limited | Full control | Full control |190| **Data sovereignty** | Frappe's infra | Your infra | Your infra |191| **SSH access** | Private bench only | Full | Full |192| **Monitoring** | Built-in | Set up yourself | Built-in |193| **Support** | Included | Community only | Community only |194195---196197## Press: Self-Hosted Frappe Cloud198199### What Is Press?200201Press is the open-source platform (AGPL-3.0) that powers Frappe Cloud. Organizations can self-host Press to create their own managed hosting platform for Frappe applications.202203**GitHub**: `https://github.com/frappe/press`204205### Architecture206207| Component | Technology | Role |208|-----------|-----------|------|209| Press | Frappe Framework | Platform management, billing, dashboard |210| Agent | Flask | Server-to-site communication |211| Docker | Container runtime | App packaging and deployment |212| Ansible | Automation | Server provisioning and configuration |213| Frappe UI | Vue.js | Dashboard frontend |214215### Key Capabilities216217- **Multi-server management** — Provision and manage multiple servers218- **Site lifecycle** — Create, update, migrate, backup, restore, archive sites219- **Bench management** — Deploy benches with specific app versions220- **Billing system** — Subscriptions, invoicing, wallet credits, ERP integration221- **Marketplace** — App listing, pricing, payouts222- **Role-based access** — Granular permissions per team and resource223- **Monitoring** — Real-time metrics and alerting224225### When to Self-Host Press226227- You need to host Frappe for multiple clients/tenants228- You want a managed platform but on your own infrastructure229- You need full data sovereignty and regulatory compliance230- You want to offer Frappe hosting as a service231232### When NOT to Self-Host Press233234- **NEVER** self-host Press for a single site — use bench directly235- **NEVER** self-host Press without dedicated DevOps capacity236- **NEVER** underestimate the operational overhead — Press itself requires maintenance237238### Self-Hosting Requirements239240- Dedicated servers (bare metal or VMs) with Ubuntu241- DNS management for wildcard domains242- Object storage for backups (S3-compatible)243- SMTP service for transactional email244- Familiarity with Ansible, Docker, and Frappe Framework245246---247248## Frappe Cloud Limitations249250### What You CANNOT Do on Frappe Cloud251252- Install system-level packages (no root access on shared benches)253- Modify Nginx/Supervisor configuration directly254- Access raw database files (only SQL access via dashboard)255- Run long-running background processes outside Frappe's job queue256- Use non-standard ports or protocols257258### Shared Bench Limitations259260- No SSH access261- No custom environment variables (use site_config.json instead)262- Shared resources with other sites — performance may vary263- Update schedule controlled by Frappe (not the site owner)264265### Private Bench Advantages Over Shared266267- SSH access for debugging268- Custom environment variables269- Controlled update schedule270- Dedicated resources271- Custom app versions and branches272273---274275## Frappe Cloud Best Practices276277### Site Configuration278279- **ALWAYS** set `maintenance_mode` before large data imports280- **ALWAYS** use the dashboard for site config changes (not direct file edits)281- **NEVER** disable scheduler on Frappe Cloud — use `pause_scheduler` instead282- **ALWAYS** test app updates on a staging site before production283284### Backup Strategy285286- Frappe Cloud creates automatic daily backups287- **ALWAYS** create a manual backup before major changes288- **ALWAYS** download and store backups off-platform periodically289- **NEVER** rely solely on Frappe Cloud backups — maintain your own copies290291### Performance292293- Monitor site usage via the dashboard — upgrade plan before hitting limits294- Use background jobs for heavy operations (not synchronous API calls)295- Enable Redis caching for frequently accessed data296- Review slow query logs via the database analyzer tool297298---299300## Frappe Cloud DevOps Tools301302| Tool | Purpose |303|------|---------|304| **Log Browser** | View application logs, error logs, scheduler logs |305| **Database Analyzer** | Run SQL queries, view slow queries, analyze indexes |306| **Binlog Browser** | View database change logs (binary log events) |307| **SSH Access** | Terminal access to private benches for debugging |308| **Process Status** | View running workers, scheduler status, job queue |309310### Analytics Integrations311312Frappe Cloud sites can connect to external analytics tools:313- Frappe Insights (native)314- Power BI (via API)315- Metabase (via database connection)316- Custom dashboards (via Frappe API)317318---319320## Reference Files321322| File | Contents |323|------|----------|324| [examples.md](references/examples.md) | Cloud deployment workflow examples |325| [anti-patterns.md](references/anti-patterns.md) | Common Frappe Cloud mistakes and fixes |