From 97081a77aa3a56cffa648907954aa051cf557806 Mon Sep 17 00:00:00 2001
From: Danny Gershman <danny@radiusmethod.com>
Date: Wed, 12 Apr 2023 09:37:59 -0400
Subject: [PATCH] [k3d-dev.sh] using gp3 and volume encryption

---
 docs/assets/scripts/developer/k3d-dev.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/assets/scripts/developer/k3d-dev.sh b/docs/assets/scripts/developer/k3d-dev.sh
index 54860999bb..d4149eff25 100755
--- a/docs/assets/scripts/developer/k3d-dev.sh
+++ b/docs/assets/scripts/developer/k3d-dev.sh
@@ -292,14 +292,16 @@ EOF
   echo "Creating device_mappings.json ..."
   mkdir -p ~/aws
 
+  # gp3 volumes are 20% cheaper than gp2 and comes with 3000 Iops baseline and 125 MiB/s baseline throughput for free.
   cat << EOF > ~/aws/device_mappings.json
 [
   {
     "DeviceName": "/dev/sda1",
     "Ebs": {
       "DeleteOnTermination": true,
-      "VolumeType": "gp2",
-      "VolumeSize": ${VolumeSize}
+      "VolumeType": "gp3",
+      "VolumeSize": ${VolumeSize},
+      "Encrypted": true
     }
   }
 ]
-- 
GitLab