Skip to content

Commit

Permalink
Merge pull request #135 from PermanentOrg/noissue-api-size
Browse files Browse the repository at this point in the history
Increase API size
  • Loading branch information
slifty authored Oct 19, 2023
2 parents c5f9806 + fd7d058 commit 7ce5670
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This is the general workflow for provisioning and deploying a new images. Reason
6. Click "Queue plan" in the top right corner, and confirm once the workflow reaches the "Plan Finished" state.
7. Repeat steps 5-6 for each workspace once the new configuration has been rolled out across the entire fleet.

## Infrastructure Modification Worflow
## Infrastructure Modification Workflow

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.

Expand Down
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 = "c7g.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 = "c7g.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 = "c7g.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 7ce5670

Please sign in to comment.