Commit Graph

32 Commits

Author SHA1 Message Date
Carlo Costino
530e437565 Increased production memory to 2 GB
This changeset increases our memory for the API app and its corresponding workers to 2 GB each.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-06-24 12:03:28 -04:00
Carlo Costino
117fa6c1af Adjust production worker memory to 1G
This changeset adjusts our worker process memory to 1G from 512MB in production. We recently saw memory-related crashes for the Celery worker processes, meaning they did not have enough available to them.  This was compounded by an ongoing platform issue with cloud.gov due to Cloud Foundry VMs operating with a Linux kernel that has a memory allocation issue.

Fixes for the Linux kernel and Cloud Foundry VMs are in flight and cloud.gov is tracking this closely, but we can help ourselves in the mean time and given the increased usage with pilot partners, it makes sense to adjust this anyway.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-15 16:16:58 -04:00
Carlo Costino
316875a22a Add Login.gov URLs to our egress allow ACL
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-19 17:42:38 -05:00
Carlo Costino
92eb3c49cf Mirror Admin REDIS_ENABLED config
This changeset adjusts the REDIS_ENABLED environment variable to match how the admin app is set up to make sure the API properly connects to the Redis service.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-11 11:29:04 -05:00
Steven Reilly
91e7041d91 Update notify-api-staging.deploy.acl 2023-11-07 12:58:13 -05:00
Steven Reilly
47d9ca12b4 switch ADMIN_BASE_URL 2023-09-15 11:19:14 -04:00
Carlo Costino
ff64ea684f Removed all non-FIPS-enabled endpoints
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-14 15:10:37 -04:00
Carlo Costino
d4848a67b5 Switch to using FIPS-enabled endpoints
This changeset switches AWS service touchpoints to use their FIPS-enabled counterparts.  Note that S3 has some specific configuration associated with it.

This changeset also updates our allow ACLs to cover the FIPS-enabled endpoints.  We should investigate removing the non-FIPS endpoints as a part of this.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-11 16:24:45 -04:00
Carlo Costino
0769852400 Add logs AWS endpoint to staging proxy allow list
This changeset adds another endpoint to the staging egress proxy to enable access to AWS CloudWatch logs.

NOTE:  We will have to probably do this for production as well.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-07-07 17:12:56 -04:00
Kenneth Kehl
5e3a99efb3 change cloudwatch to monitoring for endpoint acls (#324)
Co-authored-by: Kenneth Kehl <@kkehl@flexion.us>
2023-06-28 17:59:54 -04:00
Kenneth Kehl
7785d59452 notify-api-317 try adding cloudwatch to allow acl for egress proxy 2023-06-28 11:44:02 -07:00
Ryan Ahearn
58ad32b560 Enable production deploy 2023-05-08 10:47:01 -04:00
Ryan Ahearn
b223f0c249 Force redeploy of egress proxies 2023-04-12 16:11:10 -04:00
Ryan Ahearn
c64bc49621 Allow demo to send SMS via us-east-1 region through proxy 2023-03-24 11:08:17 -04:00
Ryan Ahearn
7ddf125807 Enable SMS in production account 2023-03-21 14:28:32 -04:00
Ryan Ahearn
41c1e6d4bb Set default phone number for sandbox env 2023-03-21 14:23:57 -04:00
Ryan Ahearn
439722990e Bind to sns service 2023-02-28 14:49:53 -05:00
Ryan Ahearn
b46dfe98d8 Remove wildcard matcher on egress allow 2023-01-24 15:57:43 -05:00
Ryan Ahearn
c54a207c57 Update proxy settings to enable sending data to new relic 2023-01-24 13:48:38 -05:00
Ryan Ahearn
914a7cc969 Updates for sandbox env 2023-01-24 13:43:37 -05:00
Ryan Ahearn
bec3c53128 Setup newrelic for cloud.gov environments 2023-01-18 09:20:22 -05:00
Ryan Ahearn
861e8839aa Use 2 web instances in staging and demo
this seems to be more resilient to `cf restart` false failures
2022-12-01 14:28:52 -05:00
Ryan Ahearn
d0b2d58b4a Exec web startup command
This allows for app to receive process signals from cloud foundry
2022-12-01 11:23:49 -05:00
Ryan Ahearn
286400aa18 Use only stdout logging in cloud.gov 2022-11-22 12:11:11 -05:00
Ryan Ahearn
f9d9a66315 Run celery beat on cloud.gov 2022-11-14 16:04:49 -05:00
Ryan Ahearn
e525f2ae9b Build caddy binary as part of the egress proxy deploy 2022-11-09 10:21:04 -05:00
Ryan Ahearn
3020d3d94e Add github action for deploying egress proxy 2022-11-08 14:27:34 -05:00
Ryan Ahearn
a3f594693f Add sandbox space 2022-11-08 11:49:11 -05:00
Ryan Ahearn
a0ed7dd053 Rename app to avoid route collisions with 10x space 2022-11-02 11:36:54 -04:00
Ryan Ahearn
7ee1945893 Add demo terraform environment 2022-11-02 09:08:08 -04:00
Ryan Ahearn
5d4dca3ecf Update manifest.yml for studio cloud.gov org 2022-11-02 08:31:02 -04:00
Ryan Ahearn
8dc0b4eb19 Move process commands from Procfile to manifest.yml 2022-10-18 11:23:40 -04:00