Augusto Accorsi
Augusto Accorsi

Reputation: 327

How to scale Docker containers hosted on AWS ECS programmatically?

I have created a microservice cluster on AWS ECS with four microservices, each one with its Docker images. But looking in the ESC cli I cannot find a way to scale these images.

My goal is to create an application responsible to scale this microservice, but I could not find a way to execute it, does anyone has any clue how can I scale the images?

Thanks.

Upvotes: 0

Views: 181

Answers (1)

Mark B
Mark B

Reputation: 200990

You need to change the "desired count" in the ECS service. You would do this programmatically through the UpdateService API.

Upvotes: 1

Related Questions