Software & SaaS · Practical guide

SaaS application architecture: what to design before writing the MVP

How to design a SaaS application before coding: tenant identity, isolation, onboarding, entitlements, MVP boundaries and multi-customer operations.

A SaaS product is an operating model as well as an application

AWS notes that there is no one-size-fits-all SaaS architecture and treats repeatable tenant onboarding, unified operations and tenant profiles as product-level concerns. [1] The first design question is therefore not the framework; it is what a tenant is, which data belongs to it and how a new customer enters the system without a one-off deployment.

1. Make tenant context part of identity

AWS describes SaaS identity as the combination of user identity and tenant context. [2] That context needs to be available wherever authorisation decisions are made, not only in the interface.

  • Define whether a tenant is a company, branch, franchise or another business unit.
  • Decide whether users can belong to one or multiple tenants.
  • Separate user roles from commercial plan entitlements.
  • Make tenant-aware authorisation part of backend requests.

2. Choose an isolation model based on risk

Tenant isolation is foundational. AWS documents pooled, siloed and mixed approaches and emphasises that domain, compliance, cost and workload shape the decision. [3] A small B2B MVP does not automatically need a dedicated stack per customer, but it does need explicit isolation boundaries.

3. Treat onboarding as a product workflow

Organisation creation, admin assignment, invitations, default configuration, plan entitlements and optional initial import should form a repeatable workflow. If every customer requires database edits or bespoke scripts, the product still behaves like a project.

4. Validate operations in the MVP

AreaUseful MVP baselineWarning sign
Onboardingsame flow for every tenantmanual setup per customer
Isolationbackend tests across tenant boundariesUI filtering only
Rolesserver-side permission checkshidden buttons as the main control
Observabilityerrors can be traced to a tenantlogs without tenant context
Planscontrolled entitlementsfeature switches changed ad hoc

5. Do not design the unvalidated MVP for imaginary hyperscale

A clear data model, modular boundaries, stable API contracts and enough observability usually matter more than premature infrastructure complexity. Scale the architecture when product evidence and workload data justify it.

Verification

Sources and further reading

These sources support definitions, methods or factual claims in the article. OPTIFLOW examples are identified separately and are not presented as third-party statistics.

  1. AWS Well-Architected — SaaS Lens — General SaaS design principles, onboarding and multi-tenant operations. Open source ↗
  2. AWS Well-Architected — SaaS Identity — Tenant context associated with identity and authorisation. Open source ↗
  3. AWS Well-Architected — Tenant Isolation — Tenant isolation and factors that influence implementation strategy. Open source ↗

Continue exploring

Related pages and examples

Practical application

Working with a similar process? Start with the audit, not the tool.

We audit the current workflow, data, exceptions and measurable outcomes before choosing optimisation, automation, integration or custom software.

Discuss the process