Reduce the startup time of the software on AWS from one minute to five seconds. (#221)

* feat: use SSD with high throughput

* fix&refactor: update AMI ID and change EBS volume type to gp3 with adjusted IOPS and throughput
This commit is contained in:
Zilong Zhou
2025-06-24 15:35:38 +08:00
committed by GitHub
parent 3d8f1779a2
commit 634e1c3d6f
2 changed files with 11 additions and 5 deletions

View File

@@ -133,8 +133,11 @@ class AWSProvider(Provider):
{
"DeviceName": "/dev/sda1",
"Ebs": {
'VolumeType': 'io2',
'Iops': 16000,
# "VolumeInitializationRate": 300
"VolumeSize": 30, # Size in GB
"VolumeType": "gp3", # General Purpose SSD
"Throughput": 1000,
"Iops": 4000 # Adjust IOPS as needed
}
}
]