John Patrick Onyango
John Patrick Onyango
KPCKevin Powell - Community
Created by John Patrick Onyango on 5/23/2024 in #back-end
container vs VM for monolith application
Hi everyone, so I'm planning to build a SaaS app since the job market isn't that spectacular, however I have little experience (actually none-I'm "self taught") with deploying productions apps, server performance and costs . I plan to build the app using monolithic architecture but I'm not sure what is the best way to deploy it cost effectively, I have deployed containers on EC2 and ECS before for practice projects and I liked how you can spin up multiple containers to handle request spikes with a load balancer, but at the same time I read that containers are better suited for microservices, the app that I plan to build is an ERP that should have 10,000 users per month. So what I need to understand is 1. if I were to deploy the entire app on an EC2 instance with db hosted separately and no containers , will the app handle the traffic since I wont be setting up a load balancer? 2. will it make sense to deploy a monolith using containers so as to incorporate load balancing( i.e by creating multiple instances of the app and using nginx to round robin through the container instances)?...lastly I'd be thankful for any advice from anyone who has deployed production applications before on how to approach this. Thanks
51 replies
KPCKevin Powell - Community
Created by John Patrick Onyango on 1/23/2024 in #back-end
CORS keeps blocking request during preflight on the browser
No description
11 replies