我刚刚开始使用ecs,看起来ebs就像天翻地覆。,我想留在自由层,而不用担心这个。
我的问题是如何降低ebs?

我在使用terraform ecs模块。I将root_block_device_size更改为10
module "ecs_cluster" {
cluster_instance_root_block_device_size = 10
}这是我使用的Ecs模块链接(Terraform)库
它提到了
cluster_instance_root_block_device_size number
Description: The size in GB of the root block device on cluster instances.
Default: 30
cluster_instance_root_block_device_type string
Description: The type of the root block device on cluster instances ('standard', 'gp2', or 'io1').
Default: "standard"对于我的ecs,我已将块设备大小更改为10,不确定是否应该与gp2或io1混在一起,以降低
谢谢!
使用这个price....However进行更新,通过将配置和放在一起,看起来gp3和降低千兆字节确实降低了https://aws.amazon.com/ebs/pricing/,似乎不能用Terraform初始化10 to,所以我开始用30 to部署它,并将它降低到10 to,它看起来很有效.
发布于 2021-06-17 20:32:31
那张截图是给I/O的。这些是对磁盘卷的读/写。这与卷的大小无关。将其从30GB更改为10GB根本不会影响I/O度量。
I/O只对磁性EBS体积类型充电。如果您切换到基于SSD的EBS卷类型,如gp2,则不会为I/O收费。
AWS免费层包括"30 GB的亚马逊EBS:任何通用(SSD)或磁性的组合“。因此,您可以拥有高达30 Os的免费gp2卷,这将是,比您现在使用的标准磁碟快得多,而且您也不会对这些卷的I/O收费。
https://stackoverflow.com/questions/68025530
复制相似问题