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

feat: Use IAM with RDS, increase number of backups and upgraded engine. #578

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

charles-marion
Copy link
Collaborator

@charles-marion charles-marion commented Sep 25, 2024

Issue #, if available:
#235
Description of changes:

Aurora changes:

  • Upgrade engine (15.4->15.7) and related pgvector extension (0.4.1 -> 0.7)
  • Add backups configuration (35 days)
  • Add DB Users: Admin, Read, Write. Use these users for IAM based auth instead of password/secret based.

Note this change might lead to a small downtime of the Aurora DB (I did not notice it)
Also note the password is still use for the initial setup of the users.

Testing:

  • Manually ran a search before and after the upgrade. Verified the vector scores were the same.
  • Ran integration tests.
  • Verified all step functions were passing.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@@ -73,7 +86,7 @@ export class AuroraPgVector extends Construct {

const dbSetupResource = new cdk.CustomResource(
this,
"DatabaseSetupResource",
"DatabaseSetupExtensionsAndUsers",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Rename to force running the script on existing environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants