Y
Hacker News
new
|
ask
|
show
|
jobs
by
alexbilbie
3202 days ago
You can implement this with a simple auto-scaling group or write a small Lambda function which runs at a certain time to start/stop the instance
2 comments
toomuchtodo
3202 days ago
Autoscaling groups can be scheduled without a lambda function.
http://docs.aws.amazon.com/autoscaling/latest/userguide/sche...
link
user5994461
3202 days ago
You typically want exactly 0 or 1 instances for testing instances. I don't recall autoscaling groups able to do that.
link
skywhopper
3202 days ago
This is entirely possible. Scheduled actions can make this happen on a schedule (simply schedule desired-capacity=1 when you want it on and desired-capacity=0 when you want it off). Or you can simply run a command to do it on demand.
link
rabidrat
3202 days ago
I have an autoscaling group that goes from 0 to 1 every day for some batch processing. It took a bit of finagling but it's definitely possible.
link
http://docs.aws.amazon.com/autoscaling/latest/userguide/sche...