Skip to content

Conversation

@entropic489
Copy link
Collaborator

  • adds managed databases for prod
  • refactors EcsStack to accomodate prod or dev infra
  • removes account and vpc ids
  • adds github action for building to prod ECR on tag builds

@ethanlaj
Copy link

ethanlaj commented Jan 2, 2026

Hi there - please send me an email @ the address in my git profile, have something to disclose regarding your LibreChat deployment

@entropic489
Copy link
Collaborator Author

Hi there - please send me an email @ the address in my git profile, have something to disclose regarding your LibreChat deployment

ignore this person

@entropic489 entropic489 self-assigned this Jan 5, 2026
@ethanlaj
Copy link

ethanlaj commented Jan 5, 2026

Okay, @entropic489 I wanted to mention that your development deployed version of LibreChat allows anyone to register and use the AI. Whether or not that is a concern is up to you guys 😅

@entropic489
Copy link
Collaborator Author

okay, thanks. I've disabled cognito self-signup

Comment on lines 54 to +55

if (isProd) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A higher-level question, but does it makes sense (in the long run) to have our stack be identical between dev and prod, just for ease of understanding? (Since right now there's a bunch of differing logic between dev and prod, and anyone coming along later to modify it might be confused as to why we're going down different paths for each environment.)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could, but it'd be more expensive. The big difference right now is that dev runs its databases in sidecar containers (cheaper, but self-managed dbs), vs prod which uses managed databases (more expensive, better backup/recovery)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be worth bringing up with NJ how much they care about infra cost vs. ease of maintenance. I'm curious how much more expensive the managed DBs are - if it's just a few bucks/month then it's probably worth doing the simpler route.

@entropic489 entropic489 merged commit eba3074 into prod Jan 5, 2026
Copy link

@AnJuHyppolite AnJuHyppolite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a clarifying question. Nice work, Josh!

entropic489 added a commit that referenced this pull request Jan 5, 2026
* checkin

* checkin

* checkin

* checkin

* still need apigateway

* obscure acct ids

* vpc id

* obscure vpc ids

* no vpc id env var

* revert

* run on tags, fail if not prod

* run on tags, fail if not prod

* adds tag check

* adds tag check

* add newline

---------

Co-authored-by: Josh Fink <josh.fink@innovation.nj.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants