成为 EC2 上的根设备意味着什么? [英] What means to be a root device on EC2?

查看:23
本文介绍了成为 EC2 上的根设备意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 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 实例,并且想要确保它们都使用相同的工具和软件,则需要使用配置管理工具(例如 puppet、chef 或 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.

这篇关于成为 EC2 上的根设备意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆