changeset 48747:ae28d37f5969 stable

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 26 Aug 2021 17:47:50 -0700
parents a1538c05d855
children 2d6940811067
files contrib/automation/hgautomation/aws.py contrib/automation/hgautomation/cli.py
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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',