Lambda MicroVM v4 Adds Disk. Size the Baseline

Lambda MicroVM base image v4, out November 23, raises local disk by up to 4x. Disk is tied to baseline memory you pay for while the MicroVM runs.

By Muhammad Saif and Aashan Khan · Techtribe co-founders

AWS widened the local disk on Lambda MicroVMs. Base image version 4, released November 23, 2026, says so in one line on the base image release notes: available disk space per MicroVM increased by up to 4× from the prior limit. The sizes live on the MicroVM images page. Disk is not a separate knob. It comes with the baseline you already pay for.

That is the decision. A video job, a batch unpack, a local index, or a model shard that did not fit last week might fit now. The fit is real. The price of the fit is the baseline memory and CPU the table pairs with the disk, billed while the MicroVM is running, not only while the job is busy. Teams that read "4× disk" and resize to the top row will buy an 8 GB baseline for a file copy that needed 20 GB of scratch and almost no CPU.

This is a different Lambda change from GPU inference on Managed Instances. That comparison, card price versus an API, is in whether to self-host the model or call an API. MicroVM v4 is local disk for work you already wanted to run as a MicroVM. Do not merge the two bills in your head. One is a GPU. The other is a bigger scratch disk bolted to a baseline.

The table you are actually buying

AWS uses a baseline and a peak. You set baseline memory. vCPU follows memory, at 2 GB per vCPU. The default baseline is 2 GB and 1 vCPU. During a peak the MicroVM can scale up to 4× that baseline, and you pay the baseline rate while it runs plus the above-baseline usage per second.

The disk caps on the sizing page are:

A 0.5 GB baseline, 0.25 vCPU, peaks at 2 GB and 1 vCPU, with 10 GB disk. A 1 GB baseline, 0.5 vCPU, peaks at 4 GB and 2 vCPU, with 16 GB disk. The default 2 GB baseline, 1 vCPU, peaks at 8 GB and 4 vCPU, with 32 GB disk. A 4 GB baseline, 2 vCPU, peaks at 16 GB and 8 vCPU, with 64 GB disk. An 8 GB baseline, 4 vCPU, peaks at 32 GB and 16 vCPU, with 128 GB disk.

You cannot order 64 GB of disk on the default baseline. You order the 4 GB baseline and receive the disk cap that comes with it. If the job's steady CPU need is the default, and the only reason to move up is a burst of files, you are paying for idle baseline between bursts. That can still be cheaper than a VM you keep all month. It is not cheaper than staying on the default and streaming the file from S3 so the scratch set stays under 32 GB.

Architecture is fixed per image version. x86_64 and ARM64 are both supported, with x86_64 from base image version 3 onward. An image version does not change architecture underneath you. A rebuild for v4 should keep the architecture you already tested. A surprise architecture change is a different outage from a disk change. Do not combine them.

The base image is not the container FROM line. AWS's managed MicroVM base is the operating system and the service components. Your Dockerfile is the application image, and it runs inside that environment when the MicroVM image is built. Changing FROM in your Dockerfile does not select base image version 4. Selecting the managed base, or accepting the default latest at build time, does.

Version 4 does not roll onto what is already running

A MicroVM image is a snapshot of a filesystem and a memory state, built by starting from the managed base and running your image instructions. Each running MicroVM stays on the image version it booted. Publishing version 4 updates what a new build can use. It does not restart production.

Deprecation is a clock. A base version moves from available to deprecated, then expiring, then expired. Deprecated still runs. Expiring cannot build new images. Expired cannot run. Recalled is the rare immediate pull for a security issue. If you pin base-image-version, you must watch that clock. If you do not pin, the next image update takes the latest base, which is how you arrive on version 4 without a ticket. Pick one. Pinning is right when a surprise OS change is worse than a planned rebuild. Floating is right when you want the patch and you have a build that can roll back.

List what the region actually offers before you script an ARN from a blog. aws lambda-microvms list-managed-microvm-images and list-managed-microvm-image-versions are the source. A version that is available in one region may not be the version you assume in another. Build in the region the job runs in.

Plan the cutover as an image rebuild, a test job that uses near the disk you care about, and a traffic move. The test job should fail if the file does not fit, not warn. Measure peak disk, not the average. Batch systems are sized by the worst object, not the mean.

When the extra disk is the right tool

Use it when the job's working set is local and short-lived. Transcode a video that must sit unpacked for the length of the encode. Unpack a batch archive, transform it, and write the result out. Build a local index for one request and throw it away. Stage a model shard that is awkward to stream, if you have already decided the model runs here and not behind an API.

Do not use it as the library. Customer uploads belong in S3 the moment they arrive. The MicroVM reads what it needs and writes results back. A disk cap, even 128 GB, is a per-environment ceiling, and the environment is replaceable. Two concurrent jobs do not share a cozy hard drive. Each has a cap. Concurrency times working set is the real number. A cap that fits one video and a concurrency of ten is ten caps, and ten baselines if ten MicroVMs are up.

Do not use a larger baseline as a substitute for streaming. Many media pipelines can process in chunks and keep scratch in the low tens of gigabytes. The engineering to stream is often less money than a permanent step up the table. Do that math before you take the 4 GB or 8 GB row. If the format truly cannot stream, the table is honest about what the row costs. Pay it, and write down why.

Logs and cores and temporary debug dumps count against the cap. A job that fills the disk with logs and then fails the work it was sized for is a full disk, not a small disk. Ship logs off the MicroVM. Cap local retention. The new headroom will disappear into debug output if you let it.

Snapshots include disk and memory state. A bloated disk makes a bloated snapshot and a slower start. The feature that gave you room can make cold starts worse if you leave last week's files on it. Clean up at the end of the job. The next invocation should not inherit your scratch. Confirm that in a test, because "the environment is fresh" is an assumption people make about Lambda that a snapshot-based image can violate if you baked the dirt in at build time. Build from a clean start. Do not bake sample media into the image to "save a download" unless that media is small, licensed, and meant to be there.

A cost check before you resize

Take a week of jobs. For each, note duration, peak memory, peak disk, and how many ran at once. Price the current baseline. Price the smallest baseline whose disk cap clears the peak disk with room for logs. Include the hours the MicroVM is up with no job, if your setup keeps it warm. Warm capacity is baseline you pay at night.

Compare that to staying on the smaller disk and spilling to S3. The spill costs request and data-transfer money and costs latency. For a nightly batch, latency is cheap and a bigger baseline is not. For an interactive transcode, latency is the product and the baseline may be worth it. Write one paragraph that picks one. Revisit it when the object sizes grow. A cap chosen for today's uploads will be tight after a customer starts sending longer video. The alert you want is disk utilization, not a production failure on the first large file.

Reserved or always-on thinking applies if the MicroVM is up continuously. The 9 percent-class management fees you may have seen on GPU Lambda are a different line item. Do not copy them onto this bill. Read the MicroVM price for the baseline you selected. The mistake is not a wrong fee percentage. The mistake is buying the 8 GB row because the blog said 128 GB.

Set concurrency so a flood of uploads cannot start an unbounded number of baselines. A disk cap per environment does not cap the account. The queue does. A poison file that fails and retries should land in a dead letter after a small number of attempts. Retrying a too-large file forever is how a sizing mistake becomes a weekend bill.

What does not hold

"Serverless means the disk is free" does not hold. The disk cap grew. The baseline price did not become zero. Read the sizing table as a price list with a disk column.

Editing the Dockerfile FROM line does not hold as the upgrade. The managed base version is a separate setting. Verify the image after the build, in the region, with the list APIs. A successful build of your app image can still be sitting on version 3.

Using local disk as the only copy of a customer's file does not hold. Environments are replaced. Builds are replaced. A failure after the upload and before the S3 write is data loss. Write through, then process.

Assuming version 4 is on the MicroVM you started last month does not hold. Rebuild. Test. Shift traffic. The release note is not a live migration.

Sizing from the average file does not hold. Size from the peak you intend to accept, and reject larger uploads at the edge with a clear error. A 100 GB upload into a 32 GB cap fails inside the job, after you have already paid to start it, unless you refuse it earlier.

Combining this resize with an unrelated architecture change or a GPU migration in one deploy does not hold. If the job gets slower or more expensive, you will not know which change did it. Move the disk first. Measure. Then change anything else.

What to do if you already run MicroVMs

  1. List images and the base version they were built with, per region. Note architecture.
  2. From last week's jobs, record peak scratch. If you do not have the metric, add it before you resize. A resize without a peak is a guess.
  3. Pick the smallest baseline whose cap clears that peak plus logs. If none of the week's jobs exceeded the current cap, do not resize. The release is not a mandate.
  4. Rebuild one image on version 4, pin or float on purpose, and run the largest recent object in a staging account.
  5. Cut production over by image version, with the old image still deployable. Watch disk, duration, and the baseline bill for a week.
  6. Confirm results land in S3 or the real store before the environment goes away. Delete a staging environment and check that nothing you needed was only there.
  7. Write the cap and the reason into the runbook. The next person who sees a disk error should know whether the answer is "reject the file" or "the baseline is now too small."

If you are deciding between this and a plain Lambda function with /tmp, remember they are different products. Function /tmp has its own maximum, configured in smaller steps, on the Zip and container Lambda you already know. MicroVM disk is the table above. A blog post that treats them as one knob will size the wrong service. Name which one the job uses before you change a number.

A note for the person who pays the invoice

The engineering reason to move up a baseline is a peak that does not fit. The finance reason to stay is a baseline that runs all day. Put both numbers in the same short note to whoever approves cloud spend. "We need 64 GB of scratch for the weekly transcode, which means a 4 GB baseline. The job runs six hours. The rest of the week the MicroVM is off, so the bill is those hours, not a month of 4 GB." If the MicroVM is not off, the note has to say that too. A warm environment makes the disk decision a standing cost. Hiding the warm pool inside an engineering change is how the invoice surprises someone who would have said yes to the job and no to the idle time.

Ask them to approve the baseline, not "the new Lambda disk." Disk is the symptom they heard about. Baseline is the product AWS sells. Using the right noun keeps the next request honest when someone wants 128 GB because a single customer uploaded a larger file. That request is another baseline step, or a product limit on upload size. Finance can answer the second one faster when the first note was clear.

Warm pools and snapshotted images deserve a second look after the rebuild. A snapshot taken on version 3 does not become version 4 because the base image page updated. Take a new snapshot from the new image if your start path depends on it. Test a cold start and a warm start. Disk headroom that costs you ten extra seconds of start on an interactive job is a regression, not a gift. The media job that runs for twenty minutes will not care. The request path will.

If this is your app, send the repo.

A 30-minute scope call. We read what is live, name what is dangerous, and quote a fixed scope.

How Techtribe sizes the baseline from the jobs you run

We take a week of real jobs, match peak scratch to the smallest MicroVM baseline that fits, and say whether version 4 is a rebuild you need or a table you can ignore. If the files should never have been local, we move the durable copy to object storage and leave the MicroVM as scratch. You get the before and after in hours and in disk, and a cutover that can roll back to the previous image.

That choice sits in a Production MVP when this pipeline is part of a product you are launching and the bill is part of the design. A Dedicated Team fits when new file types keep arriving and the cap has to be re-decided. If the real question is a GPU model versus an API, that is the other note, Lambda GPU inference. Bring the question you actually have.

Bring the job logs if you have them, or one example file that represents the large case and one that represents the usual case. If you have never measured disk, the first deliverable is the metric. We would rather delay a resize by a week than step you up a baseline for a peak nobody recorded.

The fixed scope for taking a generated app to production is a page per tool: Lovable, Bolt, v0, and Replit.

Questions

What changed in Lambda MicroVM base image version 4?

AWS released version 4 on November 23, 2026. The release note says available disk space per MicroVM increased by up to 4x from the prior limit. The maximum is set by the baseline size you choose, from 10 GB at the smallest baseline up to 128 GB at an 8 GB memory baseline.

Does a running MicroVM pick up version 4 automatically?

No. New base image versions apply when you create or update a MicroVM image and start from that base. A MicroVM keeps the image version it started with. Rebuild and cut over. Omitting a pin takes the latest base at build time, which is how you move, on purpose.

Is the extra disk free?

The disk allowance is larger, and the allowance is tied to baseline memory and CPU. You pay the baseline rate while the MicroVM runs, and you pay for usage above the baseline, per second, up to the peak. Choosing a bigger baseline to unlock disk is a compute bill.

Should media or model files live on that disk?

Only as scratch for the job in progress. The durable copy belongs in S3 or another store that survives the MicroVM. Local disk disappears with the environment. A 128 GB scratch pad is not a content library.

Book a free call

Have a vibe-coded app in production?

30-minute free call. We'll read what you have, name what is dangerous, and quote a fixed scope.