Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

pauldeng/aws-elastic-beanstalk-worker-spring-boot-spring-batch-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Elastic Beanstalk Worker Spring Boot with Spring Batch Template

This is a file batch processing application template hosted on AWS Elastic Beanstalk.

How to Run

  1. Edit the project POM file to generate WAR file
  2. Log into AWS and create new application
  3. Select Worker Environment
  4. Create a new IAM role and add your S3 bucket to the IAM policy
  5. Choose Tomcat environment and deploy the WAR file
  6. Set local disk to your deisred size, 8GB is the minimum
  7. SQS message should submit to /sqs endpoint
  8. Edit the permission of SQS queue to allow S3 event
  9. 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)
  10. Upload a file to your S3 bucket
  11. check the log and you should see print out

Reference

Have Fun :)

About

This is a batch processing application hosted on AWS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages