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

Consider separate EC2 machines for the sync-wrds-location-db and hv-vpp-ti-db-dumps-to-s3 step functions #1056

Open
shawncrawley opened this issue Jan 23, 2025 · 0 comments

Comments

@shawncrawley
Copy link
Collaborator

The sync-wrds-location-db and db-dumps-to-s3 step functions both currently leverage the hv-vpp--rds-bastion EC2 to execute their database code. This makes sense, since the rds-bastion machine is already configured to interact with the DB. These functions should both power off the machine when they are not using it, so as not to incur unneeded costs. Unfortunately, it's very possible (and has already actually occurred) that they are running at the same time, and whichever one finishes first turns off the machine while the other one is still processing, prematurely killing that process.

We either create (a) new, isolated EC2(s) for these separate processes, or come up with some way to check if something else is running before shutting down.

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

1 participant