Sample spring batch processing job launched in fargate to copy files in S3. We use step functions to orchestrate the flow.
Sample spring batch processing job launched in fargate to copy files in S3. We use step functions to orchestrate the flow.
[1] Build the batch processing jar by running below command in module batch
mvn package spring-boot:repackage antrun:run@docker
[2] Build the docker image with the artifact and push it to ECR.
[3] Create a Fargate cluster to run the containerized task.
[4] Create a state machine in step functions to create an ECS task for S3 file copy using the docker image.