Score:0

AWS AutoScaling - Combining Dynamic and Predictive Scaling

ru flag

I'm working on setting up scaling policies for an ASG application.

I'm wondering if it is possible (or advisable) to combine Predictive and Dynamic scaling policies for a single ASG.

The peaks for the application load will be relatively cyclical, which should work well for Predictive Scaling. However there could be situations where the load is unusually high during particular events.

What I would like to do, is have the group scale based on forecasts, but also have the ability to scale in response to dynamic unexpected load.

What I want to avoid though, is a situation where the scaling policies are conflicting with each other. For example, the predictive scaling scale-down during heavy load times, because the forecast predicted low load.

It seems it would be easy enough to prevent problematic conflicts. For example, it could scale up if either of the policies, dynamic or predictive, indicated that additional capacity is needed, but only scale-down when both policies show that it's safe to do so.

Can anyone tell me if the scaling policies work in this way when combined. The documentation is fairly clear about how they work in issolation, but doesn't seem to mention what happens if they're combined.

Cory Mawhorter avatar
in flag
i'd also like to know this because ["If actual capacity is greater than the predicted capacity, Amazon EC2 Auto Scaling doesn't scale in capacity."](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-predictive-scaling.html#as-how-predictive-scaling-works) makes predictive scaling pretty effing niche in isolation
user1751825 avatar
ru flag
@CoryMawhorter I setup an application using both predictive and dynamic scaling, but it was just prior to moving to another company, so I don't actually know how well it's working. Next time I'm talking to someone from my old work, I'll enquire about it and provide an update here.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.