News for hackers. Stuff that matters.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by KenoFischer on Wednesday November 29, 2017 @12:35AM (#15804826)
I'm really, really, happy about this. I've been complaining about the lack of cloud servers with exposed performance counters to any cloud vendor that'll listen (though of course nothing ever came of that). Kudos AWS, this is really cool.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by aliguori on Wednesday November 29, 2017 @12:39AM (#15804847)
Thanks! Would love to hear more about the counters that your interested in. We've exposed more in C5 than in previous instance types and we are trying to make more available over time in a safe way.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by KenoFischer on Wednesday November 29, 2017 @12:53AM (#15804911)
I have two use cases:

- General performance analysis. For this more counters is generally incrementally better.

- Running https://github.com/mozilla/rr. This requires the retired-branch-counter to be available (and accurate - sometimes virtualization messes that up)

The second one I actually care more about, because I've pretty much stopped trying to debug software when rr is not available, too painful ;). Feel free to email me (email is in my profile) for gory details.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by khuey on Wednesday November 29, 2017 @02:35AM (#15805270)
For the benefit of anyone reading this, KVM and VMWare virtualization generally work. Xen has problems because of a stupid Xen workaround for a stupid Intel hardware bug from a decade ago. I can provide more details about that via email (in my profile) if desired.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by irishcoffee on Wednesday November 29, 2017 @10:01AM (#15807247)
Seconding paulie_a, We're running a Xen stack right now and I haven't heard of this. We've worked around a few nasty bugs with Xen and linux doms already, but I'm wondering if we have this problem you're referring to and don't even know it.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by paulie_a on Wednesday November 29, 2017 @09:24AM (#15806958)
Can you please just post the info. Intel deserves to be shamed
Re:EC2 Bare Metal Instances with Direct Access to Hardware by khuey on Wednesday November 29, 2017 @10:56AM (#15807743)
One of the things the performance monitoring unit (PMU) is capable of doing is triggering an interrupt (the PMI) when a counter overflows. When combined with the ability to write to the counters, this lets you program the PMU to interrupt after a certain number of counted events. Nehalem supposedly had a bug where the PMI fires not on overflow but instead whenever the counter is zero. Xen added a workaround to set the value to 1 whenever it would instead be 0. Later this was observed on microarchitectures other than Nehalem and Xen broadened the workaround to run on every x86 CPU. Intel never provided any help in narrowing it down and there don't seem to be official errata for this behavior too.

This behavior is ok for statistically profiling frequent events but if you depend on exact counts (as rr does) or are profiling infrequent events it can mess up your day.

https://lists.xen.org/archives/html/xen-devel/2017-07/msg022... goes a little deeper and has citations.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by voidmain0001 on Wednesday November 29, 2017 @10:40AM (#15807592)
Is this what khuey is referring to?: https://support.citrix.com/article/CTX136003
Re:EC2 Bare Metal Instances with Direct Access to Hardware by DSingularity on Wednesday November 29, 2017 @06:17AM (#15806020)
Im assuming rr is only unavailable for multithreaded apps? How frequently is rr available for your use?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by khuey on Wednesday November 29, 2017 @10:59AM (#15807773)
rr works fine on multithreaded (and multiprocess) applications. It does emulate a single core machine though, so depending on your workload and how much parallelism your application actually has it might be painful.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by jopsen on Wednesday November 29, 2017 @04:45AM (#15805700)
scaleway and packet.net both offer bare metal

the AWS machines looks to be huge.. hence, high cost.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by jcims on Wednesday November 29, 2017 @05:15AM (#15805816)
BlueMix/SoftLayer does as well, costs are somewhat competitive with packet.net. No idea how scaleway is making money.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by berns on Wednesday November 29, 2017 @09:12AM (#15806880)
Even though they are billed hourly, the deployment times (hours, last time I checked) make it not a real replacement as cloud servers. Scaleway servers deploy in seconds and packet.net in minutes.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by jcims on Wednesday November 29, 2017 @11:14AM (#15807911)
Hrm, I tinkered a bit about a year ago and it was ~10 mins.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by gregdunn on Wednesday November 29, 2017 @05:13PM (#15811388)
EC2 has actually exposed a subset even on the Xen instances for some of the more recent instance types.

Brendan Gregg wrote about them at http://www.brendangregg.com/blog/2017-05-04/the-pmcs-of-ec2....

Re:EC2 Bare Metal Instances with Direct Access to Hardware by LogicX on Wednesday November 29, 2017 @12:52AM (#15804906)
Packet.net, arguably the leader in api driven, on demand bare metal instances, recently blogged about this: https://www.packet.net/blog/why-we-cant-wait-for-aws-to-anno...

I am a customer of packet's, along with other virtual and dedicated hosting providers. I don't use aws ec2. I've been pleased with Packet, and their offerings are much more diverse than this initial offering from aws.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by larrymcp on Wednesday November 29, 2017 @02:55AM (#15805341)
I just now took a look at Packet's web site and their data center locations. They categorize each location as either "core" or "edge", but I couldn't find anything to indicate what those terms mean in this context. Are you familiar with that distinction?

The location nearest me is an "edge", not a "core". I wonder what I would be missing out on, if it's not "core".

Re:EC2 Bare Metal Instances with Direct Access to Hardware by mcrae on Wednesday November 29, 2017 @03:43AM (#15805514)
Edge DCs only have one type of machine (1E) and no block storage, but I think are otherwise the same.

Even in core DCs though the availability of different types of machines varies.

Love packet.net btw -- the bgp stuff is really game changing.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by dantiberian on Wednesday November 29, 2017 @04:18AM (#15805622)
mcrae covered this well, but to add to that, the Edge servers are targeted for low latency services close to users, think self driving cars, IOT, adtech, etc. You can see more details at https://www.packet.net/edge/ and https://www.packet.net/blog/looking-over-the-edge/.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by dboreham on Wednesday November 29, 2017 @01:41AM (#15805082)
Also a happy Packet customer. We use their small instances for things like service monitoring (where VM pauses cause false positives) and for routing infrastructure where bare metal is required to achieve VoIP-acceptable jitter. They’re also one of the few cloud hosting providers to support BGP.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by edouardb on Wednesday November 29, 2017 @03:21AM (#15805432)
Scaleway.com also offers baremetal servers at a really attractive price. The CLI is just awesome, it's great to see other cloud providers joining the game.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by jopsen on Wednesday November 29, 2017 @04:48AM (#15805711)
it's just a lot harder to automate reliably without any form of userdata.

packet.net I do coreos and provision with userdata specifying what docker image to run... that's all it takes to have immutable deployment :)

Re:EC2 Bare Metal Instances with Direct Access to Hardware by KaiserPro on Wednesday November 29, 2017 @06:02AM (#15805981)
... not really, it just requires different infrastructure/systems.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by jopsen on Thursday November 30, 2017 @04:25AM (#15814482)
You end up having to build your own moving parts...

Building a high-availability metadata store is not easy. And ensuring that incoming request IPs aren't spoof is a little non-trivial to reason about.

UserData is a good way to provide a one-time token that can be used to fetch data...

Using SSH for provisioning is just plain dirty... and almost impossible to do reliably... You'll need global locks and timeouts to recover in case one of your master crashes... Plus some garbage collection to cleanup things that where not fully provisioned.

This is a LOT of unreliable state to manage. And ton of corner cases. Having the right architecture matters for reliable automation.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by CSDude on Wednesday November 29, 2017 @12:10AM (#15804724)
Impressive hardware but I wonder what will be the cost considering even the regular VMs of EC2 are generally more expensive than dedicated offerings of other providers.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by Radim on Wednesday November 29, 2017 @03:34AM (#15805482)
Head-to-head cost comparison of Amazon's AWS, IBM's Softlayer, Hetzner and Google's ComputeEngine on a machine learning benchmark:

https://rare-technologies.com/machine-learning-hardware-benc...

Re:EC2 Bare Metal Instances with Direct Access to Hardware by tyingq on Wednesday November 29, 2017 @09:35AM (#15807044)
Interesting, but the really big difference comes when you need to push data out to end users...network egress charges.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by Radim on Wednesday November 29, 2017 @10:15AM (#15807359)
True! Not with machine learning though. The target of this benchmark is hardcore number-crunching.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by Cacti on Wednesday November 29, 2017 @11:16AM (#15807926)
But... that's not using GPUs? What use is a ML benchmark that is only measuring CPU usage?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by Radim on Wednesday November 29, 2017 @12:31PM (#15808832)
It is (using GPUs).
Re:EC2 Bare Metal Instances with Direct Access to Hardware by Cacti on Wednesday November 29, 2017 @02:56PM (#15810279)
Then it needs to be rewritten, because it is impossible to tell what the machine specs are (none of them have GPU specs listed) and there is no documentation on which tests are run under the GPU and which are not. The repos contain vague information on GPU options, but there is no information on what was used in the tests.

There is nothing in this article that has any information on GPUs. It doesn't even list the actual machine instances used (would not the AWS tier name be useful here, for example?).

Re:EC2 Bare Metal Instances with Direct Access to Hardware by Radim on Thursday November 30, 2017 @04:48AM (#15814597)
I guess you'll have to wait for the next part.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by Johnny555 on Wednesday November 29, 2017 @12:36AM (#15804829)
It has similar specs as the i3.16xlarge, so will probably be priced similarly ($5/hour).

i3.16xlarge: 64 vCPU 488GB 8 x 1900 NVMe SSD

i3.metal: 72 hyperthreads 512GB 15 TB disk

I wonder if this is the hardware for the host of the i3 series.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by shaklee3 on Wednesday November 29, 2017 @12:57AM (#15804927)
It's still the last generation of Xeons, but it's a beast.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by nextzuckerberg on Wednesday November 29, 2017 @12:07AM (#15804713)
What differentiates these from dedicated boxes in server rack? Is their dedicated "cloud" hardware somehow managing access to RAM/storage/etc?

On another tangent - how do Google Cloud and EC2 attach GPUs to instances - given that you can choose CPU and RAM the GPUs must somehow be modularized away from a dedicated server?

Re:EC2 Bare Metal Instances with Direct Access to Hardware by aliguori on Wednesday November 29, 2017 @12:10AM (#15804725)
You can provision these servers just like any other instance. They work just like any other Amazon EC2 instance (same Nitro System platform as C5).

Disclaimer: I work at AWS on the team responsible for the Nitro System including EC2 Bare Metal Instances.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by rrix2 on Wednesday November 29, 2017 @12:17AM (#15804750)
is there any information about nitro or ENA (assuming this is the "hardware accelerators" that are mentioned in tfa) that is publicly available? it seems like the most nifty little thing
Re:EC2 Bare Metal Instances with Direct Access to Hardware by _msw_ on Thursday November 30, 2017 @05:29PM (#15820212)
Here are videos from break out sessions yesterday at re:Invent https://www.youtube.com/watch?v=LabltEXk0VQ https://www.youtube.com/watch?v=o9_4uGvbvnk
Re:EC2 Bare Metal Instances with Direct Access to Hardware by aliguori on Wednesday November 29, 2017 @12:19AM (#15804757)
There is more coming at re:Invent. We have more talks queued up tomorrow on this too.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by rrix2 on Wednesday November 29, 2017 @12:21AM (#15804768)
I'll keep an eye out, thanks
Re:EC2 Bare Metal Instances with Direct Access to Hardware by uji on Wednesday November 29, 2017 @12:20AM (#15804764)
how many NICs can you attach to these?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by _msw_ on Wednesday November 29, 2017 @12:43AM (#15804859)
15 Elastic Network Interfaces (ENIs) can be attached, just like i3.16xlarge.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by jcims on Wednesday November 29, 2017 @04:22AM (#15805638)
Any idea if TPM is available on the bare metal instances?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by brianwawok on Wednesday November 29, 2017 @09:09AM (#15806859)
> how do Google Cloud and EC2 attach GPUs to instances - given that you can choose CPU and RAM the GPUs must somehow be modularized away from a dedicated server?

Rack A of servers has a base_server_x. Rack B of servers is base_server_x + GPU_Y.

You ask for no GPU, you get a server from rack A. You ask for a GPU, you get a server from rack B.

No magic monkey adding GPUs to instances ;)

Re:EC2 Bare Metal Instances with Direct Access to Hardware by blasdel on Wednesday November 29, 2017 @11:39AM (#15808162)
Oh there's magic monkeys too!: https://aws.amazon.com/ec2/elastic-gpus/
Re:EC2 Bare Metal Instances with Direct Access to Hardware by rrix2 on Wednesday November 29, 2017 @12:15AM (#15804744)
They can exist in a VPC alongside virtualized resources, map EBS volumes (due to having the ENA onboard), are integrated with cloudwatch, ebs, etc
Re:EC2 Bare Metal Instances with Direct Access to Hardware by comstock on Wednesday November 29, 2017 @12:13AM (#15804738)
I assume you can spin up new instances easily, and they’ll have per-hour billing. You don’t usually get that with dedicated servers.

It sounds a bit like MAAS [1], which allows you to throw images onto, and manage real servers easily, very much like you might spin up VMs on AWS.

[1] https://maas.io

Re:EC2 Bare Metal Instances with Direct Access to Hardware by _msw_ on Wednesday November 29, 2017 @12:43AM (#15804862)
These are billed the same as any other EC2 instance: per second.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by dummyfunnytoo on Wednesday November 29, 2017 @06:36AM (#15806071)
Just to point out, per second billing is incredibly recent for EC2:

https://aws.amazon.com/about-aws/whats-new/2017/10/announcin...

Re:EC2 Bare Metal Instances with Direct Access to Hardware by a012 on Wednesday November 29, 2017 @12:10AM (#15804723)
Network and other managed services those are integrated into AWS.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by ianai on Wednesday November 29, 2017 @12:11AM (#15804731)
So you could magic up a virtual machine that spans more hardware than would typically be in a single, enclosed chassis?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by wmf on Wednesday November 29, 2017 @12:16PM (#15808624)
No, that isn't possible for VMs or bare metal.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by IanRobertsonGMX on Tuesday December 05, 2017 @03:39PM (#15855615)
Actually, it is possible, but not on Amazon's cloud. Check out www.scalemp.com - aggregating a collection of nodes into a large, single VM.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by cperciva on Wednesday November 29, 2017 @04:39AM (#15805686)
I'm looking forward to testing out FreeBSD on these... and also bhyve, for a fully BSD virtualization stack.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by nickpsecurity on Wednesday November 29, 2017 @12:16PM (#15808617)
With them leaning bare-metal and low cost, I wonder if services like these could be used to bootstrap clouds in VAR form for niche OS's. Might be useful at the least for getting bugs out of the virtualization software using diverse workloads. If costs kept minimal, might even be profitable if the niche OS has enough users.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by will_hughes on Wednesday November 29, 2017 @12:30AM (#15804804)
> Storage – 15.2 terabytes of local, SSD-based NVMe storage.

That's probably the most interesting aspect for me.

Does anyone know how that's provisioned? i.e 8x just under 2TB volumes, or something else?

Re:EC2 Bare Metal Instances with Direct Access to Hardware by aliguori on Wednesday November 29, 2017 @12:33AM (#15804813)
It's exactly the same as with the i3.16xlarge instance type. There are eight 1900 GB drives. In an i3.16xlarge, those eight drives are passed through to the instance with PCIe passthrough but for the i3.metal instance, you avoid going through a hypervisor and IOMMU and have direct access.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by will_hughes on Wednesday November 29, 2017 @10:16AM (#15807373)
Thanks.

I guess some other open questions:

- If one of those drives fails, will Amazon hotswap them out, or do you need to migrate to a new instance (moving TBs of data to a new box without causing outages can be painful.)

- Is there a hardware RAID controller for those drives, or is it software only?

- Can anyone with access to one of these boxes produce some IO performance stats on them? Bonus points for stats on single drive vs concurrent across all drives (i.e is there any throttling). More points for RAID10 performance across the whole 8.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by _msw_ on Wednesday November 29, 2017 @02:41PM (#15810145)
The local NVMe storage for i3.metal is the same as i3.16xlarge. There are 8 NVMe PCI devices. For i3.16xlarge those PCI devices are assigned to the instance running under the Xen hypervisor. When running i3.metal, there simply isn't a hypervisor and the PCI devices are accessed directly.

- There is no hot swap for the NVMe storage.

- The 8 NVMe devices are discrete, there is no hardware RAID controller

- Anyone can get I/O performance stats on i3.16xlarge as a baseline. Intel VT-d can introduce some overhead from the handling (and caching) of DMA remapping requests in the IOMMU and interrupt delivery so I/O performance may be a bit higher on i3.metal, with a few microseconds lower latency.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by andy_ppp on Wednesday November 29, 2017 @01:46AM (#15805097)
For all this progress the billing on AWS is so damn confusing to figure out if some machine is left on unused that I won’t use AWS again. GCE and Azure miles ahead here.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by _wmd on Wednesday November 29, 2017 @02:06AM (#15805172)
It takes all of 3 clicks to figure this out using cost explorer
Re:EC2 Bare Metal Instances with Direct Access to Hardware by andy_ppp on Wednesday November 29, 2017 @03:13AM (#15805405)
Why did AWS support send me a 5329 word message on how to check every region and service then?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by syncsynchalt on Wednesday November 29, 2017 @10:54AM (#15807723)
Cost Explorer takes [up to] 24 hours to set up, so it's not a good answer to support questions about billing.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by _wmd on Wednesday November 29, 2017 @07:38AM (#15806296)
Maybe spend a few more minutes clicking through the apps billing section before firing off a support request next time :)
Re:EC2 Bare Metal Instances with Direct Access to Hardware by artursapek on Wednesday November 29, 2017 @11:38AM (#15808153)
AWS is incredibly complex. Are you complaining that their billing can get complex?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by azinman2 on Wednesday November 29, 2017 @05:50AM (#15805943)
So if it’s truly bare, how does Amazon give and take control of the machine for provisioning? Don’t they still need done kind of hypervisor?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by KaiserPro on Wednesday November 29, 2017 @06:13AM (#15806011)
Most servers have some sort of "lights out" management, which gives KVM + remote imaging and bios control.

With amazon, they have complete control over the network in and out, so cutting you off and re-imaging a server is pretty trivial.

To be fair, its not that hard to do even if you're not amazon.

Most of the big server vendor's out of band interfaces have an API, so telling a server to reboot from a network image is pretty trivial. Providing a netboot infrastructure to install images with a 'userdata' script is also not that difficult.

you'll need a DHCP server, tftp to serve the boot image, and usuaally an NFS server to pull the rest of the image over. With some engineering work that could be made to use HTTP.

https://wiki.centos.org/HowTos/NetworkInstallServer

Re:EC2 Bare Metal Instances with Direct Access to Hardware by detaro on Wednesday November 29, 2017 @07:31AM (#15806277)
It's a bit harder if you host something like this for the general public to use (vs administrating machines in your private DC). Normal setups aren't really hardened against someone flashing firmware, messing with UEFI, ..., all of which mean you can't entirely trust a machine coming back from customer control. I wouldn't be surprised if Amazon took this seriously and invested effort in stopping such things. At their scale, they probably can customize the hardware enough.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by justincormack on Wednesday November 29, 2017 @09:44AM (#15807120)
Everyone who sells bare metal as a service takes this seriously. As AWS build their own hardware, especially in these newer machines, I would guess that its not possible to flash firmware from the user machine, only from the control node.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by _msw_ on Wednesday November 29, 2017 @11:17AM (#15807933)
EC2 Bare Metal instances boot from an EBS volume that is accessed via a NVMe PCI device (implemented in ASICs built by Annapurna Labs), just like virtualized C5 instances.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by KaiserPro on Thursday November 30, 2017 @02:45AM (#15814086)
Why would you boot what is essentially an iSCSI target via NVMe?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by _msw_ on Thursday November 30, 2017 @03:06PM (#15819023)
NVMe is just how the storage is surfaced -- the hardware programming interface for the block device. Hardware iSCSI initiators (HBAs) also have a hardware programming interface, but at the end of the day you talk SCSI over that interface.

NVMe is a better match for the the storage operations supported by EBS. A bonus is that by surfacing EBS over NVMe there is a common storage interface for both managed storage volumes and local NVMe storage.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by KaiserPro on Friday December 01, 2017 @08:38AM (#15823692)
so is that a hardware cache, software cache or a storage tier?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by _msw_ on Friday December 01, 2017 @01:25PM (#15825960)
The NVMe interface to EBS volumes that is implemented in our Nitro system today is closest to a HBA with no additional caching. So, a storage tier.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by IshKebab on Wednesday November 29, 2017 @05:53AM (#15805952)
Maybe they use Intel's Management Engine!
Re:EC2 Bare Metal Instances with Direct Access to Hardware by RKearney on Wednesday November 29, 2017 @07:26AM (#15806255)
The E5-2686 v4 doesn’t have IME.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by userbinator on Wednesday November 29, 2017 @07:51AM (#15806367)
The CPU itself doesn't, but the chipset does.

Amazon is a big enough customer that it wouldn't surprise me if they could get Intel to make special ME firmware with the features they want in it.

...which also means the ME exploits discussed recently here could lead to a whole lot more fun... ;-)

Re:EC2 Bare Metal Instances with Direct Access to Hardware by solotronics on Wednesday November 29, 2017 @06:38AM (#15806084)
Re:EC2 Bare Metal Instances with Direct Access to Hardware by oellegaard on Wednesday November 29, 2017 @12:25AM (#15804784)
I wonder what it will cost - as of now I don’t see it in the price list
Re:EC2 Bare Metal Instances with Direct Access to Hardware by _msw_ on Wednesday November 29, 2017 @12:45AM (#15804867)
Pricing will come with general availability. I suspect (and hope) everyone will be surprised and happy with the price.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by FBISurveillance on Wednesday November 29, 2017 @12:13AM (#15804737)
This is really good news, happy to see this is an option now.

And thanks for posting this here personally @jeffbarr.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by jeffbarr on Wednesday November 29, 2017 @12:50AM (#15804895)
Any time!
Re:EC2 Bare Metal Instances with Direct Access to Hardware by hartator on Wednesday November 29, 2017 @11:17AM (#15807932)
Why fancy words when they are just offering regular dedicated servers?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by anonu on Wednesday November 29, 2017 @11:26AM (#15808025)
These were my exact same thoughts. I suppose its almost like a step back from the framework of "virtualize everything"... what's old is new..

addon thoughts: nonetheless, the specs on the bare metal box are ridiculous. buying something like that will cost you $50k (someone correct me?) - then you need to find a place to host it... thats not easy to do.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by rrix2 on Wednesday November 29, 2017 @11:43AM (#15808216)
Because they're still virtualizing literally everything but the actual computer. You can attach NVMe backed EBS volumes, snapshot them as normal, etc. You can have this thing exist in a vpc next to your virtualized components, with 25gbps dedicated link. They're virtualizing the things you shouldn't need to care about, leaving you with a free Cpu and access to all the things that make aws aws
Re:EC2 Bare Metal Instances with Direct Access to Hardware by wmf on Wednesday November 29, 2017 @12:14PM (#15808595)
Regular dedicated servers don't have VPC, EBS, etc.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by witten on Wednesday November 29, 2017 @02:21AM (#15805234)
Accounting question: Might this qualify as a capital expense? If you squint hard enough?

For context, AWS is coy (at least publicly) about the existing dedicated instances and CapEx vs. OpEx.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by _msw_ on Wednesday November 29, 2017 @03:01AM (#15805366)
The information found here should help your finance team or accountants determine how best to classify your expenses: https://aws.amazon.com/ec2/dedicated-hosts/faqs/#Should_I_Co...

Since EC2 Bare Metal instances will use the same pricing models as all other EC2 instances (on demand, reserved instances, dedicated host, spot), the same information is relevant.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by KaiserPro on Wednesday November 29, 2017 @06:03AM (#15805984)
For the UK its always opex. As you never own the instance, you are hiring it as a service.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by zrail on Wednesday November 29, 2017 @01:06PM (#15809195)
Will there be smaller instances available eventually? I'm interested in bare metal performance but I don't need an instance that huge for my current workload.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by _msw_ on Wednesday November 29, 2017 @02:30PM (#15810036)
Our goal is to for the majority of virtualized EC2 instances to be indistinguishable from bare metal (if not better). In most CPU and memory intensive benchmarks there is very little difference between an virtualized EC2 instance and bare metal, especially for smaller numbers of cores and memory sizes.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by a012 on Wednesday November 29, 2017 @12:07AM (#15804717)
So now you can rent a dedicated server on AWS, what is nice.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by thesandlord on Wednesday November 29, 2017 @01:04AM (#15804943)
AWS already had dedicated instances, but they still had a VM running on top. These are bare metal, which means you run directly on the hardware.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by sdfjkl on Wednesday November 29, 2017 @05:57AM (#15805970)
Interesting. I expect we'll be seeing a lot more VPS providers running on AWS with these instance types.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by SteveNuts on Wednesday November 29, 2017 @02:00AM (#15805152)
This will expose virtualization? As in I can run my own virtualization stack on these instances (KVM, etc)?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by _msw_ on Wednesday November 29, 2017 @02:08AM (#15805181)
EC2 Bare Metal instances provide all the typical Intel processor features, including VT-x and VT-d. Yes you can use KVM.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by empath75 on Wednesday November 29, 2017 @12:06AM (#15804709)
Seems like this would be better for container farms, depending on cost.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by icebraining on Wednesday November 29, 2017 @04:57AM (#15805751)
Seems like a good way to build your own version of Joyent Triton, running containers without VMs.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by jopsen on Wednesday November 29, 2017 @04:51AM (#15805726)
including hypercontainer which uses KVM for hardware isolation with low overhead...
Re:EC2 Bare Metal Instances with Direct Access to Hardware by xena on Wednesday November 29, 2017 @08:24AM (#15806532)
What is the price? I can't find it.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by syncsynchalt on Wednesday November 29, 2017 @10:56AM (#15807744)
From _msw_ in this thread: "Pricing will come with general availability. I suspect (and hope) everyone will be surprised and happy with the price."
Re:EC2 Bare Metal Instances with Direct Access to Hardware by zsmith928 on Wednesday November 29, 2017 @08:51AM (#15806714)
awesome stuff! Great to see AWS pushing things around the baremetal problem set.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by GrumpyNl on Wednesday November 29, 2017 @06:06AM (#15805990)
Isnt this just regular web hosting?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by dboreham on Wednesday November 29, 2017 @09:03AM (#15806807)
Not quite: this is cloud-provisioned so you can do things like supply your own image and it integrates with all the other AWS services like virtual machines do. Provisioning is automated and self-serve. Also per-second billing which you couldn't get in the olden days with hosting.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by brutopia on Wednesday November 29, 2017 @05:34AM (#15805888)
Thanks Jeff!
Re:EC2 Bare Metal Instances with Direct Access to Hardware by titzer on Wednesday November 29, 2017 @09:33AM (#15807030)
I think Amazon is exposing themselves to far greater security risks than they realize.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by aeorgnoieang on Wednesday November 29, 2017 @09:39AM (#15807073)
Like what?
Re:EC2 Bare Metal Instances with Direct Access to Hardware by titzer on Wednesday November 29, 2017 @09:49AM (#15807154)
Blackhats, state actors, etc all trying to attack Amazon or colocated services. As an example (I don't know the extent of "bare metal" access, so I couldn't be sure) with the ability to run their own operating system, a client could potentially get all the way down to the NIC to form arbitrary network packets. With this they could potentially map and attack Amazon's internal network protocols (routers, etc). Any kind of vulnerability within Amazon's software stack on other servers now gets a whole lot worse. If the client did this at a very low rate, it would be difficult to detect. Firewalling off these servers only helps so much, since they could still attack colocated servers of other clients, or could potentially spoof the protocol of Amazon's own server management.

I hope they have thought this through carefully, because it potentially exposes everyone on EC2 to more, potentially worse, attacks.

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#...
Re:EC2 Bare Metal Instances with Direct Access to Hardware by mugsie on Wednesday November 29, 2017 @11:08AM (#15807864)
Cool - I would be interested in seeing how that mitigation was done.

Is this going to be available online afterwards, or is it just an in person breakout?

Re:EC2 Bare Metal Instances with Direct Access to Hardware by k__ on Wednesday November 29, 2017 @04:14AM (#15805604)
OT: Job advice needed (because I think many back-end devs will be here :D)

I'm thinking about going full-stack next year. I have a bit of experience building APIs besides being mainly a front-end developer.

Is going "cloud only" a good idea? I thought about starting with AWS Lambda, S3, DynamoDB and the Serverless framework.

Are the providers hugely different or is it a good idea to spread out and do some Azure and GCP too?

Re:EC2 Bare Metal Instances with Direct Access to Hardware by dotancohen on Wednesday November 29, 2017 @04:47AM (#15805709)
That's completely off topic. In fact, the question is so broad that I cannot think of anyplace other than the water cooler or Quora to ask it.

Career advice: Never go "foobar-only". Make an effort to learn "foobar" but understand whatever is one layer below it in the stack. Want to go "cloud-only"? Learn OpenCloud, not AWS.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by k__ on Wednesday November 29, 2017 @04:53AM (#15805736)
lol, while complaining you still gave me a decent answer, thanks :)
Re:EC2 Bare Metal Instances with Direct Access to Hardware by dotancohen on Wednesday November 29, 2017 @05:39AM (#15805903)
Of course, we're all here to help each other! Good luck!
Re:EC2 Bare Metal Instances with Direct Access to Hardware by gtsteve on Wednesday November 29, 2017 @04:51AM (#15805721)
It's definitely worthwhile to learn Lambda, S3 and serverless apps but all that stuff can be learned on the job. S3 is especially easy to use for most use-cases and any decent programmer can learn to use it in an hour or two.

However, I would definitely learn a SQL dialect and learn how RDBMSes such as Postgres work (especially what is meant by ACID) as most companies are based around a database. Don't believe the hype - SQL is not dead. Dynamo is a great technology but there are many problems it can't solve for you.

Finally, I personally don't know Azure or GCP so well. Only knowing AWS in-depth hasn't held me back so far. I've used a few of Azure's services but I've never built a serious app on it.

My recommendation is to not really worry about individual technologies and to focus on safely handling and working with data.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by k__ on Wednesday November 29, 2017 @04:58AM (#15805756)
Yes.

I learned React and later React-Native. Selling myself as a "mobile consultant" then worked fine, nobody cared "how" I made these mobile apps.

My idea was the same with back-end, learning some framework and start selling myself as "mobile cloud consultant" or something, with the hopes that clients also don't care "how" I create these cloud back-ends.

I know SQL, worked most of my time with RDBMSs, so this wouldn't be big of an issue. As I said I already did a few back-ends, but my focus was on front-end, usability and such.

I just mentioned DynamoDB because I had the impression that it was "the AWS DB", do they offer an SQL service besides Redshift?

Re:EC2 Bare Metal Instances with Direct Access to Hardware by gtsteve on Wednesday November 29, 2017 @05:17AM (#15805825)
Yes, they have RDS: https://aws.amazon.com/rds/

It allows you to launch many common database engines, which are managed and backed up by AWS. I've been using it for a few years and for my use-case it's great.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by k__ on Wednesday November 29, 2017 @05:20AM (#15805839)
lol, I always had the impression RDS was the AWS Redis :D
Re:EC2 Bare Metal Instances with Direct Access to Hardware by krallja on Wednesday November 29, 2017 @08:32AM (#15806573)
Elasticache is the AWS Redis.
Re:EC2 Bare Metal Instances with Direct Access to Hardware by akoncius on Wednesday November 29, 2017 @05:16AM (#15805821)
Yes, AWS has product called RDS , where you can choose RDBMS such as MySQL, PostgreSQL , Aurora (MySQL compatible database) and so on.

DynamoDB is noSQL database.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by k__ on Wednesday November 29, 2017 @05:22AM (#15805849)
I knew that DynamoDB is a noSQL DB, I thought with the noSQL hype and everyone doing MongoDB/RethinkDB back-ends now, they would simply say "In the cloud you have to use this and that's it"

RDS somehow sounded like the Redis service of AWS, hehe.

Re:EC2 Bare Metal Instances with Direct Access to Hardware by keypusher on Wednesday November 29, 2017 @06:19AM (#15806025)
AWS offers hosted Redis/Memcache via ElastiCache
Re:EC2 Bare Metal Instances with Direct Access to Hardware by keypusher on Wednesday November 29, 2017 @06:27AM (#15806041)
Learning your way around cloud services is a great idea, but I would be hesitant about starting with Lambda and Serverless, or doing only that. It's somewhat of a different paradigm, kind of back-end for front-end developers, or at least people who don't want to deal with infrastructure. While that is a great thing, I think there is value in understanding what a more tradition webserver on AWS looks like with an EC2 instance, EBS volumes, AMIs, security groups, load balancer, SSH access, etc.