I am running a php-mysql-based web application with around 1K traffic/day on compute engine and its database is on Google SQL. I am not a techy person but managed to come this far by learning by ears with bunch of YouTube videos - thx to those experts sharing all the steps.
As the traffic increases, we have decided to upgrade our look and feel of the website which would definitely involve files modification and its DB as well but we have been looking for any possible solution to upgrade it without bringing the website down, from there I got to know about CICD concept.
With my little understanding, Google load balancer can control the traffic to designated prepared instances as we want and I see that SQL (database) can be replicated each other automatically (please correct me if I am wrong)
This got me to think, what if we can isolate 1 instance for the developers/designers to start making code changes/design while the rest of whole world can go to other instances? and upon the changes are done, switch the traffic the other way and synch with master database... no downtime and new design and code are up and running. Happy ending. :-)
I guess this is just a hypothetical idea with my little experience. My question to the experts here is...
- is this idea possible/making sense?
- if so, has it been done by anyone? if so, any reference?
- if there is no reference (which I could not find much), can anyone help spell out what things are possibly needed to realize this idea?
- if you have no idea of #3, any particular term I might need to use to search further?
- if this idea is not possible, is there any other solutions available out there you know?
Please shed some light here with your expertise. Thank you in advance.