Where to run scheduled jobs in the cloud? -
i have couple of simple jobs running on old laptop everyday. laptop wakes up, run jobs , go sleep. of jobs c# / python programs collecting couple of information on web , send me need in email or file.
i move away model of running jobs on old laptop. move jobs in cloud, don't want pay $50+ month run jobs on vm use 5 minutes day.
my question following: there cloud service runs jobs on specific schedule pay use? far know, azure requires vm, same amazon.
if willing learn bit aws features, there way launch ec2 instance on cron-type schedule, passing in script run, , have terminate when it's done processing.
the basic steps include:
create user-data script batch job (can install software, download data, etc.)
create auto scaling launch configuration defines instance type, ami, , user-data script above.
create auto scaling group above launch configuration, , assign schedule start instances.
i've detailed exact steps including sample, working commands in article:
running ec2 instances on recurring schedule auto scaling
http://alestic.com/2011/11/ec2-schedule-instance
if daily job can complete in less hour on t1.micro instance, end spending little $1 month, depending on i/o, network, , other resources use.
Comments
Post a Comment