I have a Java task scheduler that runs approximately 6 hours per day on AWS. I'm considering two deployment options and seeking advice on which one is more suitable for my use case:
Option 1: AWS Batch(Fargate Compute Environment) with EventBridge Scheduler
Option 2: AWS Fargate with Scheduler
I would like to know the pros and cons of each option to make an informed decision. Any insights or recommendations are greatly appreciated. Thank you!