From 66912dc130953da7d43ddd1583b846854248b6ce Mon Sep 17 00:00:00 2001
From: Brandon Clayton <bclayton@usgs.gov>
Date: Mon, 6 May 2024 15:07:30 -0600
Subject: [PATCH] add range

---
 nshms.yml | 105 ++++++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 90 insertions(+), 15 deletions(-)

diff --git a/nshms.yml b/nshms.yml
index e8d2c2c2..f6149a29 100644
--- a/nshms.yml
+++ b/nshms.yml
@@ -11,11 +11,26 @@ nshms:
       baseHref: /ws/nshmp/alaska-2007/dynamic
       environments:
         development:
-          instanceType: c7g.large
+          cpu:
+            min: 2
+            max: 4
+          memory:
+            min: 4
+            max: 8
         staging:
-          instanceType: c7g.large
+          cpu:
+            min: 2
+            max: 4
+          memory:
+            min: 4
+            max: 8
         # production:
-        #   instanceType: c7g.large
+          # cpu:
+          #   min: 2
+          #   max: 4
+          # memory:
+          #   min: 4
+          #   max: 8
       label: 2007 Alaska Dynamic Services
       model: ALASKA_2007
       test:
@@ -33,11 +48,26 @@ nshms:
       baseHref: /ws/nshmp/alaska-2023/dynamic
       environments:
         development:
-          instanceType: r7g.xlarge
+          cpu:
+            min: 2
+            max: 4
+          memory:
+            min: 16
+            max: 32
         staging:
-          instanceType: c7g.4xlarge
+          cpu:
+            min: 8
+            max: 16
+          memory:
+            min: 16
+            max: 32
         production:
-          instanceType: c7g.4xlarge
+          cpu:
+            min: 8
+            max: 16
+          memory:
+            min: 16
+            max: 32
       label: 2023 Alaska Dynamic Services (beta)
       model: ALASKA_2023
       test:
@@ -55,11 +85,26 @@ nshms:
       baseHref: /ws/nshmp/conus-2018/dynamic
       environments:
         development:
-          instanceType: r7g.xlarge
+          cpu:
+            min: 2
+            max: 4
+          memory:
+            min: 16
+            max: 32
         staging:
-          instanceType: c7g.2xlarge
+          cpu:
+            min: 8
+            max: 16
+          memory:
+            min: 16
+            max: 32
         production:
-          instanceType: c7g.4xlarge
+          cpu:
+            min: 16
+            max: 32
+          memory:
+            min: 16
+            max: 64
       label: 2018 Conterminous U.S. Dynamic Services
       model: CONUS_2018
       test:
@@ -77,11 +122,26 @@ nshms:
       baseHref: /ws/nshmp/conus-2023/dynamic
       environments:
         development:
-          instanceType: r7g.xlarge
+          cpu:
+            min: 2
+            max: 4
+          memory:
+            min: 16
+            max: 32
         staging:
-          instanceType: c7g.2xlarge
+          cpu:
+            min: 8
+            max: 16
+          memory:
+            min: 16
+            max: 32
         production:
-          instanceType: c7g.4xlarge
+          cpu:
+            min: 16
+            max: 32
+          memory:
+            min: 16
+            max: 64
       label: 2023 Conterminous U.S. Dynamic Services (beta)
       model: CONUS_2023
       test:
@@ -99,11 +159,26 @@ nshms:
       baseHref: /ws/nshmp/hawaii-2021/dynamic
       environments:
         development:
-          instanceType: c7g.large
+          cpu:
+            min: 2
+            max: 4
+          memory:
+            min: 4
+            max: 8
         staging:
-          instanceType: c7g.xlarge
+          cpu:
+            min: 2
+            max: 4
+          memory:
+            min: 4
+            max: 8
         production:
-          instanceType: c7g.2xlarge
+          cpu:
+            min: 8
+            max: 16
+          memory:
+            min: 8
+            max: 16
       label: 2021 Hawaii Dynamic Services
       model: HAWAII_2021
       test:
-- 
GitLab