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

    What is an easy way to set up a dev env after having a running production environment?

    Scheduled Pinned Locked Moved
    Q&A
    0
    2
    3.3k
    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.
    • joshuaJ
      joshua
      last edited by joshua

      What is an easy way to set up a dev environment by cloning a running production environment?

      1 Reply Last reply Reply Quote 1
      • joshuaJ
        joshua
        last edited by

        ❗ Move slowly - make sure to fully decouple production and dev instances.

        Some pointers or guideposts--

        Assuming you're running on your own infrastructure.

        1. Clone the production FusionAuth DB
        2. Point a new dev installation to it

        Caveats:

        • If you have webhooks enabled that may start making requests out to prod infrastructure from a new “dev” instance.
        • If you do have webhooks, you could start it up air-gapped and then disable everything that could contact an external system before you enable outbound traffic.
        • As long as the dev instances are the same version or greater it should work. You wouldn’t be able to attach the db to an instance running an older version than the schema.
        1 Reply Last reply Reply Quote 0
        • First post
          Last post