Skip to content

Commit 999bde9

Browse files
Merge pull request #136 from PermanentOrg/revert-135-noissue-api-size
Revert "Increase API size"
2 parents 7ce5670 + 8ffea37 commit 999bde9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This is the general workflow for provisioning and deploying a new images. Reason
1414
6. Click "Queue plan" in the top right corner, and confirm once the workflow reaches the "Plan Finished" state.
1515
7. Repeat steps 5-6 for each workspace once the new configuration has been rolled out across the entire fleet.
1616

17-
## Infrastructure Modification Workflow
17+
## Infrastructure Modification Worflow
1818

1919
The `instances` directory contains the Terraform configuration. You would want to make changes to Terraform to modify the infrastructure layout or hardware (e.g. new autoscaling groups, larger or more EC2 instances, etc). Our Terraform configuration currently manages all Permanent AMIs, EC2 instances, Autoscaling Groups, Launch Configurations, and Target Groups for the Load Balacers. Terraform does NOT manage: the Load Balancer itself, S3 buckets, SQS queues, VPCs, Security Groups, subnets, IAM, etc. To make changes to the infrastructure, push your changes to a branch, open a PR, and get a code review. Once the PR is merged, the change (depending on the directory they are in), should queue a `terraform plan` job our [Terraform Cloud organization](https://app.terraform.io/app/PermanentOrg/workspaces). Review the plan, and approve the changes if they look good. Terraform will then roll-out the new infrastructure.
2020

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 = "c7g.xlarge"
35+
instance_type = "m4.large"
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 = "c7g.xlarge"
35+
instance_type = "m4.large"
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 = "c7g.xlarge"
35+
instance_type = "m4.large"
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)