Concept design · not a deployed system
From cell to cloud
A simplified, proposed alternative to processing bioimage data on in-house infrastructure. Microscopy data moves securely from the lab to AWS, where as many workers as the workload needs process it in parallel. The extracted measurements are stored in an encrypted database and flow on to dashboards, machine learning, automated alerts and 3D rendering, with no local servers to buy, maintain or wait for.
See it run
Simulated workload and data.
The animation needs JavaScript. The eight steps below describe the same flow.
0 workers · queue 0 · images processed 0 · rows stored 0 · predictions 0 · alerts 0
| Image | Cell | Phase | Spindle (µm) | Area (µm²) | QC |
|---|
How it works
Eight steps from microscope to decision.
Acquire
Microscopes record cells as multi-dimensional image stacks (x, y, z, time, channel) with instrument metadata.
Lattice light-sheet · confocal · TEM
Convert
Raw files are converted to OME-Zarr, an open, cloud-friendly image format, and paired with their metadata before they leave the lab.
bioformats2raw · OME-Zarr · Python
Upload
Images travel over an encrypted connection to a versioned S3 bucket in the EU. Lifecycle rules move older raw data to low-cost archive storage.
Amazon S3 · AWS DataSync · S3 Glacier
Validate and queue
Each upload triggers a function that checks the files, records their metadata and places a processing job in a queue, where it waits safely until a worker is free.
AWS Lambda · Amazon SQS
Process in parallel
Containerised Python jobs segment, track and measure cells inside a private network. Workers start when the queue grows and stop when it is empty.
Docker · AWS Batch · EC2 Spot · VPC
Extract features
Each image becomes rows of measurements per cell, such as mitotic phase, spindle length, cell area and a quality flag. Full tables are also saved to S3 as Parquet.
scikit-image · Pandas · Parquet
Store securely
Results are written to DynamoDB, encrypted with AWS KMS, with point-in-time recovery and access limited per role.
Amazon DynamoDB · KMS · IAM
Use the data
Dashboards for scientists, model training and prediction, automated alerts when a run finishes or fails a quality check, and 3D rendering of segmented cells.
QuickSight · Athena · SageMaker · DynamoDB Streams · SNS
Why this design
- Data stays in the EU. Storage and processing run in the Frankfurt region (eu-central-1), which supports GDPR requirements for research and health data.
- No hardware to buy or maintain. Computing capacity is rented by the second instead of waiting for a shared in-house cluster.
- Pay only while processing. Workers scale down to zero when the queue is empty, and Spot capacity lowers the cost of large batch runs.
- The right store for each job. DynamoDB answers fast lookups for apps and automation; the same tables in S3 as Parquet feed bulk analysis in Athena and model training in SageMaker.
- Secure by default. Encryption at rest and in transit, a private network for the workers and least-privilege access for every service.
- Reproducible and auditable. Versioned raw data, versioned containers and CloudTrail logs make every result traceable to its inputs.
For scale: my PhD pipeline processed about 5 TB (3.8 million images) on in-house hardware. This proposal shows how a workload of that size could run on AWS instead.