Azure / Azure/RDS-Templates

How difficult would it be to Scale down during peak hours as well?

Open
#565 0 comments 4 reactions 0 assignees View on GitHub
4-WVD-scaling-tool feature
Dominant language
PowerShell
Stars
524
Forks
610
PR merge metrics
No merged PRs in 30d

Description

Hi
In the environment I want to apply this Autoscale there are no peak hours defined and, because of time zones, "peak hours" are 24x7.
Because if this, we need to implement an Autoscale solution that shuts down VMs 24x7 when they have less than a minimum of active sessions (or even 0 sessions).
I've just read the ps1 code for the first time and I can see it's long and with many parts.
I was wondering how hard would it be to modify it to replace the Peak hours system with this scale up / down 24/7 functionality?
Would it be impossible and it would be better to build something from the ground up? or it just needs coding time?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the PowerShell (.ps1) code and locating the existing peak-hours logic. Determine how active sessions and VM shutdown decisions are handled, then assess whether the schedule can be replaced with continuous scale-down decisions. Done would mean a defined approach for scaling down VMs whenever active sessions fall below the requested minimum.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.