I have a docker image. I would like to create a container periodically and execute as a job, say every 1 hour, by creating CloudWatch Rule
.
As we are using AWS cloud, I am looking at the AWS Batch
service. Interestingly there is also a ECS Scheduled task
.
What is the difference between these 2?
Note: I have an init container - that is I have 2 docker containers to run one after another. It seems to be possible with ECS Scheduled Task
. But not with Batch
.