From 89cfc9d438ac0b0a30db1e2ee74fe930e7083dc3 Mon Sep 17 00:00:00 2001 From: Ali Date: Wed, 10 Mar 2021 18:39:37 +0000 Subject: [PATCH 1/3] Increase AWS IOPs and GCP GPU count --- terraform-gcp/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform-gcp/main.tf b/terraform-gcp/main.tf index d7ff84e..ae5b746 100644 --- a/terraform-gcp/main.tf +++ b/terraform-gcp/main.tf @@ -20,7 +20,7 @@ resource "google_compute_instance" "instance1" { guest_accelerator { type = "nvidia-tesla-t4" # <<<<< Try changing this to nvidia-tesla-p4 to compare the costs - count = 3 + count = 4 } network_interface { From aba775b34df9a42b5b1300dfbbff92f9e4d75ac7 Mon Sep 17 00:00:00 2001 From: Ali Khajeh-Hosseini Date: Thu, 15 Apr 2021 12:01:05 +0100 Subject: [PATCH 2/3] Update main.tf --- terraform-aws/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform-aws/main.tf b/terraform-aws/main.tf index e01b705..11460f0 100644 --- a/terraform-aws/main.tf +++ b/terraform-aws/main.tf @@ -17,8 +17,8 @@ resource "aws_instance" "web_app" { ebs_block_device { device_name = "my_data" volume_type = "io1" # <<<<< Try changing this to gp2 to compare costs - volume_size = 1000 - iops = 800 + volume_size = 3000 + iops = 1200 } } From ad6598166f5545b9b155e15e4ec79d577aaeadf6 Mon Sep 17 00:00:00 2001 From: Ali Khajeh-Hosseini Date: Thu, 15 Apr 2021 12:01:26 +0100 Subject: [PATCH 3/3] Update main.tf --- terraform-gcp/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform-gcp/main.tf b/terraform-gcp/main.tf index ae5b746..d7ff84e 100644 --- a/terraform-gcp/main.tf +++ b/terraform-gcp/main.tf @@ -20,7 +20,7 @@ resource "google_compute_instance" "instance1" { guest_accelerator { type = "nvidia-tesla-t4" # <<<<< Try changing this to nvidia-tesla-p4 to compare the costs - count = 4 + count = 3 } network_interface {