I received an email from a user with a couple of super interesting questions. I wanted to share with you my answers (with his approval) because they can give you also some insights. Here is his message:
Hey there, I recently found about Qovery. I have a few questions about what is possible:
- Microservices Can you have multiple apps running in a single environment? Say I have app1 (node), app2 (python), and app3 (java)
- Load balancing Internal vs External Let’s say app1 will receive traffic through an external Load Balancer, but needs to communicate with app2 and app3, can we have the traffic internally through an internal load balancer between the apps?
- Internal apps Can you have apps and resources (MySQL) be internal in a private subnet with no external access to them?
- Spot Instances Can you configure apps to use Spot Instances in AWS?
- Shutdown Easy way to turn off instances of test environments as a way of cost savings? Let’s say turn them on at 8 am and turn them off at 8 pm every day and off on the weekends.
First, I will talk about what we can do with Qovery v2 as we are about deprecating our v1. Let’s respond inline.
Q: Can you have multiple apps running in a single environment? Say I have app1 (node), app2 (python), and app3 (java).
A: Absolutely, you can have multiple apps within one single environment, and you can even create an environment from an existing one - E.g to create a development or staging env. You can take a look at this video showing how to put multiple apps within the same environment.
Qovery v2 beta - Create an env with mono repo apps and PostgreSQL — Watch Video
Q: Load balancing Internal vs External Let’s say app1 will receive traffic through an external Load Balancer, but needs to communicate with app2 and app3, can we have the traffic internally through an internal load balancer between the apps?
A: Absolutely, your apps within the same environment can communicate through the internal network or the external network if you want. It’s up to you and both are possible.
Q: Can you have apps and resources (MySQL) be internal in a private subnet with no external access to them?
A: Absolutely, it is even recommended to not expose your databases. However, we authorize it for many reasons. We plan to make that part more secure to provide a turn-key SSH bastion to let you get access to your running applications and services in a very secure and easy way. You can keep an eye on the progress of this feature here.
Q: Can you configure apps to use Spot Instances in AWS?
A: I let @Pierre_Mavro (CTO and co-founder @ Qovery) respond to this question
Q: Shutdown Easy way to turn off instances of test environments as a way of cost savings? Let’s say turn them on at 8 am and turn them off at 8 pm every day and off on the weekends.
A: Absolutely, you can take a look at all the cost optimization features Qovery covers
Hope it helps