Settings

Theme

Ask HN: Solid setup for local microservices architecture

5 points by kostarelo 2 years ago · 3 comments · 1 min read

Reader

What are some impressive setups you've seen or you've implemented on locally replicating a microservices architecture with local DBs and other backend dependencies.

I'm looking into docker-compose with remote docker-compose yaml files but I'm not sure of how solid is going to be.

Our services are mostly Node.js based services and dockerised already. Production environment is setup on AWS ECS.

leandot 2 years 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.

  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
Not sure if that is what you meant, feel free to get in touch.
kostareloOP 2 years ago

Author here: just wanted to clarify that the question was meant to be for creating a local development environment.

userNY1 2 years ago

why docker-compose and not kubernetes?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection