Skip to content

Commit

Permalink
Double capacity of api instance
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
slifty committed Oct 26, 2023
1 parent 999bde9 commit cf97a60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion instances/dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ variable "perm_env" {

resource "aws_instance" "api" {
ami = module.perm_env_data.backend_ami
instance_type = "m4.large"
instance_type = "m4.xlarge"
vpc_security_group_ids = [module.perm_env_data.security_group]
monitoring = true
private_ip = "172.31.0.80"
Expand Down
2 changes: 1 addition & 1 deletion instances/production/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ variable "perm_env" {

resource "aws_instance" "api" {
ami = module.perm_env_data.backend_ami
instance_type = "m4.large"
instance_type = "m4.xlarge"
vpc_security_group_ids = [module.perm_env_data.security_group]
monitoring = true
subnet_id = module.perm_env_data.subnet
Expand Down
2 changes: 1 addition & 1 deletion instances/staging/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ variable "perm_env" {

resource "aws_instance" "api" {
ami = module.perm_env_data.backend_ami
instance_type = "m4.large"
instance_type = "m4.xlarge"
vpc_security_group_ids = [module.perm_env_data.security_group]
monitoring = true
subnet_id = module.perm_env_data.subnet
Expand Down

0 comments on commit cf97a60

Please sign in to comment.