mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 13:44:31 +00:00
increase mainnet rpc volume (#552)
This commit is contained in:
parent
487593bfe6
commit
abb1941acf
2 changed files with 9 additions and 3 deletions
|
|
@ -86,6 +86,7 @@ module "devnet_rpc" {
|
|||
instance_type = "t3.large"
|
||||
ssh_key_name = local.ssh_key_name
|
||||
rpc_image = local.rpc_image
|
||||
volume_size = 1500
|
||||
|
||||
providers = {
|
||||
aws = aws.ap-southeast-1
|
||||
|
|
@ -101,6 +102,7 @@ module "testnet_rpc" {
|
|||
instance_type = "t3.large"
|
||||
ssh_key_name = local.ssh_key_name
|
||||
rpc_image = local.rpc_image
|
||||
volume_size = 1500
|
||||
|
||||
providers = {
|
||||
aws = aws.ap-southeast-1
|
||||
|
|
@ -116,6 +118,7 @@ module "mainnet_rpc" {
|
|||
instance_type = "t3.large"
|
||||
ssh_key_name = local.ssh_key_name
|
||||
rpc_image = local.rpc_image
|
||||
volume_size = 3000
|
||||
|
||||
providers = {
|
||||
aws = aws.ap-southeast-1
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@ variable ssh_key_name {
|
|||
variable rpc_image {
|
||||
type = string
|
||||
}
|
||||
variable volume_size{
|
||||
type = number
|
||||
}
|
||||
|
||||
resource "aws_security_group" "rpc_sg" {
|
||||
name_prefix = "${var.network}_rpc_sg"
|
||||
|
|
@ -75,9 +78,9 @@ resource "aws_instance" "rpc_instance" {
|
|||
}
|
||||
key_name = var.ssh_key_name
|
||||
vpc_security_group_ids = [aws_security_group.rpc_sg.id]
|
||||
ebs_block_device {
|
||||
device_name = "/dev/xvda"
|
||||
volume_size = 500
|
||||
|
||||
root_block_device {
|
||||
volume_size = var.volume_size
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue