hello! for setting up GB on-prem, is it recommende...
# ask-questions
r
hello! for setting up GB on-prem, is it recommended to use EC2 or ECS?
h
We're not prescriptive, but we run it as a container through Lambda. We've also seen quite a bit of EKS.
r
Okay, I see. Thank you. And is it advisable to spin up one instance per environment (dev/prod) or just one instance?
Just starting my research into this tool, so apologies if these are obvious questions!
h
we have one cluster total which autoscales. the mongo database is hosted separately from the instances
r
I guess I’m wondering for spinning up on-prem docker images - not GB cloud
h
a single instance is probably sufficient as long as you add a caching layer (CDN, proxy, or both)
r
gotcha. But in case we did decide to spin up two instances (since our dev / prod VPCs are walled, we might have to), that’s possible from the subscription perspective?
as in, can we use the same contract for two instances?
h
probably, i think. not sure how it's configured on your end. Just be sure to allow both instances to speak with the same mongo cluster.
r
hhm why?
we’ll be using aws documentDB i think, not mongo
h
most folks use the same database so that they can move feature rules and experiments between environments for ease of testing
👍 1
r
ah ok, that makes sense
thanks!!
h
no problem