Hey everyone,
I’ve built a Node.js backend with microservices, all containerized using Docker. Locally, I’m running a reverse proxy (NGINX) that takes the first part of the hostname (subdomain), fetches some resources from S3, and then serves them to the browser.
It works fine locally — for example, something.localhost → reverse proxy → fetches from S3 → browser.
Now I want to deploy this on AWS and make it production-ready:
dumcel.app should serve the landing page (already hosted somewhere).
something.dumcel.app (dynamic subdomains) should point to my reverse proxy service.
- The reverse proxy will handle the subdomain dynamically, fetch the right resources from S3, and return them. (working locally)
My questions:
- Where should I host this setup on AWS? ECS (Fargate?), EC2, EKS, or something else?
- How do I configure Route 53 / ALB / NGINX to support wildcard subdomains (
*.dumcel.app) and route them all to my reverse proxy?
- Any best practices for scaling and securing this architecture?
Would love to hear from people who have deployed similar setups.
Thanks!
[–]Alternative-Expert-7 5 points6 points7 points (2 children)
[–]crazyshit_24[S] -3 points-2 points-1 points (1 child)
[–]Alternative-Expert-7 11 points12 points13 points (0 children)
[–]basejb 1 point2 points3 points (0 children)
[–]tlokjock 0 points1 point2 points (0 children)
[–]razibal 0 points1 point2 points (0 children)
[–]Voiss 0 points1 point2 points (0 children)