How difficult would it be to migrate
# spicedb
c
How difficult would it be to migrate from one way of hosting it such as aws to another, such as authzed's dedicated or a self-hosted kubernetes cluster? Is there a standard way of (live?) migrating the data between two different instances?
t
zed backup
may help, though I'm not sure this answers the "live" part of this question: https://authzed.com/blog/how-to-backup-and-restore-spicedb
c
thanks for the pointer! It's a good starting point
y
@Chris Morin iirc it's theoretically possible to have two different SpiceDB clusters pointed at the same backing datastore. it's functionally what you've got when you're running in ECS, since the pods aren't aware of each other.
(for the self-hosted ECS -> self-hosted k8s example)
for dedicated, we run our own backing store, so there would need to be a data migration; i can ask what the process for that would be
c
A migration might require migrating between backing stores though. addressed For regular operation, we were planning on having multiple instances pointing to a single backing store. From your previous comment it seems that you wouldn't recommend this.
y
i wouldn't from a performance perspective, since the horizontal dispatch mechanism for reads wouldn't work
but it's still going to be correct
so you can stand up a k8s cluster pointing at the same datastore and cut traffic over to it
c
gotcha. I think we'll be okay without much horizontal scaling for a while, so we'll start with that, and then move to k8 when needed
y
iirc that's what we did at my old company when we moved from self-hosted ECS to k8s
c
thanks for the help! It's greatly appreciated.
y
sure thing!
5 Views