News for hackers. Stuff that matters.
Re:Introducing Amazon Linux 2 by make3 on Thursday December 14, 2017 @02:40AM (#15920591)
as an AWS noob, why would anyone use this over Centos or Ubuntu?
Re:Introducing Amazon Linux 2 by jon-wood on Thursday December 14, 2017 @02:54AM (#15920644)
If you're running on AWS it's really nice to have everything preconfigured for things like logging to Cloudwatch, and not having to mess around with kernel optimisations.
Re:Introducing Amazon Linux 2 by make3 on Thursday December 14, 2017 @03:09AM (#15920690)
Thanks for your answer.

However, they do have images with other distros also well preconfigured though don't they?

Re:Introducing Amazon Linux 2 by slgeorge on Thursday December 14, 2017 @09:02AM (#15922285)
Yes they do.

Ubuntu considers AWS/GCP to be certified platforms so the server is fully tested on AWS as a hardware platform and there are specific kernel/toolchain/user-space optimisations done to make it run well [0].

The advantage of one of the existing distributions over Amazon Linux is that they are available and tested across multiple clouds, hardware platforms and range of software.

[0] https://www.ubuntu.com/cloud/public-cloud this page leads to various documentation on images, optimisations etc.

Re:Introducing Amazon Linux 2 by dagw on Thursday December 14, 2017 @02:48AM (#15920617)
In theory, since the kernel is specifically tuned towards running on EC2 virtual machines (by the people who know EC2 virtual machines better than anyone) as opposed to 'generic' hardware, performance might be slightly better.

Also, and for many more importantly, it's probably easier to get support from Amazon if you're using their official Linux as opposed to a third party distribution.

Re:Introducing Amazon Linux 2 by slgeorge on Thursday December 14, 2017 @09:04AM (#15922298)
Your first point is not true compared to Ubuntu at least [0]. AWS is basically are repackaged version of KVM (the last time I checked), so there's no particular advantage. Ubuntu (and I'm sure Centos/RHEL) provide custom images which have the same optimised code.

[0] I'm pretty sure it's true for CentOS / RHEL, I just don't know for a fact.

Re:Introducing Amazon Linux 2 by geofft on Thursday December 14, 2017 @10:49AM (#15923166)
AWS is mostly Xen (they just introduced a KVM option https://aws.amazon.com/blogs/aws/now-available-compute-inten... ), and there are a few things like "enhanced networking" where you get a performance boost if you're on a kernel with support but it's still functional if you're on any other kernel.
Re:Introducing Amazon Linux 2 by lscotte on Thursday December 14, 2017 @11:07AM (#15923334)
Ubuntu has kernels specifically tuned for different cloud providers in LTS releases. For AWS, it's the linux-aws package.