Worked AWS Migration · Step 4 of 6

Build a Searchable Archive in Customer-Owned AWS

Organizations frequently keep 15-year-old servers running for one reason: legal, clinical, or financial teams still need to look up historical records a few times a month. Paying annual maintenance and carrying unpatched operating system risk solely for read-only lookups is avoidable when you move those records into a searchable archive inside your own AWS account.

Worked Synthetic Example: Retiring MedLedger v4

Consider a regional healthcare and billing group retiring MedLedger v4, a 12-year-old on-premises claims and patient billing system holding:

  • 420,000 claim summaries (relational tables rendered to PDF/A)
  • 1.1 million scanned EOBs, appeal letters, and attachments (native PDF and converted TIFF-to-PDF/A)
  • 850 GB total storage, accessed roughly 150 times per month by billing auditors, patient-records staff, and compliance counsel

1. Design the S3 Storage and Retrieval Architecture

Keep metadata hot for instant search while placing binary files in cost-effective S3 storage classes matched to actual retrieval patterns:

Record TierAWS S3 Storage ClassWhy It Fits
Recent records (0–3 years, frequent lookups)S3 Standard or S3 Intelligent-TieringMillisecond retrieval with zero per-retrieval restore delay
Infrequent audit lookups (3–7 years)S3 Glacier Instant RetrievalLower storage cost while keeping millisecond retrieval for auditors
Long-term statutory archive (7+ years, rare access)S3 Glacier Flexible Retrieval or Deep ArchiveLowest storage cost; document restore SLA (minutes to hours) and per-GB restore fees in the operational runbook

Enable S3 Versioning, KMS customer-managed encryption (CMK), and S3 Object Lock (Governance or Compliance mode, plus legal holds where required) on the archive bucket so records cannot be overwritten or prematurely deleted.

2. Define the Searchable Index Fields

Never force users to browse raw S3 prefixes like s3://archive/2018/04/batch-12/. Maintain a dedicated metadata index (for example in DynamoDB and/or OpenSearch, or an AWS-native document repository) exposing the exact fields retrieval teams use:

Index FieldExample ValuePurpose
source_systemmedledger-v4Separates retired applications sharing one archive
record_typeclaim-packet / eob-attachmentFilters by document class and applies retention
business_idCLM-2019-084219Primary lookup key used by auditors and support
parent_record_idCLM-2019-084219Links attachments and appeal letters to the parent claim
entity_or_facilityNORTH-CLINICScopes access by business unit or subsidiary
event_date2019-06-14Date of service or claim closure (retention trigger)
retention_until2029-06-14Calculated disposition eligibility date
legal_holdfalse / HOLD-2026-04Blocks disposition and flags litigated records
sha2569f86d081...Cryptographic integrity reference from ingestion

3. Enforce Role-Based Access and Audit Logging

Map legacy security groups to least-privilege IAM / application roles before granting search access:

  • billing-auditor: Read-only search and download for claim-packet and eob-attachment records in assigned facilities; denied access to hr-dispute or privileged legal folders.
  • compliance-hold-admin: Permitted to place or release legal holds and export audit logs, with every action recorded in CloudTrail and application audit logs.
  • archive-operator: Infrastructure and ingestion access only, separated from business record approval.

4. Keep Retrieval Fast and Self-Service

Users should be able to search by CLM-2019-084219, view the rendered claim summary, and download every linked attachment in seconds—without filing an IT ticket or waiting for a database restore.

Sources and further reading

Built for Customer-Owned AWS

Retire legacy systems into a customer-owned AWS archive

For teams with an active retirement project, FormKiQ runs in your own AWS account with structured metadata, role-based access, legal holds, and full-text search.

FormKiQ Legacy System Archive and Access