feat: use SSD with high throughput (#218)
This commit is contained in:
@@ -6,7 +6,7 @@ import logging
|
|||||||
import dotenv
|
import dotenv
|
||||||
import signal
|
import signal
|
||||||
|
|
||||||
INSTANCE_TYPE = "t3.large"
|
INSTANCE_TYPE = "t3.medium"
|
||||||
|
|
||||||
# Load environment variables from .env file
|
# Load environment variables from .env file
|
||||||
dotenv.load_dotenv()
|
dotenv.load_dotenv()
|
||||||
@@ -97,6 +97,15 @@ def _allocate_vm(region=DEFAULT_REGION):
|
|||||||
os.getenv('AWS_SECURITY_GROUP_ID')
|
os.getenv('AWS_SECURITY_GROUP_ID')
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"BlockDeviceMappings": [
|
||||||
|
{
|
||||||
|
"DeviceName": "/dev/sda1",
|
||||||
|
"Ebs": {
|
||||||
|
'VolumeType': 'io2',
|
||||||
|
'Iops': 16000,
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -128,6 +128,15 @@ class AWSProvider(Provider):
|
|||||||
"DeviceIndex": 0,
|
"DeviceIndex": 0,
|
||||||
"Groups": security_groups
|
"Groups": security_groups
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"BlockDeviceMappings": [
|
||||||
|
{
|
||||||
|
"DeviceName": "/dev/sda1",
|
||||||
|
"Ebs": {
|
||||||
|
'VolumeType': 'io2',
|
||||||
|
'Iops': 16000,
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user