Automated Identity Document Review in iGaming, Built and Run with DevOps on Amazon Web Services (AWS)

Automated Identity Document Review in iGaming, Built and Run with DevOps on Amazon Web Services (AWS)

Industry: iGaming
Location: Australia
Client since: 2026
100% of releases reach production through one governed pipeline
100% of production AWS resources defined as code
1,723 automated test cases run on every change
Technologies used
iGaming

Technologies: 

  • Cloud: Amazon Web Services (AWS) 
  • Infrastructure as code: Terraform, Helm
  • Identity and access: OpenID Connect (OIDC) federation with AWS Identity and Access Management (IAM) 

Background 

Regulators require completed customer identification before an account can trade, and every verification decision must be evidenced. Before the engagement, document review was manual: customers sent identity documents by email, staff reviewed them by hand, and there was no systematic record of who reviewed what, when, or on what basis. 

With Symphony Solutions, an AWS Advanced Tier Services Partner, an online gambling operator serving multiple regulated markets replaced manual, email-based identity document review with an automated, audited service running on Amazon Web Services (AWS). Symphony’s DevOps workstream defined every production AWS resource as code and put every release through one governed pipeline. The engagement ran from April to October 2026 and delivered the customer-facing document upload web app, an automated document-processing service, an internal review dashboard, and the DevOps work. The service has been in production since July 2026. 

Challenge 

The operator needed a compliant replacement for email review: customers upload documents through expiring branded links, documents are checked and their fields extracted automatically before a person looks at them, and Support makes the final accept or decline decision in an audited dashboard. 

None of the supporting AWS environment existed: 

  • no separate dev, UAT and production environments, no network isolation and no deployment process 
  • no CI/CD: no automated builds, tests or promotion path 
  • no secrets management, no audit trail, and no controls for identity documents at rest or in transit 
  • several brands to serve from day one, with a second regulated region (EU) on the roadmap 
cta banner cta mob

AI software that automates
judgment-heavy work end to end

What was built

  • Link-based upload: Support issues a branded, expiring link (an HMAC-SHA256 token, stored only as a hash). The customer uploads documents straight into an encrypted Amazon Simple Storage Service (Amazon S3) bucket through short-lived presigned URLs, so nothing travels by email. 
  • Quality check before extraction: an automated image check turns back blurred, glare-affected, cropped or wrong-format images before any paid extraction call, so per-document cost follows usable documents only. 
  • Automated field extraction: a document-extraction service detects the document type and extracts its fields in one call, and the reviewer sees the fields pre-filled. 
  • Human decision with evidence: Support accepts or declines each document in an internal dashboard with corporate single sign-on (SSO) and role-based access. Accepting the last required document completes the request automatically; approval promotes accepted documents to reusable evidence for future checks. 
  • Several brands, one service: the brand is resolved from the hostname, each brand’s data is kept separate, and each brand has its own notifications to the operator’s back office. 

Solution 1: Environment as code

 Every environment can be rebuilt from version-controlled code. Nothing is configured by hand in the AWS Management Console. 

  • Terraform for AWS resources: separate Terraform roots for dev, UAT and production provision the Amazon S3 buckets for documents and for the two web apps, AWS Key Management Service (AWS KMS) keys, AWS Secrets Manager scopes, IAM roles and the Amazon Elastic Container Registry (Amazon ECR) repositories. Each environment has its own Amazon Relational Database Service (Amazon RDS) instance, documents bucket, AWS KMS key and secrets scope. Nothing is shared across stages. 
  • Helm for workloads: three versioned Helm charts (API, document processing, database bootstrap) define the workloads in a dedicated namespace on the operator’s Amazon Elastic Kubernetes Service (Amazon EKS) cluster, including autoscaling, network policies, service accounts and secrets injection. 
  • Database migrations as code: forward-only, expand-contract migrations run as Helm pre-install and pre-upgrade jobs, so schema changes ship with the release and are never run by hand. 
  • Secrets: AWS Secrets Manager holds the application secrets, which are synced into the cluster by the External Secrets Operator. There are no secrets in code, charts or CI variables. 
  • Immutable images: Amazon ECR repositories enforce immutable image tags, so a deployed version can never be overwritten. 

Solution 2: Governed CI/CD pipelines

Every change reaches production through one controlled path, and production runs exactly the image built from the reviewed commit. 

  • CI on every pull request: eight CI workflows (a pull-request and a main-branch pipeline per application) run the build, linting and the full automated test suite on every change. 
  • No stored AWS keys: pipelines assume an IAM role through OIDC federation. No AWS access keys exist in the CI service. 
  • Traceable artifacts: each merge to the main branch builds a container image tagged with its commit SHA, plus an automated semantic version tag. Because tags are immutable, the image QA tested is exactly the image production runs. 
  • Controlled promotion: Octopus Deploy promotes each versioned release from dev to UAT to production with Helm. Production deploys need an explicit approval from the service delivery manager. 
  • Trunk-based development: short-lived branches, squash merges and a protected main branch, so there are no long-lived branches and no unreviewed code paths. 

Solution 3: Automated security and compliance controls

Controls are enforced by code and by database permissions, not by process documents. 

  • Verifiable audit trail: every state change (document accepted, request approved, document viewed) writes an append-only audit record in the same database transaction as the change. The application’s database role cannot write audit records directly. Audit records are hash-chained, and a scheduled job recomputes the chain to detect any unauthorized change. 
  • Document encryption and access: all documents are encrypted with per-environment AWS KMS keys (Amazon S3 server-side encryption with AWS KMS). They can be opened only through presigned URLs valid for at most 300 seconds, and every view is itself an audited event. 
  • Restricted network paths: a web application firewall with rate limiting fronts every public endpoint, and the API accepts traffic only from that edge. The document-processing service has no public endpoint at all: it is reachable only inside the cluster over mutual TLS, and network policies limit its outbound traffic to the extraction service. 
  • Authentication: customers never create accounts. Upload links carry single-purpose tokens stored only as hashes, and every link error shows the same neutral page. The internal dashboard uses the operator’s corporate SSO with role-based access and no local user tables. 
  • Personal data by design: no personal data in logs, metric tags or URLs, and audit records refer to people by ID only. 

Solution 4: Operations and observability 

  • Traceable logs: every service writes structured JSON logs with the same correlation fields (request, link, document, slot, brand, actor), so one verification can be followed end to end. 
  • Metrics on the critical path: each service records latency for link validation, upload, the quality check, extraction, review actions and back-office notifications, plus notification failures. 
  • Reliable notifications: back-office notifications use a transactional outbox with a PostgreSQL-backed queue (no extra broker to operate), with at-least-once delivery, bounded retries with backoff and automatic clean-up. 
  • Scaling: horizontal pod autoscaling on the API and document-processing services absorbs upload peaks without manual steps. 
kyc types-case-study-image

AWS services used

The service is a NestJS API and a Python/FastAPI document-processing service on Amazon EKS (dedicated namespace), two React web apps served from Amazon S3, and PostgreSQL on Amazon RDS, all provisioned with Terraform and Helm.

Area AWS services Purpose 
ComputeAmazon EKS (shared cluster, dedicated namespace), Amazon ECRContainer workloads, immutable image repository
Data Amazon RDS for PostgreSQL 16Application data and the append-only audit schema
StorageAmazon S3 with AWS KMS encryption, one bucket per environmentEncrypted document storage, tiered by lifecycle stage 
Secrets AWS Secrets Manager + External Secrets OperatorNo secrets in code or CI 
Identity AWS IAM with OIDC federation CI access to AWS with no stored keys 

 7 AWS services run in production. 

Results and KPIs 

The KPIs below are the measurable outcomes of the delivered scope. Baselines reflect the pre-project state (manual review, no AWS environment). Every actual value is read from a named system, so it can be checked again.

KPI Baseline TargetActual Measurement method
Releases shipped through the governed CI/CD pipeline0% (no pipeline existed)100% of dev, UAT and production releases 100%CI run history and Octopus Deploy records compared with Git release tags; immutable Amazon ECR tags make any image pushed outside the pipeline detectable
Production AWS resources and workloads defined as code0% 100% 100%Terraform state per environment compared with the AWS resource inventory; a plan with zero pending changes confirms no drift; Helm release history confirms workload definitions
Automated test cases run on every change0 (no automated tests)Every pull request must pass the full suite before merge1,723CI run history; suite composition read from the repository (1,364 TypeScript/Vitest + 359 Python/pytest)

Trade-offs and lessons learned 

  • Quality check before paid extraction. Turning back unreadable images with a cheap check before the paid extraction call kept per-document costs proportional to usable documents. The order is enforced in code and cannot be bypassed. 
  • PostgreSQL-backed queue instead of a new broker. Back-office notifications needed retries and scheduling, but adding Redis or Kafka for one workload would have meant one more service to run. A PostgreSQL-backed queue with a transactional outbox delivered the same guarantees with nothing new to operate. 
  • One bucket with lifecycle metadata instead of three physical buckets. Document lifecycle stages (staging / permanent / archive) are a database-enforced metadata tier over a single encrypted bucket: no file copies, no storage drift to reconcile, and full auditability. 
  • Shared cluster, dedicated namespace. The service runs as a tenant on the operator’s existing Amazon EKS cluster rather than its own: lower cost and no new cluster to operate, with isolation enforced by namespace, network policies and separate data stores. 
  • Immutable image tags from day one. Enforcing immutable Amazon ECR tags early made “what exactly is running in production?” a question with one exact answer, at the cost of a slightly stricter release discipline. 
cta banner cta mob

We ship into the cloud setup
you already run, not a new one

Share