scalable LAMP with postrgres, kubernetes with high availablity
I am deploying a LAPP (linux, Apache, Postgres & PHP) app on DO and looking for an always available and scalable architecture. Here is my plan
a. set up the webapp in Read only volume
b. set up client files in readwrite folder in volume
c. set up Redis to manage the sessions
d. set up a kubernetes to manage pods for scaling up / higher availability (on the understanding that it will spin-off pods on need and destroy when it fails, automatically. Please correct)
e.set up managed postgres for storing data (should i store the persistent data on volume).
Obviously i am confused with tons of materials but none matching my requirement end to end. either i have singe droplet with all the stack and DB in one VM or kubernetes videos without the web / db set up.
would be glad if you guide me to the right article / videos or correct my understanding above is wrong.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×