Skip to content
All projects
Client workAI

Pacific Life

Moved Pacific Life's scheduled batch work from Quartz to serverless, and automated claims with OCR.

Client
Pacific Life Insurance
Programme
Contract Management and MyAccount
Role
Cloud and solution architect, full-stack developer
Team
2 people
Illustration of a policy contract flowing from a schedule through a Lambda function to an OCR document audit

What it is

Development, enhancement and predictive analysis for contract and claims management in the MyAccount platform, including the migration of scheduled processing to a serverless batch architecture on AWS.

The problem

Batch processing ran on an in-application Quartz scheduler, which tied jobs to application servers and limited how they scaled. Claims also relied on manual review of scanned documents.

Architecture

Requests flow left to right. Hover a component for its role.

Contract Management and MyAccount architectureschedulenotifyuploadsaudit resultMyAccount portalMyAccount portalSpring Boot 3 services: on Amazon EKSSpring Boot 3servicesAmazon RDSAmazon RDSEventBridge schedules: replaced QuartzEventBridgeschedulesLambda batch jobsLambda batch jobsSNS and SQSSNS and SQSS3: scanned claim documentsS3OCR and predictive analysis: SageMaker, BedrockOCR and predictiveanalysis
Solid line: synchronous callDashed line: through a queueDashed box: external or infrastructure
  • MyAccount portal client
  • Spring Boot 3 services service, on Amazon EKS
  • Amazon RDS data
  • EventBridge schedules infrastructure, replaced Quartz
  • Lambda batch jobs worker
  • SNS and SQS queue
  • S3 data, scanned claim documents
  • OCR and predictive analysis ai, SageMaker, Bedrock

Key decisions

  • Schedules move out of the application

    Quartz jobs became Lambda functions triggered by EventBridge and reporting through SNS, so batch work scales on its own and no longer competes with user traffic.

  • Audit documents automatically

    Scanned claim documents are read with OCR and checked automatically, so reviewers handle exceptions instead of every page.

Highlights

  • Led the Quartz to serverless migration on Lambda, EventBridge and SNS.
  • Built OCR-based document auditing into the claims process.
  • Predictive analysis of contracts and claims with SageMaker and Bedrock.

Stack

JavaSpring Boot 3Amazon EKSAWS LambdaEventBridgeSNSSQSAmazon RDSS3SageMakerBedrockJenkins