cmessier
cmessier

Reputation: 249

Background Process in AWS

I am new to AWS and have a question about an application I'm trying to write. I have a bunch of data that sits within Amazon RDS. On a periodic basis, I would like a small snippet of code to run against this data and in certain situations have notifications sent where appropriate. Of all the AWS services, what is the best architecture for this?

Thanks

Upvotes: 0

Views: 2160

Answers (2)

user3647324
user3647324

Reputation: 113

You can use Scheduled Lambda service driven by CloudWatch events. It acts as a resilient cron.

Upvotes: 1

Will Warren
Will Warren

Reputation: 1294

You could use a simple cron job running on an EC2 instance. The cron job could run a script (PHP, Perl, whatever) to go fetch the data and then do something with it (notify people, generate reports etc)

Does that help?

See here for details on getting started with a Linux instance: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html

You could achieve the same results using a Windows machine and Scheduled Tasks. Here's the getting started guide for Windows instances: http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/EC2Win_GetStarted.html

Upvotes: 2

Related Questions