Native Database Multi-Tenancy
Manage diverse datasets across multiple tenants within a single database environment - no engineering required.
Introduction to Fauna Multi-Tenancy
Explore Fauna's robust multi-tenancy in 5 minutes: Learn how Fauna ensures data isolation, scalability, and dynamic security in multi-tenant applications without any engineering overhead.
Data Isolation By-Default
Fauna's native hierarchical database structure enhances security by allowing each database, including child databases, to maintain separate access controls and logical isolation. This ensures that transactions within a database cannot access data outside of it, providing strong isolation guarantees. Unlike traditional databases that use a tenant column in the same table and filter queries, Fauna's model prevents any risk of cross-tenant data access, providing stronger guarantees for data security and integrity.
“Fauna is the reason we are still in business. There is not enough good stuff I can say about the folks over there.” Read case study
Alice
From Wonderland
Reduce Engineering Overhead and TCO
Eliminate the costs and operations associated with managing separate databases, configurations, and security protocols for each tenant. Fauna’s built-in multi-tenancy enables rapid, programmatic database creation and simplifies the development and deployment of multi-tenant applications – with Fauna, developers can write application code as if interacting with a single database. This minimizes the need for extensive manual intervention and infrastructure management.
Increase Development Velocity
Rollout new features and updates faster by managing data for multiple tenants within a single database architecture, significantly reducing the complexity associated with maintaining separate databases for each tenant.
Capabilities
Parent-Child Database Structure
Organize data in a native parent-child hierarchy, allowing for easy management of tenant databases with individual access controls.
Design application code and the data model of a multi-tenant architecture as if operating with a single-tenant system. This setup not only keeps data isolated but also allows global settings or schemas to be managed at the parent level, simplifying maintenance and updates.
Database-Level Isolation
Automate the deployment of new tenants without the need for pre-allocated disk space or extensive configuration. Upon tenant creation, databases are instantly instantiated, streamlining the setup process and eliminating the operational bottlenecks (like managing individual tables or extensive IAM permissions) typically associated with scaling multi-tenant architectures.
Scoped-Sessions
When a user logs in, their session is automatically scoped to a specific database. This ensures that users interact only with the data relevant to their tenant, without need for additional coding.
This reduces the risk of data leaks between tenants and simplifies security management, as the database automatically enforces boundaries based on the user’s session.
Granular Feature Management
Schema updates, function deployments, and security settings are independently managed in each tenant database. This allows for granular control over database functionality, enabling tenants to test new features or roll them back as needed without affecting others.
Use Cases
Isolate Tenant Data
Fauna’s multi-tenancy features make it trivial to create new databases for each tenant, ensuring complete data isolation. , while its dynamic ABAC reduces the risk of unauthorized access or data leaks between clients. For example, a SaaS platform serving multiple businesses can keep each tenant’s data isolated and secure, ensuring privacy while simplifying data management and backup processes.
Scale with Tenant Growth
Enable efficient management of eCommerce & Retail customer databases within a single unified system, simplifying operations and reducing overhead. Seamless scaling during peak-demand periods, ensuring robust performance and consistent customer experiences across all tenant environments.
Simplify Development and Deployment
Multi-tenancy in Fauna simplifies development and deployment processes by managing multiple tenants within a single codebase. A project management tool, for example, can deploy updates and new features across all tenant environments simultaneously, reducing operational overhead and ensuring consistency.
Enhance Security and Compliance
Fauna’s multi-tenancy features enhance security and compliance by isolating tenant data and ensuring that data access policies are strictly enforced. In a healthcare application, patient data from different clinics or hospitals can be securely separated, adhering to regulatory requirements like HIPAA.
Architectural Overview
A distributed document-relational database delivered as a cloud API
“We needed a database that could support a distributed, multi-tenant architecture with robust ABAC and user controls. We looked at Dynamo and Mongo, but only Fauna delivered it all without extensive engineering.”
Arjun Bhatnagar
CEO @ Cloaked
Get started building with Fauna
Explore resources that can help get you up and running in minutes.
Multi-tenant SaaS Sample App
Learn how to build a multi-tenant, multi-region SaaS app without ops using Fauna and AWS
BUILD THE SAMPLE APP
New to Fauna Query Language?
This guide can help you get started with FQL in under 10 minutes.
READ MORE
Workshops
Learn how to build complete applications using technology like AWS, Cloudflare, and more.
EXPLORE THE WORKSHOPS
FAQs
Have other questions? Feel free to contact us, or browse our documentation.
Get started building with Fauna
Explore resources that can help get you up and running in minutes.
Multi-tenant SaaS Sample App
Learn how to build a multi-tenant, multi-region SaaS app without ops using Fauna and AWS
BUILD THE SAMPLE APP
New to Fauna Query Language?
This guide can help you get started with FQL in under 10 minutes.
READ MORE
Workshops
Learn how to build complete applications using technology like AWS, Cloudflare, and more.
EXPLORE THE WORKSHOPS
FAQs
Have other questions? Feel free to contact us, or browse our documentation.
Ready to get started?
Launch a new app, modernize an existing app, and scale seamlessly across regions with Fauna.
Ready to get started? Launch a new app, modernize an existing app, and scale seamlessly across regions with Fauna.
Ready to get started? Launch a new app, modernize an existing app, and scale seamlessly across regions with Fauna.