Re:EC2 Bare Metal Instances with Direct Access to Hardware
by _msw_ on Wednesday November 29, 2017 @10:56AM
(#15807747)
The NIC that is used by EC2 Bare Metal instances is an Elastic Network Adapter (ENA) PCI device that surfaces a logical VPC Elastic Network Interface. ENA is implemented in an ASIC that we design and build.
When ENA is used in virtualized instances, Intel VT-d and SR-IOV are used to bypass the hypervisor. When ENA is used in a bare metal instance, the OS simply has direct access to the PCI device. In either case the device is a controlled surface, and VPC software defined networking deals with verifying and encapsulating network traffic.
Re:EC2 Bare Metal Instances with Direct Access to Hardware
by titzer on Thursday November 30, 2017 @03:17PM
(#15819120)
It's all really cool that you design and build your own NICs. They are probably awesome tech designed by really smart people.
But how many hundreds of millions of lines of code are on these systems, roughly? Ballpark estimate.
Re:EC2 Bare Metal Instances with Direct Access to Hardware
by sseveran on Wednesday November 29, 2017 @09:59AM
(#15807219)
You have the whole machine. There are no other colocated VMs.
Re:EC2 Bare Metal Instances with Direct Access to Hardware
by mugsie on Wednesday November 29, 2017 @10:14AM
(#15807352)
that is the issue.
You have full access to the machine, so you can update firmware / tinker with BIOS etc.
Then let the machine go back into the pool, and wait for it dial home.
There is some mitigation, but this is a major reason a lot of vendors do not do per second / minute bare metal.
Re:EC2 Bare Metal Instances with Direct Access to Hardware
by _msw_ on Wednesday November 29, 2017 @10:44AM
(#15807633)
You cannot update firmware / tinker with BIOS etc. I will cover this in a breakout session at re:Invent today: https://www.portal.reinvent.awsevents.com/connect/search.ww#...
I hope they have thought this through carefully, because it potentially exposes everyone on EC2 to more, potentially worse, attacks.