AppStream timeouts and auto scaling

0

When using Application Auto Scaling with AppStream Fleet is this assumption correct (see picture below)? Enter image description here What I mean is: does the Instances in Idle and Disconnect Timeouts count as a Running Capacity and are included in CapacityUtilization within CloudWatch Alarms metrics? Is the assumption correct that cooldown and evaluation period would be picked up by CloudWatch alarm after the Timeouts have expired?

  • Quick clarification: Cooldown only happens after Application AutoScaling triggers a scaling event. If any changes happen internal to AppStream (ex, it replaces an instance after a user session ends), AutoScaling doesn't know about that at all, so no cooldown is triggered.

profile picture
Les
已提問 2 年前檢視次數 395 次
1 個回答
1
已接受的答案

Yes.

AppStream instances under Idle Disconnect and Disconnect timers are still 'Running' and instances are powered on and you will be billed for the running time. This will be a part of the Running Capacity and will be counted in Capacity utilisation.

During the cooldown periods, scaling policies do not act unless it is scheduled policy or there is a scale out policy trigger during the cool down period. Reference under 'Define cooldown period' - https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html

profile pictureAWS
Arun_PC
已回答 2 年前
  • Thank you for your answer.

    We have another question regarding Idle and Disconnect timers. We're migrating an app that currently saves its state and users' work every 10 minutes. I wonder what happens in a situation where a user accidentally disconnects before 10 minutes (let's assume that 8 minutes of work has passed and the user closes the browser tab). Will our application live, so to say, and be able to write to S3? I understand that session is in a Disconnect timeout state but will our app be able to save the last work made by a user in this state? Or does the instance enter some kind of hibernate state?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南