Skip to content

Commit cf97a60

Browse files
committed
Double capacity of api instance
We had attempted to move to the `c7g.xlarge` in a previous commit but unfortunately that uses a different chip architecture (ARM). There is also the c.xlarge but that is essentially the same price as the m4.xlarge except with half the RAM.
1 parent 999bde9 commit cf97a60

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

instances/dev/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ variable "perm_env" {
3232

3333
resource "aws_instance" "api" {
3434
ami = module.perm_env_data.backend_ami
35-
instance_type = "m4.large"
35+
instance_type = "m4.xlarge"
3636
vpc_security_group_ids = [module.perm_env_data.security_group]
3737
monitoring = true
3838
private_ip = "172.31.0.80"

instances/production/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ variable "perm_env" {
3232

3333
resource "aws_instance" "api" {
3434
ami = module.perm_env_data.backend_ami
35-
instance_type = "m4.large"
35+
instance_type = "m4.xlarge"
3636
vpc_security_group_ids = [module.perm_env_data.security_group]
3737
monitoring = true
3838
subnet_id = module.perm_env_data.subnet

instances/staging/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ variable "perm_env" {
3232

3333
resource "aws_instance" "api" {
3434
ami = module.perm_env_data.backend_ami
35-
instance_type = "m4.large"
35+
instance_type = "m4.xlarge"
3636
vpc_security_group_ids = [module.perm_env_data.security_group]
3737
monitoring = true
3838
subnet_id = module.perm_env_data.subnet

0 commit comments

Comments
 (0)