Hey guys! Coming here for a bit of help on how to better think about configuring our infrastructure with Qovery.
Basically we have been having multiple issues regarding how to properly setup the resources, I’m not very sure how the resource limitation on Qovery works, but I have taken a look into our AWS account and we have 13 EC2 instances running and we currently have only 10 “apps” deployed with Qovery from which 4 are databases managed by our service providers, so basically we only have 6 containerized apps running.
We know that from the 13 EC2 instances that we are running at least 3 are unused from one of the clusters that we are expecting to be the production one; now 10 of them are t3.medium instances that are likely from our only used cluster, and it is so weird to me that each of them (having 2 vCPU’s and 4 GB RAM) we can setup as much as only 1 app node with 1 vCPU and 1 to 1.5GB RAM on the entire cluster (currently running 10 t3.medium instances, which is also crazy given how low our current load is).
Our current configuration for our main app is:
- 1vCPU + 1 GB Memory (on production) – 1-3 nodes for scaling
- 0.5 vCPU + 512MB Memory (on staging) – 1-2 nodes for scaling
Of these apps they are each on their own environment(but same cluster) and each environment has just 2 more apps each running on 0.5vCPU and 500MB ram with just 1 nodes for scaling. We can totally bring those configurations down given how low resource consumption they are, but still we have a lot of available resources to use which are not being used at all.
If I understand correctly the total sum of available resources for our cluster counting on all the t3.medium instances that are running on the AWS account is ~40GB Memory + 20 vCPU. Which is why for me is absolutely crazy that the limits for my apps is just 1 app instance with 1vCPU + 1GB of memory
How can we better calculate the resource distributions and stop having so much trouble with our app’s configuration?
Context
From the past week when we started using Qovery on both production and staging we have had apps freezing/halting several times due to misconfigurations on resources, and has become a frustrating problem not being able to understand how resources are distributed and how can we best configure it all, we really like the vision of just being able to deploy our app stages and preview-environments when needed so we can focus on writing the app code without much headache. So I’m coming here for some help on how to better understand this