AWS for Industries

Deploy diagnostic-quality imaging globally with MedDream and AWS HealthImaging

When you need to review a complex breast tomosynthesis study containing hundreds of medical images, every second counts. Traditional PACS infrastructure often struggles with storing petabyte-scale imaging data while delivering instant access across distributed care teams. If your organization faces mounting pressure to modernize imaging infrastructure as study volumes grow, you know that legacy systems require significant capital investment, complex maintenance, and often fail to deliver consistent performance across multiple locations.

MedDream and Amazon Web Services (AWS) have collaborated to address these challenges with a cloud-native solution. By combining MedDream’s FDA-cleared diagnostic viewer with AWS HealthImaging and automated AWS Cloud Development Kit (AWS CDK) deployment, you can deploy a complete, production-ready medical imaging solution in under an hour—achieving sub-second loading times and reducing storage costs by up to 40% compared to on-premises infrastructure.

Solution components

The MedDream-AWS HealthImaging integration delivers a complete medical imaging workflow through several interconnected components:

  • AWS HealthImaging: Petabyte-scale DICOM storage with HTJ2K (High-Throughput JPEG 2000) optimization, reducing storage requirements by 20–40% while enabling faster image retrieval
  • Amazon CloudFront: Global content delivery network providing sub-second image delivery through 410+ edge locations worldwide
  • MedDream HTML5 Viewer: Zero-footprint diagnostic viewer with FDA clearance for diagnostic use and CE Class IIb certification
  • MedDream Proxy Service: Secure authentication layer ensuring only authorized users can access imaging data from AWS HealthImaging without exposing AWS credentials to the browser
  • Custom DICOM Uploader: React-based interface enabling validated file uploads directly to AWS HealthImaging
  • AWS CDK Deployment: Infrastructure as code approach automating the provisioning of approximately 40 AWS resources with consistent, repeatable configuration

Solution architecture diagram for MedDream deployed on AWS HealthImaging. On the left, the Customer Site contains two user types: a MedDream Application User and an Uploader User Interface. Users connect to Amazon CloudFront, which invokes a Lambda@Edge SessionValidator Function for authentication. CloudFront routes requests to an Application Load Balancer in a public subnet within a VPC. The private subnet contains an ECS Cluster running three MedDream container services—Viewer Service, Proxy Service, and Token Service—with Auto Scaling. MedDream tasks pull container images from Docker Hub. The ECS services connect to Amazon Elastic File System for shared storage and Amazon ElastiCache for session state.

Figure 1: MedDream solution implementation diagram

Architecture innovation: Direct HTJ2K streaming

A key architectural advancement in this integration is the elimination of traditional image pre-processing. Many DICOM viewers rely on caching layers that pre-process images into web-friendly formats, or use protocols not optimized for progressive loading over the internet. MedDream takes a different approach—streaming HTJ2K-encoded frames directly from AWS HealthImaging to the browser.

AWS HealthImaging stores DICOM images natively in HTJ2K format, which is inherently optimized for web streaming. When you open a study, the MedDream viewer makes multiple parallel API calls to AWS HealthImaging, requesting specific image frames. These frames arrive directly in the browser without intermediate processing, enabling:

  • Sub-second initial image display through progressive loading
  • Efficient bandwidth utilization by transferring only requested frames
  • Parallel frame retrieval maximizing throughput for large studies
  • Consistent performance without dependency on cache state

Multiple viewer instances can stream from AWS HealthImaging independently without competing for shared resources. Every image request delivers consistent performance, whether the study was last accessed seconds or months ago. For complex studies like breast tomosynthesis with hundreds of frames, this parallel streaming architecture enables smooth, responsive viewing with initial frames displaying in under a second—performance that matches or exceeds traditional PACS systems.

Intelligent storage management

AWS HealthImaging provides automatic data lifecycle management through intelligent tiering, delivering cost optimization without operational overhead. After import, image sets begin in the Frequent Access Tier. After 30 consecutive days without access, they automatically transition to the Archive Instant Access Tier.

Critically, there is no performance difference between these tiers—both provide the same sub-second latency for image retrieval. This eliminates the traditional trade-off between cost optimization and clinical accessibility. You get instant access to all imaging data regardless of age or access patterns, while benefiting from automatic cost reduction on infrequently accessed studies.

This intelligent tiering operates transparently based on API usage patterns, requiring no manual intervention, capacity planning, or lifecycle policy management.

Solution architecture

The architecture combines serverless components, container orchestration, and global content delivery to provide diagnostic-quality image viewing with enterprise-grade security and high availability.

Core architecture components

User-facing layer — The solution delivers the MedDream HTML5 viewer through Amazon CloudFront, providing low-latency access from any location. A custom React-based DICOM uploader interface enables secure file validation and direct upload to AWS HealthImaging. AWS Lambda@Edge validates user sessions before serving content, ensuring security without compromising performance.

Application servicesAmazon Elastic Container Service (Amazon ECS) orchestrates three containerized MedDream services across multiple availability zones: the Viewer Service (HTML5 diagnostic interface), the Proxy Service (communication with AWS HealthImaging APIs), and the Token Service (authentication and authorization). An Application Load Balancer distributes traffic with health checking, while Amazon ElastiCache for Valkey maintains centralized session state.

Storage and image management — AWS HealthImaging serves as the core service for storing and serving DICOM images as optimized image sets. Amazon Simple Storage Service (Amazon S3) buckets support data import functions, including event-based integration with AWS Lambda to trigger import jobs. Amazon Elastic File System (Amazon EFS) provides shared file storage for the MedDream application running on ECS, enabling concurrent access across all container instances.

Security architecture — The solution implements security at multiple layers: an Amazon VPC isolates services across public, private, and isolated subnets; security groups control traffic with least-privilege access; AWS Secrets Manager stores credentials securely; and AWS Identity and Access Management (IAM) roles enforce least-privilege permissions for each component. All data is encrypted in transit (TLS 1.2+) and at rest using AWS-managed encryption keys.

Data flow

Image viewing — You access the application through the CloudFront distribution URL. Lambda@Edge validates your session, then CloudFront routes requests to the Application Load Balancer. The MedDream Proxy Service communicates with AWS HealthImaging APIs to retrieve image metadata and frames, delivering optimized HTJ2K-encoded frames through the viewer. The MedDream Viewer renders diagnostic-quality images in the browser with full DICOM compliance.

Image upload — After authenticating through the MedDream viewer interface, you access the uploader and select DICOM files or folders. Files are validated client-side and uploaded to S3 via pre-signed URLs. A Lambda function triggers an AWS HealthImaging import job, which processes and optimizes DICOM data into image sets. Imported studies become immediately available in the viewer without additional indexing or cache warming.

Figure 2 Web access to medical images

Figure 2: Web access to medical images

High availability configuration

The solution supports both single-AZ deployment (for development and testing) and multi-AZ deployment (for production). The multi-AZ configuration distributes 6 ECS tasks across availability zones (2 per service), configures an ElastiCache Valkey cluster with automatic failover, enables EFS with automatic backups, and provides fault tolerance against zone failures with automatic recovery.

ECS services scale horizontally based on CPU and memory utilization, CloudFront absorbs traffic spikes globally, AWS HealthImaging scales automatically to petabyte capacity, and Amazon API Gateway with Lambda functions scale elastically for authentication traffic.

Implementation walkthrough

Deploying the MedDream-AWS HealthImaging integration is streamlined through AWS CDK, enabling you to implement the solution with minimal effort.

Prerequisites

Before deployment, your environment should meet these requirements:

AWS account access

  • Administrator or PowerUser access to an AWS account
  • AWS CLI installed and configured with appropriate credentials
  • AWS CDK CLI installed (v2.x): npm install -g aws-cdk
  • Node.js 18.x or later

CDK bootstrap — Your AWS account must be bootstrapped for CDK in both your target region AND us-east-1 (required for Lambda@Edge):

# Bootstrap your target region
cdk bootstrap aws://ACCOUNT-NUMBER/us-east-1

# If deploying to a different region, also bootstrap that region
cdk bootstrap aws://ACCOUNT-NUMBER/your-target-region

Region selection — AWS HealthImaging is available in US East (N. Virginia), US West (Oregon), Asia Pacific (Sydney), Europe (Ireland), and Europe (London). Choose a supported region for your deployment.

Deployment steps

Step 1: Clone and setup

git clone https://github.com/meddream/aws-healthimaging-dicom-viewer
cd aws-healthimaging-dicom-viewer

# Install root dependencies
npm install

# Install infrastructure dependencies
cd infrastructure
npm install

Step 2: Configure deployment

Edit infrastructure/bin/cdk.ts to set your deployment parameters:

const STACK_NAME = "meddream89";          // Unique name, under 47 characters
const ENABLE_MULTI_AZ = false;             // Set to true for production
const IMPORT_SAMPLE_DATA = false;          // Set to true to import sample DICOM data
const DEPLOY_UPLOADER = true;              // Deploy the uploader interface

Step 3: Deploy

Run the following commands in the infrastructure/ directory:

# Preview what will be deployed (optional)
cdk diff --all

# Deploy all stacks
cdk deploy --all

Expected deployment time: 25–35 minutes.

Step 4: Verify and access

After deployment, the CDK outputs provide your CloudFront URL (application endpoint) and Admin Secret ARN (retrieve the admin password from AWS Secrets Manager). Navigate to the CloudFront URL and log in with the admin credentials to access the MedDream viewer.

Production considerations

For production deployments, we recommend:

  • Enable multi-AZ: Set ENABLE_MULTI_AZ = true for high availability
  • Configure HTTPS: Set up TLS between CloudFront and the Application Load Balancer using your own domain and certificate
  • Update environment tags: Change the Environment tag from “Development” to “Production”
  • Enable VPC Flow Logs: Set ENABLE_VPC_FLOW_LOGS = true for network monitoring

Performance and benefits

The MedDream-AWS HealthImaging integration delivers measurable improvements across key operational dimensions:

  • Sub-second image loading for standard studies through parallel HTJ2K streaming and CloudFront edge delivery
  • Up to 40% storage cost reduction through HTJ2K compression and HealthImaging automatic tiering
  • Under 35 minutes to deploy a complete production-ready environment via CDK automation
  • Zero infrastructure management — AWS HealthImaging scales automatically from gigabytes to petabytes
  • Global accessibility — CloudFront’s 410+ edge locations provide consistent performance worldwide

Security and compliance

The solution addresses healthcare security requirements through multiple layers: network isolation via VPC, least-privilege IAM policies, encryption at rest and in transit, and session validation at the edge. MedDream’s FDA clearance and CE Class IIb certification support regulatory compliance for diagnostic use.

Use cases and applications

This integration supports several clinical and operational scenarios:

Multi-site radiology — Distributed imaging networks benefit from centralized cloud storage with edge-delivered viewing. Radiologists at any location get consistent sub-second performance without maintaining local PACS infrastructure at each site.

Teleradiology — Remote reading workflows benefit from the zero-footprint HTML5 viewer and CloudFront’s global delivery. Studies load quickly regardless of the reader’s location relative to the data center.

Research and AI pipelines — AWS HealthImaging’s API-native architecture enables direct integration with research workflows and AI/ML pipelines, providing programmatic access to imaging data without complex DICOM networking configurations.

Digital pathology — Beyond radiology, MedDream viewer and AWS HealthImaging also support digital pathology workflows, storing whole slide images with sub-second access and enabling AI-powered analysis pipelines. To learn more, see Revolutionizing healthcare with AI-driven digital pathology.

Cleaning up

To avoid incurring future charges, delete the deployed resources when you no longer need them:

cd infrastructure
cdk destroy --all

This removes all AWS resources created by the CDK stack, including the HealthImaging datastore and all stored images. Make sure to export any data you want to keep before running this command.

Conclusion and next steps

In this post, we showed how MedDream and AWS HealthImaging together deliver a cloud-native medical imaging solution that you can deploy in under an hour. The combination of FDA-cleared diagnostic viewing, automated CDK deployment, and intelligent cloud storage addresses the core challenges of modern medical imaging infrastructure.

To get started:

We’d love to hear about your experience. If you have questions or feedback, leave a comment on this post.

Alex Lemm

Alex Lemm

Alex leads Medical Imaging Business Development for AWS in EMEA, focusing on accelerating the cloud adoption and expansion of HealthTechs. He works closely with global healthcare independent software vendors (ISVs), regional imaging vendors, and hospital providers to define and execute cloud migration strategies while driving the adoption of AWS healthcare-specific services like AWS HealthImaging and Agentic AI for Healthcare. Alex spearheads strategic co-innovation projects with partners to create reference architectures for next-generation imaging solutions and contributes to thought leadership in medical imaging at AWS through speaking engagements at major healthcare conferences.

Adam Kielski

Adam Kielski

Adam Kielski was a Senior Partner Solutions Architect at Amazon Web Services (AWS), specializing in cloud-optimized medical imaging solutions. With over 20 years of experience, he focused on integrating healthcare information systems and medical imaging applications with cloud-based solutions. His expertise spanned enterprise imaging, workflow-centric design of imaging software, and cloud architecture. Previously, Adam held leadership roles at Butterfly Network and Seattle Children's Hospital, where he developed enterprise-wide imaging strategies and implemented medical technology platforms. Adam is now a Senior Solutions Architect at Dicom Systems (DCMSYS), where he works on healthcare IT integrations centered on Unifier, DCMSYS's workflow router product supporting DICOM, HL7, and FHIR data exchange.

Artūras Gruodis

Artūras Gruodis

Artūras Gruodis is the Head of the Integration Department at MedDream, known for his exceptional track record in integration strategy development and implementation. Artūras is dedicated to ensuring on-time delivery of projects and driving continuous improvement across all facets of the organization, contributing significantly to MedDream's success and growth.

JP Leger

JP Leger

JP Leger brings 20+ years of expertise to his role as Senior Solution Architect at AWS, where he specializes in guiding healthcare organizations through their cloud transformation journeys. With deep experience in medical imaging and healthcare IT, JP helps partners and customers leverage AWS technologies to revolutionize their imaging

Tomas Dumbliauskas

Tomas Dumbliauskas

Tomas Dumbliauskas has an extensive background in the management and development of medical imaging software, bringing over 20 years of expertise to the field. He played a pivotal role in establishing MedDream’s technology vision, strategies, and growth plans, driving innovation across all applications and infrastructure. Tomas serves as the Chief Technology Officer (CTO) of MedDream, where he provides technical leadership to department heads, aligning with the company’s culture, mission, and values.