Pipelines

Serverless data and event processing pipelines

File ingestion, ETL, stream processing, and scheduled jobs that scale with the data and cost nothing when idle.

Context

Why serverless

Why the workload fits AWS serverless — and where the real difficulty lies.

Data work is bursty by nature: a partner drops a large file, a nightly export runs, an IoT fleet reports in. Serverless services scale out to process the burst in parallel and back to zero afterwards, with no cluster to size or babysit.

Reliability is the main design goal: every record processed exactly as intended, failures isolated and retryable, and progress visible.

Typical challenges

  • Processing very large files within Lambda's time and memory limits
  • Retrying failed records without reprocessing everything
  • Ordering and deduplication for streams
  • Back-pressure on downstream systems and databases
  • Knowing whether last night's job actually finished
Architecture

Reference architecture

The building blocks we usually combine — adapted to each system's constraints.

  1. Step 01

    Ingestion

    S3 event notifications or EventBridge for files, Kinesis or SQS for streams, API Gateway for pushed events.

  2. Step 02

    Processing

    Lambda for per-record work; Step Functions Distributed Map for large batch jobs fanned out over millions of objects; Fargate for steps that exceed Lambda's limits.

  3. Step 03

    Scheduling

    EventBridge Scheduler for cron and one-off schedules with retries and dead-letter queues.

  4. Step 04

    Storage and query

    S3 data lake partitions queried with Athena, DynamoDB for state and idempotency.

Engagement

How we usually help

A typical shape for this kind of work — every engagement is scoped to your situation.

Typical engagement

  • Mapping current jobs, data volumes, and failure modes
  • Rebuilding the riskiest pipeline first with idempotency and DLQs
  • Dashboards and alarms per pipeline stage

Design considerations

  • Use SQS batch item failures to retry only the failed records
  • Limit Lambda concurrency in front of fragile downstream systems
  • Prefer Distributed Map over hand-rolled fan-out for large batches
Related

Services and guides

The services and guides most relevant to this workload.

Let's make your serverless workload simpler, safer, and cheaper.

Start with a free 30-minute intro call with a serverless engineer.

Book a consultation