This is a file batch processing application template hosted on AWS Elastic Beanstalk.
- Edit the project POM file to generate WAR file
- Log into AWS and create new application
- Select Worker Environment
- Create a new IAM role and add your S3 bucket to the IAM policy
- Choose Tomcat environment and deploy the WAR file
- Set local disk to your deisred size, 8GB is the minimum
- SQS message should submit to /sqs endpoint
- Edit the permission of SQS queue to allow S3 event
- Edit the properties of your S3 bucket to generate ObjectCreadted(All) event to SQS queue which is created by the Elastic Beanstalk (Do not select the queue with "Dead" in name)
- Upload a file to your S3 bucket
- check the log and you should see print out