I am trying to figure which instance to go with in AWS (cpu and ram config).
the load will be around 2-5k users and is heavy on database calls (aws RDS postgres), there is minimal computation. Since the server will have 2 cpu, number of works will be 5 (as per docs formula 2*cpu + 1), but I am unsure oh how much ram to go with, either 1gb or 2gb.
#Any CPU and RAM generic metrics for deploying django with gunicorn on a aws arm instance (t4g) ?
7 messages · Page 1 of 1 (latest)
I would start with 1gb but measure and monitor usage. Then upgrade when needed.
I don't think it can be predicted
right I was considering that but in general, was looking for some public metrics
will start with 1gb instance and increase if needed 👍
oh cool, will check it out, thanks
Once you find a ec2 instance that works, I'm betting the bottleneck will be the database
rds is already running on t2 micro and it usually gets to 15% cpu utlization on the old nodejs project, but django will defenetly use up quite a lot more, need to monitor and figure out if that needs an upgrade as well