Docs
Skip to content

Self-hosting

Preparation_

Optimize self-hosted Appwrite for production environments. Learn key concepts and best practices for deploying Appwrite in production.

2 min read

Raw

Appwrite's default setup is designed to help you start building quickly. To succeed with Appwrite in a production environment, you should follow key concepts and best practices outlined in this section.

This guide assumes you have some basic understanding of Docker and Docker Compose command-line tools.

Production checklist

Before deploying Appwrite to production, ensure you have configured:

  • Security - Implement essential security practices
  • Scaling - Configure horizontal and vertical scaling for your containers
  • Rate limits - Enable rate limiting to protect against abuse
  • Email delivery - Set up reliable SMTP for production email delivery
  • Error monitoring - Configure error tracking and logging
  • Backups - Set up regular database and storage backups
  • Updates - Plan for version updates and migrations
  • Debugging - Set up monitoring and debugging tools

Key principles

When deploying Appwrite in production:

  • Security first - Always use HTTPS, secure your console access, and implement proper authentication
  • Monitor everything - Set up logging, error tracking, and performance monitoring
  • Plan for scale - Design your infrastructure to handle growth
  • Backup regularly - Implement automated backup strategies for data protection
  • Stay updated - Keep Appwrite and dependencies up to date with security patches

Was this page helpful?

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