aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-07-03 20:27:31 +0100
committerChristopher Baines <mail@cbaines.net>2018-07-03 20:27:31 +0100
commit09c6223cf694005aca9999bfffb1318cc0126441 (patch)
tree614dfa4bba3f239ff51d8e3083c36d728b5a18a2
parent5efab5a64f96287e3f3fcc227cbf0f14c57321c3 (diff)
downloadgovuk-mini-environment-admin-09c6223cf694005aca9999bfffb1318cc0126441.tar
govuk-mini-environment-admin-09c6223cf694005aca9999bfffb1318cc0126441.tar.gz
Increase the resources for AWS mini environments
From a t2.large to a t2.xlarge. Running every service requires close to 16GB of memory.
-rw-r--r--terraform/aws/mini_environment/main.tf4
1 files 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 {