Does AWS provide any managed service that would allow me to do path based proxying on the same domain? For example http://www.example.com/ should target one pool of instances while http://www.example.com/something should target different servers. Is this possible?
Application Load Balancers have this capability.
You can use AWS Application Load Balancer. And here you can see my sample blog post about it ( using with ecs )