Is it possible to use encrypted database?

question

#1

Hi,

First thanks a lot for your great job!

I just try to convert my rds postgre database to an encrypted database.

Conversion on aws rds side is ok.
I am able to connect through Pgadmin and jets db.

But on my web application side all I get is a timeout error.

So I am wondering if there is any additional configuration to be done on an encrypted database.

In advance thank you for your help!

Fabien.


#2

Weird. RDS encryption means that the data encrypted on the disk. The client still talks to the DB transparently, so I believe it should work the same. I may be incorrect here, but that’s my understanding of it.

Wondering if there is a more informative error message when the Jets app boots up and tries to connect to the db. The db connection gets establish on boot up, so you’ll only see error near the Jets deploy time. Try deploying and checking the logs near the deploy time for hopefully a more helpful error message.

Tip: Sometimes, I just modified the function in the Lambda console editor by adding a space or newline so the function is “deployed” and check the logs for a quicker way to debug.


#3

Hi Tung,

Thanks for your quick feedback.

Should I look to the apigateway logs or to the Lambda logs? Or both?

Regards,
Fabien.


#4

Jets deployment on bash side seems to be ok as I get the usual message “Stack success status: UPDATE_COMPLETE” and the api gateway endpoint is displayed.

Regarding the logs on AWS side, I get absolutely no entry on RDS, APIGateway and Lambda after the deployment.

Regards,

Fabien.


#5

Hello,

Has anyone ever tried it and succeed?

Have a nice day!