AWS EC2:AMI与实例类型EBS选择
在 AWS 上创建 EC2 实例时,我看到以下 AMI 选项:
Amazon Linux 2 AMI (HVM) - 内核 5.10,SSD 卷类型
macOS Monterey 12.2.1 - ami-00aa9c0d2393d0139 macOS Monterey AMI 是 EBS 支持、AWS 支持的映像
第一个选项表明磁盘存储是 SSD 卷类型,我认为这意味着使用的存储是实例的本地存储。第二个选项表明存储是弹性块存储。 我选择第一个。
然后在下一步中,对于实例类型:
为什么它在“实例存储(GB)”列中显示“仅 EBS”,就像在上一步中我选择非 EBS 类型一样?这些是无关的吗?
While creating EC2 instance on AWS, I see following AMI options:
Amazon Linux 2 AMI (HVM) - Kernel 5.10, SSD Volume Type
macOS Monterey 12.2.1 - ami-00aa9c0d2393d0139 The macOS Monterey AMI is an EBS-backed, AWS-supported image
First option tells that disk storage is SSD volume type which I assume means that storage used is instance's local storage. Second option tells that storage is elastic block storage.
I opt for first one.
Then on next step for instance type:
Why does it displays 'EBS only' for 'Instance Storage(GB)' column as in previous step I opted for non-EBS type? Are those unrelated?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
AMI始终将恢复为EBS量(或多个EBS量)。 AMI实际上只是一个或多个EBS量的快照,还有一些元数据。 ebs卷可以是ssd或磁性。您假设“ SSD卷类型”指示本地实例存储不正确。
< EC2服务器永远不会从实例存储卷中启动。某些实例类型带有实例存储,非常适合诸如快速临时文件夹,caches等。但是实例存储量不能保存到快照或AMIS,不能在停止/启动周期中持续存在,也不能持续在EC2实例之间移动。
An AMI will always restore to an EBS volume (or multiple EBS volumes). An AMI is really just a snapshot of one or more EBS volumes, plus some metadata. EBS volumes can be SSD or Magnetic. Your assumption that "SSD Volume Type" indicated local instance storage is incorrect.
Instance storage is ephemeral. An EC2 server never boots from an instance storage volume. Certain instance types come with instance storage that are good for things like fast temp folders, caches, etc. But instance storage volumes can't be saved to snapshots or AMIs, can't be persisted across stops/start cycles, and can't be moved between EC2 instances.