top | item 40724946

(no title)

umen | 1 year ago

i was expecting for real life examples

discuss

order

harel|1 year ago

Real life:

AWS using ECS/ECR to start containers in an auto scaling group and behind a load balancer for an API layer. Similar setup for background workers. Starting with 2 instances for API, more for redundancy and ramping up as load increases. One or two smaller EC2 instance can handle the UI (SPA application). Database on RDS when funds increased, but initially just on another EC2 instance to save costs. Opting for running own services on EC2 was cheaper than managed.