I have a web app consisting of multiple services (authentication service, database, main web app..), and each of these services can run in container. Currently, when a customer ask for a demo, I am creating and running new instance of these containers on new open ports. But, it seems like this is not the right way to do, because each container is just consuming 1 GB RAM of my host machine (currently total 32 GB), even it is not used by anyone. What is your suggestions and is there any on hand solutions for this scenario? What should I research to find a solution for my need?
Edit response to comments:
- Firstly, it is not a laptop :), It is just a VM on Azure(32GB and 4 CPU), actually, yes, it's like laptop :(
- My customers want to (actually I want) test/evaluate my app without any installation, just filling a demo request form and then I will send them a mail to say "your main web app is running on http://somehost:someport, you can use it now!"
- Currently, I can perform the situation mentioned above, and someone who wants to use my app can use it. But it is not efficient.(???)
- You mention swarm/kubernates, So my main question is that; Is solution for my need is should be using swarm? If yes, How? is there an best practice approach you can share with me?
Now I will search on how to make my own SaaS system:)