什么意思是在EC2上的根设备?是在、什么意思、设备

2023-09-11 09:46:26 作者:深知你是梦却拼命不放手

我无法找到EC2文档的答案。这是什么呢?如果我推出了EBS支持的实例,该实例的根设备是EBS卷。如果我在实例中安装一些工具/软件,将那些被安装在默认的根实例?不过我想真正的问题来自于根设备的了解甚少。上的任何详细信息?

I couldn't find the answer on EC2 documentation. What is it for? If I launched an EBS backed instance, the root device for the instance would be an EBS volume. If I install a few tools/software on the instance, will those be installed on the root instance by default? Still I guess the question really came from the little understanding of the root device. Any detailed info on that?

另外,如果我需要启动另一EBS支持的实例,也希望有安装了早期实例上的工具/软件的同一副本,该怎么做?

Also if I need to launch another EBS backed instance, and also want to have the same copy of the tools/software installed on the earlier instance, how to do that?

推荐答案

EC2实例有两种类型的存储 - 短暂存储和EBS的存储 - 每个实例给出的磁盘空间的特定量的默认。每个实例具有自己分配磁盘空间,它可以使用它是独立于启动任何其他实例的磁盘空间。您也可以将EBS卷添加到您的驱动器附加存储,但是,这些卷只能连接到一个特定的主机的时间。

EC2 instances have two types of storage -- ephemeral storage, and EBS based storage -- and each instance is given a specific amount of that disk space by default. Each instance has its own allotment of disk space that it can use which is independent of any other instances disk space that you launch. You can also add an EBS volume to your drive for additional storage, but, those volumes can only be attached to one specific host at a time.

如果你有两个EBS情况下,你希望确保他们都使用相同的工具和软件,你需要强制执行,使用配置管理工具,如木偶,厨师或cfengine的。

If you had two EBS instances, and you wanted to ensure that they're both using the same tools and software, you'd need to enforce that using a configuration management tool, such as puppet, chef, or cfengine.