From c1b4bf80f947c8698cc917f13ef1497569785c9c Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 3 Jul 2018 20:41:46 +0100 Subject: Change the backend instance to a t2.xlarge The builds can be quite expensive, so the extra resource is useful. --- terraform/aws/backend/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/aws/backend/main.tf b/terraform/aws/backend/main.tf index caec120..29e07cb 100644 --- a/terraform/aws/backend/main.tf +++ b/terraform/aws/backend/main.tf @@ -223,7 +223,7 @@ resource "aws_security_group" "efs_mount_target" { resource "aws_spot_instance_request" "main" { ami = "ami-8fd760f6" - instance_type = "t2.large" + instance_type = "t2.xlarge" key_name = "${aws_key_pair.deployer.key_name}" security_groups = [ "${aws_security_group.guix_daemon.name}", @@ -232,7 +232,7 @@ resource "aws_spot_instance_request" "main" { ] wait_for_fulfillment = true - spot_price = "0.05" + spot_price = "0.21" spot_type = "one-time" root_block_device { -- cgit v1.2.3