Docs
Skip to content

Self-hosting

Self-hosting_

Set up your self-hosted Appwrite instance easily. Read the installation guide to configure and deploy Appwrite on your infrastructure for complete control.

4 min read

Raw

Appwrite was designed from the ground up with self-hosting in mind. You can install and run Appwrite on any operating system that can run a Docker CLI. Self-hosted Appwrite instances can be configured flexibly with access to the same features found on Appwrite Cloud.

Cloud vs Self-hosting

Choose the deployment method that fits your needs.

FeatureAppwrite CloudSelf-hosting
SetupZero setupManual setup required
MaintenanceFully managedYou manage updates and scaling
Data controlManaged infrastructureFull control over data location
ComplianceBuilt-in complianceConfigure for your requirements
ScalingAutomaticManual configuration

When to self-host

Self-hosting is ideal when you need data control or have specific compliance requirements.

Consider self-hosting if:

  • You want to manage your own infrastructure
  • You're a hobbyist or want to experiment with Appwrite in a playground environment
  • You need to develop against a local instance of Appwrite

Appwrite Cloud is recommended if:

  • You want to focus on building features, not managing infrastructure
  • Your team lacks extensive DevOps experience
  • You expect self-hosting to save costs (it often costs more when factoring in time and expertise)

Quick start

The fastest way to get started with Appwrite self-hosting:

  1. Use a one-click deployment - Choose from marketplace installations for instant setup
  2. Or follow the manual installation - Use our Docker installation guide for custom setups
  3. Configure services - Set up email, storage, and other services

Deployment options

Choose the deployment method that best fits your needs:

One-click deployments

Recommended: Use these pre-configured marketplace apps for instant setup:

  ProviderInstallation Link
DigitalOcean logoDigitalOceanClick to install
GitpodClick to install
Akamai ComputeClick to install
AWS logoAWS MarketplaceClick to install

Cloud platforms

For custom deployments on major cloud providers:

Platform-as-a-Service (PaaS)

Deploy Appwrite on modern PaaS platforms for simplified management:

Configuration

After deployment, configure Appwrite to enable additional features:

Production readiness

Ensure your Appwrite deployment is production-ready:

Security considerations

  • Environment Variables - Secure sensitive configuration using environment variables
  • TLS Certificates - Enable HTTPS with automated certificate management
  • Network Security - Configure firewalls and security groups appropriately
  • Access Control - Implement proper authentication and authorization

Performance optimization

  • Resource Scaling - Monitor and scale CPU, memory, and storage resources
  • Database Performance - Optimize database connections and queries
  • CDN Integration - Use content delivery networks for static assets
  • Load Balancing - Distribute traffic across multiple instances

Monitoring and maintenance

  • Health Checks - Set up monitoring for service availability and performance
  • Log Management - Centralize and analyze application logs
  • Backup Strategy - Implement regular database and file backups
  • Update Management - Keep Appwrite updated with the latest releases

Get started

Ready to self-host Appwrite? Choose your preferred path:

One-Click Deploy - Use a marketplace installation for instant setup (recommended)

Manual Installation - Follow our Docker installation guide for custom setups

Cloud Platform - Choose a cloud platform for production hosting with custom configuration

Platform-as-a-Service - Deploy on Coolify or similar platforms for simplified management

Was this page helpful?

Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.