简体   繁体   中英

Which service should I use to run scheduled task on AWS?

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 (eg 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 .

References:

https://aws.amazon.com/batch/?nc=sn&loc=0

https://aws.amazon.com/elasticbeanstalk/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM