https://supertokens.com/ logo
Title
b

blockexplorer

01/03/2023, 2:30 PM
Is there any recommended guide on self hosting? I'm looking for best practices to implement this for 15-25K MAUs when my app scales up.
r

rp

01/03/2023, 2:31 PM
Hey @blockexplorer
b

blockexplorer

01/03/2023, 2:31 PM
Hey!
r

rp

01/03/2023, 2:31 PM
Using 2 cores in front of a round robin load balancer should be good enough. One core is enough, but adding a second one adds a fall over
Each core can be in a t2.micro ec2 instance
b

blockexplorer

01/03/2023, 2:32 PM
Thanks. Could it be a simple nginx load balancer in front of both ec2 instances?
r

rp

01/03/2023, 2:33 PM
Yup. Works well
b

blockexplorer

01/03/2023, 2:34 PM
Thanks. Appreciate quick response.
Hi @rp is there any docker image for supertokens core that I can simply run on 2 ec2s and put them behind an nginx load balancer?
r

rp

01/07/2023, 9:34 AM
Yea. You can find more info about it in our docs. Please search for docker
b

blockexplorer

01/07/2023, 9:36 AM
Ok. Thanks. Also, is the database part of the core or do I manage it separately? Can I use something like AWS RDS for this?
r

rp

01/07/2023, 9:36 AM
You can use RDS
b

blockexplorer

01/07/2023, 9:38 AM
Sure