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

Create playbook for setting up new server with a managed, external database #77

Open
cooldracula opened this issue Feb 12, 2024 · 1 comment

Comments

@cooldracula
Copy link
Contributor

We want to setup an easy pattern for seperating our application from its state, so that all deployed services do not have their database and state on the same server.

This play should create a new digitalocean droplet and a digitalocean db running postgres. The db should only allow connections from the droplet. The inventory file for this host should know how to connect to the db...which means we need to retrieve the connection string and store it as a vault variable as part of the creation of the server.

We should be able to create new droplets without DB's, for those applications with no state. So the creation of the db should be behind a variable flag.

@cooldracula cooldracula self-assigned this Feb 14, 2024
@cooldracula
Copy link
Contributor Author

I added a toy example in this pr: #92. it is not complete, with reasoning given in the body of the pr, but hopefully a useful starting example.

@cooldracula cooldracula removed their assignment Aug 12, 2024
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

No branches or pull requests

1 participant