TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Solid setup for local microservices architecture

5 pointsby kostareloover 1 year ago
What are some impressive setups you&#x27;ve seen or you&#x27;ve implemented on locally replicating a microservices architecture with local DBs and other backend dependencies.<p>I&#x27;m looking into docker-compose with remote docker-compose yaml files but I&#x27;m not sure of how solid is going to be.<p>Our services are mostly Node.js based services and dockerised already. Production environment is setup on AWS ECS.

3 comments

leandotover 1 year ago
The AWS ECS cli understands the syntax of docker-compose files, so you can use almost the same setup as local development. Also depending on your setup, e.g. if your services are stateless and the state is kept somewhere else like SQS queue, you can parallelize 100x with a single command.<p><pre><code> ecs-cli compose -f docker-compose.prod.yml --ecs-params ecs-params.yml service up --cluster YOUR_CLUSTER ecs-cli compose -f docker-compose.prod.yml --ecs-params ecs-params.yml service scale 100 --cluster YOUR_CLUSTER </code></pre> Not sure if that is what you meant, feel free to get in touch.
kostareloover 1 year ago
Author here: just wanted to clarify that the question was meant to be for creating a local development environment.
userNY1over 1 year ago
why docker-compose and not kubernetes?