From the course: Docker on AWS

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: Define auto scale minimums

Solution: Define auto scale minimums

From the course: Docker on AWS

Start my 1-month free trial

Solution: Define auto scale minimums

(upbeat music) - So, in our case we just have the one task running. So, to fix this we can go into Services. Find our service, update it, and specifically we want to get to the auto-scaling component here, and update our minimum and maximum number of tasks. We can say, look, we really want a minimum of two. And right now, to start, yes, they need to be the same or equal. So, we desire to have two. A minimum is two. And this way we always have at least two workers running for us. So, when we go next, and then update. It'll take it just a moment, to actually go try that. So, now we see our desired count is two. It's only running one at the moment but it will auto scale that second resouce in just a moment as well. Actually, probably by the time we go look at our tasks. We refresh. This'll eventually catch up and we will have two resources running.

Contents