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.

Enable auto scale parameters

Enable auto scale parameters

From the course: Docker on AWS

Start my 1-month free trial

Enable auto scale parameters

- [Instructor] So, when our service is running, it doesn't scale, so if we hit this hard enough, we could potentially run out of capacity on the two container instances that are running. They're both fairly small memory, so they don't have a whole lot of capacity. Instead, what we want to do is we actually want to update our service and add in actual scaling. We're catching metrics already and we'll look at those in a future video, but we can at least start using the data that we're collecting to define how our service is supposed to operate and how it's supposed to scale. So we can skip the upfront replica definition. That's the same, we're not going to change the actual service model. But we do want to configure auto scaling, so what's the minimum number of tasks? Well, I want at least one. You could scale to zero if you wanted to. The desired, well, let's make that a little higher and the maximum, let's make that even…

Contents