Skip to main content

Deployment and Self-hosting

Welcome to the Flagsmith deployment and self-hosting guide. This section provides comprehensive information on how to deploy and manage your own Flagsmith instance in your infrastructure.

What is Self-hosting?

Self-hosting Flagsmith allows you to run the complete Flagsmith platform within your own infrastructure, giving you full control over your data, security policies, and deployment environment. This is ideal for organisations that require:

  • Data sovereignty: Keep your feature flag data within your own infrastructure
  • Custom integrations: Integrate with your existing tooling and workflows
  • Enhanced security: Implement your own security policies and compliance requirements
  • Offline capabilities: Deploy in environments with limited or no internet access

Deployment Options

Flagsmith supports multiple deployment methods to suit different infrastructure requirements:

Quick Start Options

Cloud Platform Support

Enterprise Orchestration

Core Configuration

Once deployed, you'll need to configure your Flagsmith instance:

Scaling and Performance

As your usage grows, you'll need to consider scaling and performance:

Administration and Maintenance

Ongoing administration tasks to keep your deployment running smoothly:

Edge Proxy

For high-performance deployments:

  • Edge Proxy: Deploy edge proxies for improved performance and reduced latency

Getting Started

To get started with self-hosting Flagsmith:

  1. Choose your deployment method: Start with Docker for a quick setup, or use one-click installers for cloud platforms
  2. Configure your environment: Set up environment variables and email configuration
  3. Initialise your instance: Create your first superuser using the initial setup guide
  4. Scale as needed: Monitor your deployment and scale using the scaling guides

Support

If you encounter issues during deployment or need assistance with enterprise features, please refer to our troubleshooting guide or contact our support team.

For enterprise deployments with additional features and support, consider the Enterprise Edition.