TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Simple tool to schedule cloud resource scale up/down?

4 pointsby kierenjover 6 years ago
I&#x27;m looking for something which can allow setup&#x2F;automation of cloud resource scaling schedules or rules. Ideally, it&#x27;d be cross-provider and allow something like:<p>- At 6am, if service tier of resource X is less than Y, increase it to Y<p>- From 8am-1pm, unless usage % of resource X is greater than 25%, decrease service tier to Z<p>- Override rule 2 if it&#x27;s the weekend..<p>I guess, some system for evaluating and executing scaling rules, based on some criteria, scheduling, and priority.<p>I&#x27;ve done some digging and can&#x27;t find such a thing. It&#x27;s obviously possible with scripts and jobs, but I&#x27;d like the advantages of some kind of web UI. Anyone using (or built) anything like this?

3 comments

tedmistonover 6 years ago
[I&#x27;m assuming you&#x27;re not managing nodes using a container orchestration tool like Kubernetes.]<p>Have you looked at something like Auto Scaling Groups (AWS) &#x2F; Autoscaling Groups (GCP)?<p>You can customize the auto-scaling policy for how the nodes scale up &#x2F; down. You can define the auto-scaling policies around load balancing at some level (e.g., CPU utilization, HTTP load balancing, network load balancing) which is discussed in more detail in the docs below [1].<p>You can also create arbitrary metrics and arbitrary policies for those metrics and scale with a combination of policies. From [2]:<p>&gt; The autoscaler handles multiple policies by calculating the recommended number of virtual machines for each policy and then picking the policy that leaves the largest number of virtual machines in the group.<p>Usually auto-scaling config is tied to a particular service provider; while I haven&#x27;t done cloud-agnostic auto-scaling policies before personally, I would guess it could be achieved with a bit more effort using something like Terraform (examples: AWS [3], GCP [4]).<p>[1]: <a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;compute&#x2F;docs&#x2F;load-balancing-and-autoscaling" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;compute&#x2F;docs&#x2F;load-balancing-and-aut...</a><p>[2]: <a href="https:&#x2F;&#x2F;cloud.google.com&#x2F;compute&#x2F;docs&#x2F;autoscaler&#x2F;multiple-policies" rel="nofollow">https:&#x2F;&#x2F;cloud.google.com&#x2F;compute&#x2F;docs&#x2F;autoscaler&#x2F;multiple-po...</a><p>[3]: <a href="https:&#x2F;&#x2F;www.terraform.io&#x2F;docs&#x2F;providers&#x2F;aws&#x2F;r&#x2F;autoscaling_policy.html" rel="nofollow">https:&#x2F;&#x2F;www.terraform.io&#x2F;docs&#x2F;providers&#x2F;aws&#x2F;r&#x2F;autoscaling_po...</a><p>[4]: <a href="https:&#x2F;&#x2F;www.terraform.io&#x2F;docs&#x2F;providers&#x2F;google&#x2F;r&#x2F;compute_autoscaler.html" rel="nofollow">https:&#x2F;&#x2F;www.terraform.io&#x2F;docs&#x2F;providers&#x2F;google&#x2F;r&#x2F;compute_aut...</a>
darkrover 6 years ago
Not cross provider obviously, but EC2 autoscaling has supported this for years: <a href="https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;autoscaling&#x2F;ec2&#x2F;userguide&#x2F;schedule_time.html" rel="nofollow">https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;autoscaling&#x2F;ec2&#x2F;userguide&#x2F;schedu...</a>
WAthrowawayover 6 years ago
&gt;I&#x27;m looking for something which can allow setup&#x2F;automation of cloud resource scaling schedules or rules.<p>Terraform + chron&#x2F;some timing script<p>&gt;but I&#x27;d like the advantages of some kind of web UI<p>Set up a Jenkins instance on $CLOUD_PROVIDER_OF_YOUR_CHOICE (~20 min) to run Terraform on a specified schedule