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

Allow for deployment into air gapped environment #165

Closed
KenFigueiredo opened this issue Jun 22, 2020 · 1 comment
Closed

Allow for deployment into air gapped environment #165

KenFigueiredo opened this issue Jun 22, 2020 · 1 comment

Comments

@KenFigueiredo
Copy link
Contributor

Currently there is a hard requirement for the deploying CI/CD tool to have direct network access to the RDS / SQL DB during setup (via these scripts:

This makes fully automated deployment into these environments impossible as you'd have to deploy up to the point of RDS creation for it to fail, then manually create the users and skip the terraform step.

One possible solution to deploying to these types of environments (in both ECS / K8S) would be to move those scripts to startup / init containers. The only downside to this approach that the init containers for apiary-rw & apiary-ro containers would need permission to the RDS / SQL DB root password to create their respective users.

This additionally has the additional benefit of resolving #119, where as the solution called out in the issue would still require a direct connection from the deployment tool.

I have a working PoC of this for ECS that I can open up as PR for this repo but haven't touched it at all on the Kubernetes deployment side.

@KenFigueiredo
Copy link
Contributor Author

Fixed w/ merging of the linked PRs

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