Skip to content

Support multi-tenant #1090

Description

@kenklin

Describe the feature you'd like to request

Amplify DataStore with Multi-tenancy

As a SaaS software company, we have customers whose data not only needs to be protected from each other, but also need finer access for different employees within the company. Furthermore, our professional motorsports team customers need software that is local-first, so that their data may be manipulated, viewed, and analyzed by our software in a standalone fashion on their laptops (Electron) and mobile devices (and web), later to be backed up to the cloud and synced with other team engineers. We work with SRO Motorsports, which AWS is a title sponsor.

At first glance, Amplify DataStore's selective sync with AppSync and DynamoDb seemed like a promising technology to implement local-first data with cloud sync, but we then realized in our discussion with AWS staff on Discord that multi-tenancy was not easily provided out of the box.

Describe the solution you'd like

Multi-tenant local-first data base that can sync with cloud, running on

  • Windows & Mac Desktops (Electron),
  • PWA,
  • Mobile

We'd like to see a complete front-to-back multi-tenant example, from a customer user's authentication in an Amplify app, to DataStore read/write, AppSync, to DynamoDb.

Describe alternatives you've considered

We've read about several including those mentioned here. We are currently experimenting with Couchbase Lite and may also try Firebase.

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request

Would this feature include a breaking change?

  • ⚠️ This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions