Frappe ops cloud

From OpenAEC-Foundation/Frappe_Claude_Skill_Package · View interactive version

Frappe ops cloud is an AI agent skill from the GitHub repository OpenAEC-Foundation/Frappe_Claude_Skill_Package. Use when working with Frappe Cloud, Press API, provisioning sites, or managing benches on Frappe Cloud infrastructure. Prevents failed deployments from misconfigured cloud settings and API misuse. Covers Frappe Cloud dashboard, Press API, site provisioning, bench management, environment variables, c

How to use this skill

Skill file

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:

Bench Management

Server Management


Deploying Apps on Frappe Cloud

Adding a Custom App

  1. Navigate to Apps in the Frappe Cloud dashboard
  2. Click Add App and provide the GitHub repository URL
  3. Select the branch to deploy
  4. Configure build settings if needed
  5. The app becomes available for installation on sites within compatible benches

App Marketplace

Frappe Cloud includes a marketplace where developers can:

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

  1. Select bench — Choose shared or private bench
  2. Choose plan — Select resource allocation (CPU, memory, storage)
  3. Configure apps — Select which apps to install
  4. Set domain — Use *.frappe.cloud subdomain or custom domain
  5. Create — Frappe Cloud provisions the site (typically under 5 minutes)

Custom Domain Setup

  1. Navigate to site Domains in the dashboard
  2. Add your custom domain (e.g., erp.example.com)
  3. Configure DNS: Add a CNAME record pointing to the Frappe Cloud proxy
  4. Frappe Cloud verifies DNS and provisions SSL certificate automatically
  5. ALWAYS wait for DNS propagation before expecting SSL to work (up to 48 hours)

Critical Rules


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

When to Self-Host Press

When NOT to Self-Host Press

Self-Hosting Requirements


Frappe Cloud Limitations

What You CANNOT Do on Frappe Cloud

Shared Bench Limitations

Private Bench Advantages Over Shared


Frappe Cloud Best Practices

Site Configuration

Backup Strategy

Performance


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:


Reference Files

| File | Contents |

|------|----------|

| examples.md | Cloud deployment workflow examples |

| anti-patterns.md | Common Frappe Cloud mistakes and fixes |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.