FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Should I run multiple environments in different tenants or different instances?

    Scheduled Pinned Locked Moved
    Q&A
    environments instances isolation
    0
    2
    11.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • danD
      dan
      last edited by dan

      When evaluating and developing against FusionAuth, I have set up different tenants for development and staging and production. This is also outlined here: https://fusionauth.io/blog/2018/09/24/multi-tenancy-in-a-single-tenant-architecture/

      Is this the way you would recommend, or should we run three instances?

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by dan

        I'm a former consultant, so the answer is, as always, "it depends".

        Strengths of running in different tenants:

        • easier to manage (only one instance to run and upgrade)
        • configuration, such as lambda or identity provider config, can be shared across tenants
        • cheaper to run (again, only one instance and database to pay for)

        Strengths of running in different instances:

        • true isolation when running
        • you can allow developers access to the admin ui of the instance
        • a misconfiguration in development isn't going to affect production
        • you can have a true IaC approach, where you deploy config changes across environments one at a time

        In general, it makes sense to be careful about production environments, as if any configuration changes are made in error, it can impact the customer experience.

        It really depends on what works best for you.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post