Stop Deploying to ECS Just to See If Your Code Works
metalbear.comHi HN, Eyal from MetalBear here, thanks Liriel for posting. Indeed, with the new mirrord for ECS you add a setup container to the task definition in staging once, and from then on your local code can run as if it were the live task, with its network, environment and IAM role. Only requests with your session header reach it, and everyone else on staging keeps hitting the deployed task. Bottom line is much faster development cycle against ECS, obviously much more important now with agents. Happy to take questions!
Stop slamming us with AI-authored posts. It's profoundly disrespectful.
"Nothing else does this on ECS, and there’s a reason for that."
Come on.
This sadly doesn't seem to be about entity component systems
Style nit: I kind of hate these kinds of titles. "Stop deploying to ECS", OK, I'm interested in reading a take here... but then the take is "... because we have a new product offering that avoids the need".
If it's a strong product offering, a more forthcoming title shouldn't hurt your clicks.
Did I miss something and local dev environments have stopped existing?
They still exist, they just don’t scale easily for fast growth teams. Running your one service locally is easy, but running the 40 services, queues and databases it depends on isn’t, so you either mock them or deploy to staging to see real behavior. The solution mirrord proposes is running the one service you’re working on locally while using the cluster’s traffic, db, env and files. (disclosure: I work here)
I didn't understand why you'd have to deploy to see a change either but I guess its a limitation of their platform, which they now found a work around for.