cloudcaptainsh / cloudcaptain

Issue Tracker for CloudCaptain
13 stars 3 forks source link

Provision Encrypted Database (Postgres) AWS #206

Closed knocknarea closed 3 years ago

knocknarea commented 6 years ago

Is it possible for boxfuse to enable encryption for a database that it provisions on AWS?

It's only possible to do this on database creation.

axelfontaine commented 6 years ago

This is not yet supported, but it has a firm place on our roadmap.

knocknarea commented 6 years ago

@axelfontaine

Let's say you have configured an app (spring + database) and have it happily deployed on a staging environment where you don't mind that it's a provisioned database. However, for production you want to use an encrypted database (and so need to provision and configure it yourself)

Is it possible to deploy it to production on a non-provisioned basis, i.e. db.type=none or do I have to tear it all down and start again by recreating the app with the db.type=none

BTW: this is a bit urgent for us...

axelfontaine commented 6 years ago

This is not possible. A DB is either provisioned for each environment or none at all.

You do have a number of options though:

knocknarea commented 6 years ago

@axelfontaine Thanks for the swift reply and advice. Luckily with boxfuse I can just tear it down and bring it back up easily enough.

When you say refer to the manually created second database, how do I do that?

axelfontaine commented 6 years ago

You can for example activate a different Spring profile with the alternative config.

knocknarea commented 6 years ago

@axelfontaine Very good. Thanks for your help on this. All sorted now.

axelfontaine commented 3 years ago

Duplicate of #143