automation: use m6i instances
This instance type is much, much faster than t3 and can perform
tasks much quicker.
Differential Revision: https://phab.mercurial-scm.org/D12131
--- a/contrib/automation/hgautomation/aws.py Tue Feb 15 15:52:44 2022 +0100
+++ b/contrib/automation/hgautomation/aws.py Thu Aug 26 17:47:50 2021 -0700
@@ -1157,7 +1157,7 @@
],
'ImageId': image.id,
'InstanceInitiatedShutdownBehavior': 'stop',
- 'InstanceType': 't3.medium',
+ 'InstanceType': 'm6i.large',
'KeyName': '%sautomation' % prefix,
'MaxCount': 1,
'MinCount': 1,
--- a/contrib/automation/hgautomation/cli.py Tue Feb 15 15:52:44 2022 +0100
+++ b/contrib/automation/hgautomation/cli.py Thu Aug 26 17:47:50 2021 -0700
@@ -151,7 +151,7 @@
image = aws.ensure_windows_dev_ami(c, base_image_name=base_image_name)
DIST_PATH.mkdir(exist_ok=True)
- with aws.temporary_windows_dev_instances(c, image, 't3.medium') as insts:
+ with aws.temporary_windows_dev_instances(c, image, 'm6i.large') as insts:
instance = insts[0]
winrm_client = instance.winrm_client
@@ -496,7 +496,7 @@
sp.add_argument(
'--instance-type',
help='EC2 instance type to use',
- default='t3.medium',
+ default='m6i.large',
)
sp.add_argument(
'--python-version',