News for hackers. Stuff that matters.
Re:AWS announces per-second billing for EC2 instances by doh on Monday September 18, 2017 @04:52PM (#15279441)
Wasn't aware they added the support. Well, maybe they can figure out GPUs too.
Re:AWS announces per-second billing for EC2 instances by jeffmcjunkin on Monday September 18, 2017 @05:10PM (#15279629)
I'd be surprised if it'd be that much additional work, if the local SSD options are NVMe -- which is also PCI-e like GPU's.
Re:AWS announces per-second billing for EC2 instances by 0x0 on Monday September 18, 2017 @05:30PM (#15279779)
Wait what, would they expose the raw SSD pci device to your vm? What's stopping you from scraping all the leftover data from the previous customer?
Re:AWS announces per-second billing for EC2 instances by tylerjd on Monday September 18, 2017 @05:59PM (#15280047)
Probably something along the lines of secure erase. Most modern SSDs/NVMe drives are encrypted by default in firmware. All the firmware needs to do is throw away the old keys and generate new ones. It's better than zeroing the drive as there is no wear to the write cycles and guarantees that the slack space in the SSD is also cleared, which DD'ing to /dev/nvme0 wont be certain of. The nvme-format tool can be used for this: http://manpages.ubuntu.com/manpages/zesty/man1/nvme-format.1...
Re:AWS announces per-second billing for EC2 instances by wtallis on Monday September 18, 2017 @08:08PM (#15280781)
On newer SSDs, the sanitize command would be preferable for this use over the format command. IIRC, the format command doesn't require quite as strong a security guarantee as the sanitize command: the latter ensures that user data is cleaned from both the flash and all buffers, CMBs, etc.
Re:AWS announces per-second billing for EC2 instances by wmf on Monday September 18, 2017 @06:54PM (#15280405)
I've seen some hints that GCE uses NVMe emulation not PCI passthrough. This would allow the hypervisor to implement features like live migration.
Re:AWS announces per-second billing for EC2 instances by jsolson on Monday September 18, 2017 @09:07PM (#15281047)
I find it interesting to think about virtualization on a spectrum with passthrough at one end and pure emulation at the other. Particularly when applied to I/O peripherals, if the bulk of the I/O can effectively be classed as payload, stepping slightly away from passthrough while maintaining roughly the same layer of abstraction grants the implementer considerable liberties in implementation with very little overhead.

If one were to look at storage, specifically, the move to 4k block sizes would seem like a particular boon in terms of increasing the volume of data covered by any given IOP.

Re:AWS announces per-second billing for EC2 instances by boulos on Tuesday September 19, 2017 @12:28AM (#15281783)
Disclosure: Jon works on virtualization for Compute Engine :). (and I work adjacent-ish)
Re:AWS announces per-second billing for EC2 instances by sdevoid on Tuesday September 19, 2017 @03:16AM (#15282424)
Your data is encrypted as soon as it exits the VM and before it's written to storage.

https://cloud.google.com/compute/docs/disks/#ssd_encryption