I have a monolithic e-commerce website in management and like to expand it to multiple servers using a load balancer and single database server.
load balancer -> server 1 -> db server
| ^
L-> server 2 |
and in each server there is a web application for e-commerce and these web application source codes are identical.
That identical source codes push me thinking that I might use AWS EFS storage to share same source code in multiple servers so that I only need to manage single source code.
However, I'm not pretty sure that this kind of server structure is good or bad.
Please let me know any better idea or what to consider before implementing this server structure.
Thanks!!