3 ms·
as an AWS noob, why would anyone use this over Centos or Ubuntu?
by make3 9y ago
as an AWS noob, why would anyone use this over Centos or Ubuntu?
- dagw 9y agoIn 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.
- slgeorge 9y agoYour 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.
- geofft 9y agoAWS is mostly Xen (they just introduced a KVM option https://aws.amazon.com/blogs/aws/now-available-compute-intensive-c5-instances-for-amazon-ec2/ 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.
- lscotte 9y agoUbuntu has kernels specifically tuned for different cloud providers in LTS releases. For AWS, it's the linux-aws package.
- jon-wood 9y agoIf 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.
- make3 9y agoThanks for your answer. However, they do have images with other distros also well preconfigured though don't they?
- slgeorge 9y agoYes 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 https://www.ubuntu.com/cloud/public-cloud this page leads to various documentation on images, optimisations etc.