Re:AWS announces per-second billing for EC2 instances
by alexbilbie on Monday September 18, 2017 @06:08PM
(#15280113)
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
[ Parent
| on HN ]
Re:AWS announces per-second billing for EC2 instances
by toomuchtodo on Monday September 18, 2017 @07:26PM
(#15280583)
Autoscaling groups can be scheduled without a lambda function.
http://docs.aws.amazon.com/autoscaling/latest/userguide/sche...
Re:AWS announces per-second billing for EC2 instances
by user5994461 on Monday September 18, 2017 @08:41PM
(#15280933)
You typically want exactly 0 or 1 instances for testing instances. I don't recall autoscaling groups able to do that.
Re:AWS announces per-second billing for EC2 instances
by skywhopper on Monday September 18, 2017 @09:21PM
(#15281090)
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.