Skip to content

Commit 8bfce5b

Browse files
increase disk iops, throughput and size (#408)
1 parent 921c16f commit 8bfce5b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

explorer/terraform/aws/mainnet/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ variable "private_key_path" {
8888

8989
variable "disk_volume_size" {
9090
type = number
91-
default = 200
91+
default = 1500
9292
}
9393

9494
variable "disk_volume_type" {

templates/terraform/subql/base/instances.tf

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ resource "aws_instance" "subql_blue_node" {
1515
device_name = "/dev/sda1"
1616
volume_size = var.blue-subql-node-config.disk-volume-size
1717
volume_type = var.blue-subql-node-config.disk-volume-type
18-
iops = 3000
19-
throughput = 250
18+
iops = 12000
19+
throughput = 750
2020
}
2121

2222
tags = {
@@ -83,8 +83,8 @@ resource "aws_instance" "subql_green_node" {
8383
device_name = "/dev/sda1"
8484
volume_size = var.green-subql-node-config.disk-volume-size
8585
volume_type = var.green-subql-node-config.disk-volume-type
86-
iops = 3000
87-
throughput = 250
86+
iops = 12000
87+
throughput = 750
8888
}
8989

9090
tags = {
@@ -149,8 +149,8 @@ resource "aws_instance" "nova_subql_blue_node" {
149149
device_name = "/dev/sda1"
150150
volume_size = var.nova-blue-subql-node-config.disk-volume-size
151151
volume_type = var.nova-blue-subql-node-config.disk-volume-type
152-
iops = 3000
153-
throughput = 250
152+
iops = 12000
153+
throughput = 750
154154
}
155155

156156
tags = {
@@ -214,8 +214,8 @@ resource "aws_instance" "nova_subql_green_node" {
214214
device_name = "/dev/sda1"
215215
volume_size = var.nova-green-subql-node-config.disk-volume-size
216216
volume_type = var.nova-green-subql-node-config.disk-volume-type
217-
iops = 3000
218-
throughput = 250
217+
iops = 12000
218+
throughput = 750
219219
}
220220

221221
tags = {

0 commit comments

Comments
 (0)