frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

AWS Adds support for nested virtualization

https://github.com/aws/aws-sdk-go-v2/commit/3dca5e45d5ad05460b93410087833cbaa624754e
70•sitole•2h ago

Comments

sitole•2h ago
Support for nested virtualization has been added to the main SDKs. In the us-west-2 region, you can already see the "Nested Virtualization" option and use it with the new M8id, C8id, and R8id instance types.

This is really big news for micro-VM sandbox solutions like E2B, which I work on.

blibble•1h ago
welcome AWS to 2018!
ssl-3•1h ago
Yep. It's pretty boring. I've been using it at home for years and years with libvirt on very not-special consumer hardware. I guess the AWS clown is finally catching up on this one little not-new-at-all thing.
otterley•46m ago
I was an Amazon EC2 Specialist SA in a prior role, so I know a little about this.

If EC2 were like your home server, you might be right. And an EC2 bare metal instance is the closest approximation to that. That option was never disabled and we had some customers who rolled their own nested VM implementations on it.

But EC2 is not like your home server. There are some nontrivial considerations and requirements to offer nested virtualization at cloud scale:

1. Ensuring virtualized networking (VPC) works with nested VMs as well as with the primary VM

2. Making sure the environment (VMM etc) is sufficiently hardened to meet AWS's incredibly stringent security standards so that nesting doesn't pose unintended threats or weaken EC2's isolation properties. EC2 doesn't use libvirt or an off-the-shelf KVM. See https://youtu.be/cD1mNQ9YbeA?si=hcaZaV2W_hcEIn9L&t=1095 and https://youtu.be/hqqKi3E-oG8?si=liAfollyupYicc_L&t=501

3. Ensuring performance meets customer standards

4. Building a rock-solid control plane around it all

It's not a trivial matter of flipping a bit.

QuinnyPig•12m ago
I always enjoy the color you add to these conversations. Thanks!
sitole•9m ago
Nitro is very interesting stuff
raw_anon_1111•5m ago
Seriously curious, don’t Firecracker VMs already run on EC2 instances under the hood when they host Lambda and Fargate?
otterley•1m ago
Unfortunately I'm not at liberty to dive deep into those details. I will say that Firecracker can be used on bare metal EC2 instances, whether you're a public customer or AWS itself. :-)
farklenotabot•1h ago
Sounds expensive for legacy apps
bagels•1h ago
"* *Feature*: Launching nested virtualization. This feature allows you to run nested VMs inside virtual (non-bare metal) EC2 instances."
ATechGuy•1h ago
Would love to see performance numbers with nested virtualization, particularly that of IO-bound workloads.
api•1h ago
What's the performance impact for nested virtualization in general? I'd think this would be adding multiple layers of MMU overhead.
dwattttt•1h ago
From memory, the virtualisation operations themselves aren't nested. The VM instructions interact with the external virtualisation hardware, so it's more of a cooperative situation, e.g. a guest can create & manage virtualisation structures that are run alongside it.

I don't know if this applies to the specific nested virtualisation AWS are providing though.

otterley•24m ago
As a practical matter, anywhere from 5-15%.
blibble•17m ago
depends on the workload and how they've done it

pure CPU should be essentially unaffected, if they're not emulating the MMU/page tables in software

the difference in IO ranges from barely measurable to absolutely horrible, depending on their implementation

traps/vmexits have another layer to pass through (and back)

gerdesj•1h ago
Could someone explain why this is might be a big deal?

I remember playing with nested virty some years ago and deciding it is a backwards step except for PoC and the like. Given I haven't personally run out of virty gear, I never needed to do a PoC.

paulfurtado•1h ago
It is great for isolation. There are so many VM based containerization solutions at this point, like Kata Containers, gvisor, and Firecracker. With kata, your kubernetes pods run in isolated VMs. It also opens the door for live migration of apps between ec2 instances, making some kinds of maintenance easier when you have persistent workloads. Even if not for security, there are so many ways a workload can break a machine such that you need to reboot or replace (like detaching an ebs volume with a mounted xfs filesystem at the wrong moment).

The place I've probably wanted it the most though is in CI/CD systems: it's always been annoying to build and test system images in EC2 in a generic way.

It also allows for running other third party appliances unmodified in EC2.

But also, almost every other execution environment offers this: GCP, VMWare, KVM, etc, so it's frustrating that EC2 has only offered it on their bare metal instance types. When ec2 was using xen 10+ years ago, it made sense, but they've been on kvm since the inception of nitro.

UltraSane•1h ago
You can now run VMs inside a cheaper AWS instance instead of having to pay for an entire bare-metal instance. This is useful for things like network simulation where you use QEMU to emulate network hardware.
anurag•1h ago
This is a big deal because you can now run Firecracker/other microVMs in an AWS VM instead of expensive AWS bare-metal instances.

GCP has had nested virtualization for a while.

parhamn•1h ago
whats the ~ perf hit of something like this?
largbae•1h ago
Nowadays nested just wastes the extra operating system overhead and I/O performance if your VM doesn't have paravirtualization drivers installed. CPUs all have hardware support.
otterley•44m ago
As a practical matter, anywhere from 5-15%.
iJohnDoe•57m ago
Was hoping this comment would be here. Firecracker and microVMs is a good use-case. Also, being able to simply test and develop is a nice to have.

Nested virtualization can mean a lot of things. Not just full VMs.

dangoodmanUT•1h ago
hell yes, finally
dk8996•40m ago
Would these thing be good for openclaw, agents?
CuriouslyC•21m ago
Yeah, though honestly if I'm deploying anything I'd just build an image with nix rather than use nested virtualization.
boulos•5m ago
I feel vindicated :). We put in a lot of effort with great customers to get nested virtualization running well on GCE years ago, and I'm glad to hear AWS is coming around.

You can tell people to just do something else, there's probably a separate natural solution, etc. but sometimes you're willing to sacrifice some peak performance just have that uniformity of operations and control.

ilaksh•2m ago
I wonder if providers like Hetzner and Digital Ocean etc. will get this someday also.

Resizing windows on macOS Tahoe – the saga continues

https://noheger.at/blog/2026/02/12/resizing-windows-on-macos-tahoe-the-saga-continues/
152•erickhill•2h ago•90 comments

GPT‑5.3‑Codex‑Spark

https://openai.com/index/introducing-gpt-5-3-codex-spark/
557•meetpateltech•8h ago•226 comments

AWS Adds support for nested virtualization

https://github.com/aws/aws-sdk-go-v2/commit/3dca5e45d5ad05460b93410087833cbaa624754e
70•sitole•2h ago•29 comments

Gemini 3 Deep Think

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-deep-think/
659•tosh•9h ago•416 comments

An AI agent published a hit piece on me

https://theshamblog.com/an-ai-agent-published-a-hit-piece-on-me/
1465•scottshambaugh•10h ago•620 comments

Skip the Tips: A game to select "No Tip" but dark patterns try to stop you

https://skipthe.tips/
36•randycupertino•1h ago•7 comments

Ring cancels its partnership with Flock Safety after surveillance backlash

https://www.theverge.com/news/878447/ring-flock-partnership-canceled
189•c420•2h ago•77 comments

My Grandma Was a Fed – Lessons from Digitizing Hours of Childhood

https://sampatt.com/blog/2025-12-13-my-grandma-was-a-fed-lessons-from-digitizing-hundreds-of-hour...
52•SamPatt•4d ago•15 comments

How a Cat Debugged Stable Diffusion (2023)

https://blog.dwac.dev/posts/cat-debugging/
15•lukasgelbmann•4d ago•0 comments

Polis: Open-source platform for large-scale civic deliberation

https://pol.is/home2
179•mefengl•8h ago•73 comments

Improving 15 LLMs at Coding in One Afternoon. Only the Harness Changed

http://blog.can.ac/2026/02/12/the-harness-problem/
565•kachapopopow•12h ago•225 comments

Recoverable and Irrecoverable Decisions

https://herbertlui.net/recoverable-and-irrecoverable-decisions/
34•herbertl•3h ago•13 comments

What 1.4M emails reveal about America's most notorious sex offender

https://www.economist.com/interactive/international/2026/02/12/inside-epsteins-network
27•doener•1h ago•8 comments

Major European payment processor can't send email to Google Workspace users

https://atha.io/blog/2026-02-12-viva
454•thatha7777•12h ago•309 comments

Beginning fully autonomous operations with the 6th-generation Waymo driver

https://waymo.com/blog/2026/02/ro-on-6th-gen-waymo-driver
160•ra7•10h ago•156 comments

Launch HN: Omnara (YC S25) – Run Claude Code and Codex from anywhere

96•kmansm27•9h ago•126 comments

Rari – Rust-powered React framework

https://rari.build/
103•bvanvugt•7h ago•56 comments

Apache Arrow is 10 years old

https://arrow.apache.org/blog/2026/02/12/arrow-anniversary/
186•tosh•13h ago•48 comments

Fixing retail with land value capture

https://worksinprogress.co/issue/fixing-retail-with-land-value-capture/
62•marojejian•5h ago•98 comments

How to Have a Bad Career – David Patterson (2016) [video]

https://www.youtube.com/watch?v=Rn1w4MRHIhc
55•rombr•7h ago•16 comments

Synthesizer Cartridge for the Atari 2600

https://www.qotile.net/synth.html
3•harel•4d ago•0 comments

Anthropic raises $30B in Series G funding at $380B post-money valuation

https://www.anthropic.com/news/anthropic-raises-30-billion-series-g-funding-380-billion-post-mone...
265•ryanhn•7h ago•280 comments

A brief history of barbed wire fence telephone networks (2024)

https://loriemerson.net/2024/08/31/a-brief-history-of-barbed-wire-fence-telephone-networks/
131•keepamovin•11h ago•36 comments

Partial 8-Piece Tablebase

https://lichess.org/@/Lichess/blog/op1-partial-8-piece-tablebase-available/1ptPBDpC
36•qsort•3d ago•0 comments

ICE, CBP Knew Facial Recognition App Couldn't Do What DHS Says It Could

https://www.techdirt.com/2026/02/12/ice-cbp-knew-facial-recognition-app-couldnt-do-what-dhs-says-...
162•cdrnsf•5h ago•41 comments

The "Crown of Nobles" Noble Gas Tube Display (2024)

https://theshamblog.com/the-crown-of-nobles-noble-gas-tube-display/
123•Ivoah•14h ago•27 comments

Show HN: Geo Racers – Race from London to Tokyo on a single bus pass

https://geo-racers.com/
97•pattle•15h ago•71 comments

The Future for Tyr, a Rust GPU Driver for Arm Mali Hardware

https://lwn.net/Articles/1055590/
119•todsacerdoti•12h ago•35 comments

Welcoming Discord users amidst the challenge of Age Verification

https://matrix.org/blog/2026/02/welcome-discord/
224•foresto•5h ago•115 comments

Shut Up: Comment Blocker

https://rickyromero.com/shutup/
85•mefengl•9h ago•34 comments