【发布时间】:2021-09-02 14:56:51
【问题描述】:
我才刚刚开始使用 ecs,而且 ebs 似乎在摇摆不定。我想留在免费层内而不用担心这个
我的问题是如何降低 ebs?
我正在使用 terraform ecs 模块。 我将 root_block_device_size 更改为 10
module "ecs_cluster" {
cluster_instance_root_block_device_size = 10
}
这是我正在使用的库Ecs module link(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 来降低它
谢谢!
更新使用此https://aws.amazon.com/ebs/pricing/ 并通过 把我的配置和看起来像gp3并降低千兆字节确实降低了价格....但是似乎无法用Terraform初始化10gb所以我开始部署它使用 30gb 并将其降低到 10gb,它似乎已经奏效了......
【问题讨论】:
标签: amazon-web-services terraform amazon-ecs