Imagine Updating 10 Million DynamoDB Records Without Slowing Down Your App
What happens when your application needs millions of new records but your DynamoDB table is already serving live traffic? AWS Bulk Put Items, announced November 5, 2026, lets you load data directly from S3 using dedicated capacity. Let's understand it through a real product-catalog use case, architecture diagrams, and code.
01. The scenario
Imagine you're building an e-commerce application.
Your DynamoDB table stores 10 million products.
Customers are browsing, searching, and placing orders every second.
Now the business sends you a new product dataset containing:
- 2 million updated prices
- 3 million new product records
- New category information
- Updated product descriptions
- New personalization attributes
You need to get all that data into DynamoDB.
But there's a problem.
Your database is already serving real customers.
You don't want a massive background import competing with normal application traffic.
This is where AWS's new feature comes in.
02. Meet Bulk Put Items
<escape>
BEFORE
Amazon S3|vCustom Pipeline|vBatch Writers|vCapacity Management|vDynamoDB
</escape>
Traditionally, teams had to build and operate custom ingestion pipelines or orchestrate services such as AWS Glue and Amazon EMR.
On November 5, 2026, AWS announced general availability of Bulk Put Items for Amazon DynamoDB.
Now the workflow looks like this:
<escape>
AFTER
Amazon S3|vBULK PUT ITEMS|vAmazon DynamoDBManaged bulk writes
</escape>
You provide the S3 location of your input files.
DynamoDB handles the bulk operation asynchronously using dedicated system capacity.
The important detail: bulk writes don't compete with your application's regular table reads and writes.
You don't need to build a separate custom writer just to perform the import.
03. Understand the architecture visually
Let's design a real product-catalog refresh system.
<escape>
DATA PRODUCER|vProduct / ML Pipeline|vAmazon S3Product Updates|v+--------------------------+| DYNAMODB BULK PUT || || Read input files || Validate records || Evaluate conditions || Write items |+--------------------------+|vDYNAMODB TABLEProduct Catalog|+------------+------------+| |v vLIVE APPLICATION BULK IMPORTREAD / WRITE DEDICATED CAPACITY| |+------------+------------+|vUPDATED CATALOG
</escape>
This is the key architectural idea:
One table. Two separate capacity paths.
Your customers can continue using the application while the bulk operation loads the new data.
04. What happens inside the system?
<escape>
S3 INPUT FILES|v+------------------+| Read records |+------------------+|v+------------------+| Validate items |+------------------+|v+------------------+| Check conditions |+------------------+|v+------------------+| Write to table |+------------------+|v+------------------+| Generate report |+------------------+|vS3 OUTPUT REPORT
</escape>
Each operation runs as a managed asynchronous job.
You can provide input files in:
- Line-delimited DynamoDB JSON
- Amazon Ion
Files can also be compressed using gzip or Zstandard.
If a record cannot be written, the service records the failure in an S3 report instead of making the entire operation stop at the first bad record.
05. The interesting part: Conditional writes
This is where Bulk Put Items becomes more useful than a simple bulk loader.
Imagine your application already has a product:
{ "product_id": "P101", "price": 1499, "version": 8}Meanwhile, an offline pipeline produces an older snapshot:
{ "product_id": "P101", "price": 1299, "version": 7}What happens if you blindly import that old record?
You overwrite newer application data.
That's a data consistency problem.
Bulk Put Items lets each input record carry its own condition expression.
Example A: Insert only if the item doesn't exist
{ "Item": { "ProductId": {"S": "P102"}, "Price": {"N": "999"}, "Origin": {"S": "bulk-import"} }, "ConditionExpression": "attribute_not_exists(ProductId)"}This prevents the import from overwriting an existing product with the same partition key.
Example B: Update only when the incoming version is newer
{ "Item": { "ProductId": {"S": "P101"}, "Price": {"N": "1599"}, "Version": {"N": "9"} }, "ConditionExpression": "#v < :v", "ExpressionAttributeNames": { "#v": "Version" }, "ExpressionAttributeValues": { ":v": {"N": "9"} }}Now the import only writes the record when the existing version is lower.
<escape>
INCOMING RECORD|vCONDITION CHECK|+-------+-------+| |TRUE FALSE| |v vWRITE ITEM SKIP ITEM| |v vTABLE UPDATED REPORT ENTRY
</escape>
This is extremely useful when bulk data and live application updates can overlap.
A condition failure is recorded as a skipped item, not as a failed operation.
06. Run your first bulk operation
The input file can contain multiple records.
Save a file called
products.json :{"Item":{"ProductId":{"S":"P101"},"Price":{"N":"1599"},"Version":{"N":"9"}},"ConditionExpression":"#v < :v","ExpressionAttributeNames":{"#v":"Version"},"ExpressionAttributeValues":{":v":{"N":"9"}}}{"Item":{"ProductId":{"S":"P102"},"Price":{"N":"999"},"Version":{"N":"1"}},"ConditionExpression":"attribute_not_exists(ProductId)"}Upload it to Amazon S3:
aws s3 cp products.json \ s3://my-product-import/daily/products.jsonNow start the operation:
aws dynamodb start-bulk-put-items \ --table-name arn:aws:dynamodb:us-east-1:123456789012:table/Products \ --input-s3-configuration \ '{"S3Bucket":"my-product-import","S3KeyPrefix":"daily/","InputFormat":"DYNAMODB_JSON"}' \ --output-s3-configuration \ '{"S3Bucket":"my-import-reports","S3KeyPrefix":"reports/","OutputType":["ERROR","CONDITION_CHECK_FAILURE"]}' \ --performance-tier STANDARDThe account ID, bucket names, and table ARN are placeholders.
The request returns a bulk operation ARN. The operation continues asynchronously.
You can use the returned ARN to monitor its progress.
The command also requires the relevant DynamoDB permissions, S3 access, and access to any required KMS keys.
07. Standard or Accelerated?
AWS provides two performance tiers.
<escape>
CHOOSE YOUR IMPORT SPEED
STANDARD ACCELERATED
Lower cost Higher throughputFlexible timing Time-sensitive jobsBackground refreshes Large migrationsPeriodic backfills Recovery workflows
</escape>
Tier | Best for |
|---|---|
Standard | Most background bulk loads |
Accelerated | Workloads with stricter completion deadlines |
AWS published illustrative Accelerated-tier estimates for well-scaled tables with uniformly distributed partition keys and no GSI replication:
Items | Estimated completion |
|---|---|
10 million | Under 10 minutes |
100 million | Under 1 hour |
1 billion | 2–4 hours |
These are AWS estimates under specific assumptions, not guaranteed execution times.
My recommendation: use Standard for ordinary data refreshes. Choose Accelerated when completion time genuinely matters.
08. How do you track the operation?
A bulk import isn't a fire-and-forget process.
There are four possible final states:
<escape>
BULK OPERATION|+----------+----------+| | |v v vCOMPLETED COMPLETED FAILEDWITH ERRORS|vS3 REPORT
CANCELLED
</escape>
Status | Meaning |
|---|---|
COMPLETED | All records were written or intentionally skipped |
COMPLETED_WITH_ERRORS | Some records could not be written |
FAILED | A systemic problem stopped the operation |
CANCELLED | The operation was manually stopped |
The S3 report is particularly useful.
It identifies the source object, record position, and reason a write did not happen.
For condition failures, it can also show the incoming item alongside the existing item.
That makes debugging much easier.
One important warning: cancelling an operation does not roll back items that have already been written. A cancelled import can leave the table partially updated.
09. What does this change for a backend engineer?
Let's compare the old and new approaches.
Responsibility | Custom pipeline | Bulk Put Items |
|---|---|---|
Read S3 files | Your code | Managed |
Bulk write orchestration | Your code | Managed |
Capacity separation | You manage | Dedicated bulk capacity |
Conditional writes | Custom logic | Per-record conditions |
Failed record reports | Build yourself | S3 report |
Operation tracking | Custom system | Bulk operation APIs |
This doesn't mean custom pipelines are useless.
You still need custom processing for complex transformations, attribute-level updates, business rules, and workflows that aren't supported by the bulk API.
Bulk Put Items writes complete items. It is not a replacement for
UpdateItem .10. Production checklist
Before using this in a real system, keep these points in mind:
Check | Why it matters |
|---|---|
Split data into multiple balanced S3 objects | Allows better parallelism |
Use high-cardinality partition keys | Reduces hot-partition bottlenecks |
Add conditional expressions | Prevents stale data overwrites |
Save the S3 error report | Makes retries precise |
Monitor operation status | Table capacity metrics don't show bulk writes |
Check downstream stream consumers | Imported items also appear in DynamoDB Streams |
Make imports repeatable | Helps recover from partial failures |
There are also launch limitations:
- Only one bulk put operation can run against a table at a time.
- Standard supports up to 100 GB per operation.
- Accelerated supports up to 1 TB per operation.
- Global tables are not supported at launch.
- Bulk operations cannot run while an index is being created on the table.
11. Where can you actually use it?
<escape>
ONE FEATURE|+------> E-COMMERCE| Refresh millions of products|+------> PERSONALIZATION| Load new ML recommendations|+------> FINTECH| Backfill customer attributes|+------> MIGRATION| Move records into a live table|+------> ANALYTICSRefresh serving datasets
</escape>
AWS specifically highlights machine-learning insight refreshes, catalog enrichment, backfills, and migrations as use cases.
Imported items also flow through DynamoDB Streams and Kinesis Data Streams as ordinary writes, so downstream consumers can receive them.
The bigger takeaway
A database can be fast at serving millions of requests and still be difficult to update at scale.
The engineering challenge is not simply writing more records.
It's writing them without disrupting the application, overwriting newer data, or losing visibility into failures.
That's what makes Bulk Put Items interesting.
The best infrastructure improvements are the ones that remove operational work without forcing you to redesign the application.
Further Reading
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article