AWS EC2 and projects with dockers : how to?

Image you have something that looks like that :
Wappler : 2 projects with 3 targets for each (dev local / staging and production)
stack : AWS / Docker / MariaDb

staging.myproject.com

staging.app.myproject.com

This means that I need to creat 4 instances in EC2 in order to get this running? There is no option to get stating and production using the same docker machine?

If it’s not possible, is there a way (in Wappler) to stop the staging machine when we don’t use them and start them when we deploy. This would avoid hours of instances or going to AWS to stop them.

How do you manage such (classic) project with this stack?

Community Page
Last updated: