From 09c6223cf694005aca9999bfffb1318cc0126441 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 3 Jul 2018 20:27:31 +0100 Subject: Increase the resources for AWS mini environments From a t2.large to a t2.xlarge. Running every service requires close to 16GB of memory. --- terraform/aws/mini_environment/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/aws/mini_environment/main.tf b/terraform/aws/mini_environment/main.tf index 9c3cc14..a0d066a 100644 --- a/terraform/aws/mini_environment/main.tf +++ b/terraform/aws/mini_environment/main.tf @@ -63,7 +63,7 @@ data "template_file" "govuk_service" { resource "aws_spot_instance_request" "main" { ami = "ami-8fd760f6" - instance_type = "t2.large" + instance_type = "t2.xlarge" key_name = "${data.terraform_remote_state.backend.deployer_key_pair_name}" security_groups = [ "${data.terraform_remote_state.backend.guix_client_security_group_name}", @@ -72,7 +72,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