Which Service Should I Use To Run Scheduled Task On AWS?

- 1 answer

I have a apache beam program on python. To save running cost I would like to executed this python using service instead of on EC2 instance.

The script lasts from 50s to over 60min.

If this is GCP I think google app engine. However, on AWS, I am not sure whether I should use AWS beanstalk or AWS batch . Generally, which service is best to run long running script on AWS?

Thanks, Yu



AWS Batch is recommended for batch processing at any scale, However AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling web applications.

Also there is no additional charge for both the services AWS batch & AWS Elastic Beanstalk. You pay for AWS resources (e.g. EC2 instances or AWS Lambda functions) you create to store and run your application.

In your case Apache Beam is used which is an unified model and set of language-specific SDKs for defining and executing data processing workflows/pipelines which fall under category of batch processing.