3 ms·
This is an informative and well written article, but seems incomplete in this day and age. In public cloud environments, network attached storage is far more pr
by whopa 9y ago
This is an informative and well written article, but seems incomplete in this day and age. In public cloud environments, network attached storage is far more prevalent, so the swap story may be different there (I honestly don't know though). Since the author works at Facebook, he probably lacks experience in this regard.
- Anderkent 9y agoEvery cloud provider I've worked with (okay, so AWS :P) gives you ephemeral local storage. Obvioulsy you don't swap onto a network drive.
- akerl_ 9y agoEven on AWS they're phasing out local storage on new instance types: https://ec2instances.info/ https://ec2instances.info/ (search for ec2 only, but it's the majority of new instance families)
- whopa 9y agoModern AWS instance types are EBS-only.
- eikenberry 9y agoWith the exception of the High IO types (I2/I3). They still get it and the newer instances get NVMe SSDs. In other words they are making it a feature of certain types that would benefit from it.
- _msw_ 9y agoFor example, F1 instances have NVMe local instance storage. https://aws.amazon.com/ec2/instance-types/f1/ https://aws.amazon.com/ec2/instance-types/f1/
- Anderkent 9y agoHuh. You're right; it seems for the newer instance types only c1.medium and m1.small get swap mounts. That seems like a mistake by aws; but I guess you can a M3 instead of a M5.
- merb 9y agowell the default kubernetes install (kubeadm) will actually fail installing when having swap enabled. (even worse you can force him to ignore that, but kubelet would fail starting when swap is enabled).