Re:AWS announces per-second billing for EC2 instances
by ryen on Monday September 18, 2017 @07:48PM
(#15280678)
Tag it with something like shutdown=non-biz-hours, or can even specify a schedule that a lambda function can pick up each minute or hour and parse to stop/start any instance that falls within that window.
[ Parent
| on HN ]
Re:AWS announces per-second billing for EC2 instances
by Macha on Monday September 18, 2017 @07:52PM
(#15280705)
Well that works if you're a startup in one timezone with no teams depending on your service. If you work on a larger company, it's quite possible the sun never sets on your project (west coast, east coast, Europe, India, Australia or SE Asia)
Re:AWS announces per-second billing for EC2 instances
by Johnny555 on Monday September 18, 2017 @11:09PM
(#15281495)
If the sun never sets on your project, then you probably don't want to shut it down because you're using it 24x7.
But since a Lambda is a program, you can make the criteria as complex as you like.
Tag it with "shutdown=non-biz-hours", and "timezones=UTC-7,UTC+0,UTC+5:30" and your shutdown script can figure out when it's outside of business hours in all of those timezones and shut it down.
Re:AWS announces per-second billing for EC2 instances
by kinkrtyavimoodh on Monday September 18, 2017 @08:09PM
(#15280787)
If the sun never sets on your project, why would you want to shut the instance down?