Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostgreSQL 11 is EOL and out of standard support for RDS causing additional cost #96

Open
hexa00 opened this issue Aug 14, 2024 · 4 comments

Comments

@hexa00
Copy link

hexa00 commented Aug 14, 2024

The PostgreSQL version used in the datastore module is currently 11 as seen in :

However this version is now at EOL and costs extra to be supported by AWS (0.10$/h/VCPU) see:

https://docs.aws.amazon.com/AmazonRDS/latest/PostgreSQLReleaseNotes/postgresql-release-calendar.html
https://aws.amazon.com/rds/postgresql/pricing/

Could this be upgraded ?

@hexa00 hexa00 changed the title Postgress 11 is EOL and out of standard support for RDS causing additional cost PostgreSQL 11 is EOL and out of standard support for RDS causing additional cost Aug 14, 2024
@savingoyal
Copy link
Member

sure! would you like to submit a PR?

@hexa00
Copy link
Author

hexa00 commented Aug 14, 2024

I could I'm just not sure what we'd need to watch out for for CI / testing of this... ?

If it's all automatic , I'm fine with a 1-3 liner for it that will change to the latest 11 (11.22) to 12.17
see: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.PostgreSQL.html#USER_UpgradeDBInstance.PostgreSQL.MajorVersion

You can't just do 11 -> 12 .. needs to be 12.17 and we need to assume that people are on the latest minor for the upgrade to work without issue on aws's side (which is a resonable assumption I think given it upgrades minors automatically)

You also need to add allow_major_version_upgrade = true
And potentially apply_immediately = true

Is that ok ?

@hexa00
Copy link
Author

hexa00 commented Aug 14, 2024

Actually I'm going to keep allow_major & apply to false and add that as a var for the user

@hexa00
Copy link
Author

hexa00 commented Aug 14, 2024

See: #97

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

No branches or pull requests

2 participants