automation: use gp3 volume type stable
authorGregory Szorc <gregory.szorc@gmail.com>
Wed, 25 Aug 2021 19:55:20 -0700
branchstable
changeset 48748 2d6940811067
parent 48747 ae28d37f5969
child 48774 dcec16e799dd
automation: use gp3 volume type This is a newer volume type. It offers a better baseline of performance by default and is ~10% cheaper. It doesn't offer burst credits. But its performance is guaranteed, unlike gp2, which had wonky performance behavior. Differential Revision: https://phab.mercurial-scm.org/D12132
contrib/automation/hgautomation/aws.py
--- a/contrib/automation/hgautomation/aws.py	Thu Aug 26 17:47:50 2021 -0700
+++ b/contrib/automation/hgautomation/aws.py	Wed Aug 25 19:55:20 2021 -0700
@@ -904,7 +904,7 @@
                 'Ebs': {
                     'DeleteOnTermination': True,
                     'VolumeSize': 10,
-                    'VolumeType': 'gp2',
+                    'VolumeType': 'gp3',
                 },
             },
         ],
@@ -1048,7 +1048,7 @@
             'Ebs': {
                 'DeleteOnTermination': True,
                 'VolumeSize': 12,
-                'VolumeType': 'gp2',
+                'VolumeType': 'gp3',
             },
         }
     ]
@@ -1075,7 +1075,7 @@
                 'Ebs': {
                     'DeleteOnTermination': True,
                     'VolumeSize': 8,
-                    'VolumeType': 'gp2',
+                    'VolumeType': 'gp3',
                 },
             }
         )
@@ -1151,7 +1151,7 @@
                 'Ebs': {
                     'DeleteOnTermination': True,
                     'VolumeSize': 32,
-                    'VolumeType': 'gp2',
+                    'VolumeType': 'gp3',
                 },
             }
         ],
@@ -1311,7 +1311,7 @@
                 'Ebs': {
                     'DeleteOnTermination': True,
                     'VolumeSize': 32,
-                    'VolumeType': 'gp2',
+                    'VolumeType': 'gp3',
                 },
             }
         ],