translated

This commit is contained in:
geekpi 2020-03-17 08:30:57 +08:00
parent 0c4d1fc668
commit cc48431dfb
2 changed files with 87 additions and 87 deletions

View File

@ -1,87 +0,0 @@
[#]: collector: (lujun9972)
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (Amazon Has Launched Its Own Linux Distribution But Its Not for Everyone)
[#]: via: (https://itsfoss.com/bottlerocket-linux/)
[#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/)
Amazon Has Launched Its Own Linux Distribution But Its Not for Everyone
======
Amazon has [launched][1] its own Linux-based open source operating system, Bottlerocket.
Before you get too excited and try to install and run it, I must tell you that its not your regular Linux distribution like Ubuntu, Fedora or Debian. What is it then?
### Bottlerocket: Linux distribution from Amazon for running containers
![][2]
If you are not aware of containers in Linux, I recommend reading [this article][3] from Red Hat.
A lot has changed in the IT industry since the term cloud computing was first coined. It takes few seconds to deploy a Linux server (usually running in a VM) thanks to cloud server providers like Amazon AWS, Google, [Linode][4], Digital Ocean etc. On top of that, you can deploy applications and services on these servers in form of containers thanks to tools like Docker and Kubernetes.
The thing is that when your sole purpose is to run containers on a Linux system, a full-fledged Linux distribution is not always required. This is why there are container specific Linux that provide only the necessary packages. This reduces the size of the operating system drastically which further reduces the deployment time.
**[Bottlerocket][5] Linux is purpose-built by Amazon Web Services for running containers on virtual machines or bare metal hosts.** It supports docker images and other images that follow the [OCI image][6] format.
### Features of Bottlerocket Linux
![][7]
Heres what this new Linux distribution from Amazon offers:
#### No package-by-package updates
The traditional Linux distribution update procedure is composed of updating individual packages. Bottlerocket uses image-based updates instead.
Thanks to this approach, conflicts and breakage are avoided with the possibility of a rapid and complete rollback (if necessary).
#### Read-only file system
Bottlerocket also uses a primarily read-only file system. Its integrity is checked at boot time via dm-verity. For additional security measures, SSH access is also discouraged and is only available through the [admin container][8] (additional mechanism).
AWS already rules the cloud world and with it
#### Automated updates
You can automate updates to Bottlerocket by using an orchestration service like Amazon EKS.
Amazon also claims that including only the essential software to run containers reduces the attack surface compared to general purpose Linux distributions.
### What do you think?
Amazon is not the first to create a container specific Linux. I think CoreOS was among the first such distributions. [CoreOS was acquired by Red Hat][9] which itself was [sold to IBM][10]. Red Hat recently discontinued CoreOS and replaced it with [Fedora CoreOS][11].
Cloud server is a big industry that will continue to grow bigger. A giant like Amazon will do everything to stay at par or ahead with its competitors. In my opinion, Bottlerocket is an answer to (now) IBMs Fedora CoreOS.
Though [Bottlerocket repositories are available on GitHub][12], I could not find any ready to image yet. At the moment of writing this article, it is only [available as a preview on AWS][5].
What are your views on it? What does Amazon gain with Bottlerocket? If you used something like CoreOS before, will you switch to Bottlerocket?
--------------------------------------------------------------------------------
via: https://itsfoss.com/bottlerocket-linux/
作者:[Abhishek Prakash][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/abhishek/
[b]: https://github.com/lujun9972
[1]: https://aws.amazon.com/blogs/aws/bottlerocket-open-source-os-for-container-hosting/
[2]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/03/botlerocket-logo.png?ssl=1
[3]: https://www.redhat.com/en/topics/containers/whats-a-linux-container
[4]: https://www.linode.com/
[5]: https://aws.amazon.com/bottlerocket/
[6]: https://www.opencontainers.org/
[7]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/03/BottleRocket.png?ssl=1
[8]: https://github.com/bottlerocket-os/bottlerocket-admin-container
[9]: https://itsfoss.com/red-hat-acquires-coreos/
[10]: https://itsfoss.com/ibm-red-hat-acquisition/
[11]: https://getfedora.org/en/coreos/
[12]: https://github.com/bottlerocket-os/bottlerocket

View File

@ -0,0 +1,87 @@
[#]: collector: (lujun9972)
[#]: translator: (geekpi)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (Amazon Has Launched Its Own Linux Distribution But Its Not for Everyone)
[#]: via: (https://itsfoss.com/bottlerocket-linux/)
[#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/)
Amazon 已经推出了自己的 Linux 发行版,但并不适合所有人
======
Amazon 已经[推出][1]了自己的基于 Linux 的开源操作系统 Bottlerocket。
在你兴奋地想要尝试安装和运行它之前,我必须告诉你,它不是常规的如 Ubuntu、Fedora 或 Debian 这样的 Linux 发行版。那它是什么?
### Bottlerocket来自 Amazon 的 Linux 发行版,用于运行容器
![][2]
如果你不了解 Linux 容器,建议你阅读 Red Hat 的[这篇文章][3]。
自从首次提出云计算一词以来IT 行业发生了许多变化。得益于 Amazon AWS、Google、[Linode][4]、Digital Ocean 等云服务器提供商,部署 Linux 服务器(通常在 VM中 运行)只需几秒钟。最重要的是,你可以借助 Docker 和 Kubernetes 之类的工具在这些服务器上以容器形式部署应用和服务。
问题是,当你唯一目的是在 Linux 系统上运行容器时,并不总是需要完整的 Linux 发行版。这就是为什么容器专用 Linux 仅提供必要软件包的原因。这将大大减少操作系统的大小,从而进一步减少部署时间。
**[Bottlerocket][5] Linux 由 Amazon Web Services 专门构建,用于在虚拟机或裸机上运行容器。**它支持 docker 镜像和其他遵循 [OCI 镜像][6]格式的镜像。
### Bottlerocket Linu x的特性
![][7]
这是来自 Amazon 的新 Linux 发行版提供的特性:
#### 没有逐包更新
传统的 Linux 发行版更新过程由更新单个软件包组成。Bottlerocket 改用基于镜像的更新。
由于采用了这种方法,可以避免冲突和破坏,并可以进行快速而完整的回滚(如有必要)。
#### 只读文件系统
Bottlerocket 还使用了主只读文件系统。在启动时通过 dm-verity 检查其完整性。在其他安全措施上,也不建议使用 SSH 访问,并且只能通过 [admin container][8](附加机制)使用。
AWS 已经统治了云世界。
#### 自动更新
你可以使用 Amazon EKS 之类的编排服务来自动执行 Bottlerocket 更新。
Amazon 还声称,与通用 Linux 发行版相比,仅包含运行容器的基本软件可以减少攻击面。
### 你怎么看?
Amazon 并不是第一个创建“容器专用 Linux” 的公司。我认为 CoreOS 是最早的此类发行版之一。[CoreOS 被 Red Hat 收购][9]Red Hat 又被 [IBM 收购][10]。Red Hat 公司最近停用了 CoreOS并用 [Fedora CoreOS][11] 代替了它。
云服务器是一个巨大的行业,它将继续发展壮大。像 Amazon 这样的巨头将竭尽所能与它竞争对手保持一致或领先。我认为Bottlerocket 是对 IBM Fedora CoreOS目前的答案。
尽管 [Bottlerocket 仓库可在 GitHub 上找到][12],但我还没发现内容。在撰写本文时,它仅[可在 AWS 上预览][5]。
你对此有何看法Amazon 会从 Bottlerocket 获得什么?如果你以前使用过 CoreOS 之类的软件,你会切换到 Bottlerocket 么?
--------------------------------------------------------------------------------
via: https://itsfoss.com/bottlerocket-linux/
作者:[Abhishek Prakash][a]
选题:[lujun9972][b]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/abhishek/
[b]: https://github.com/lujun9972
[1]: https://aws.amazon.com/blogs/aws/bottlerocket-open-source-os-for-container-hosting/
[2]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/03/botlerocket-logo.png?ssl=1
[3]: https://www.redhat.com/en/topics/containers/whats-a-linux-container
[4]: https://www.linode.com/
[5]: https://aws.amazon.com/bottlerocket/
[6]: https://www.opencontainers.org/
[7]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2020/03/BottleRocket.png?ssl=1
[8]: https://github.com/bottlerocket-os/bottlerocket-admin-container
[9]: https://itsfoss.com/red-hat-acquires-coreos/
[10]: https://itsfoss.com/ibm-red-hat-acquisition/
[11]: https://getfedora.org/en/coreos/
[12]: https://github.com/bottlerocket-os/bottlerocket