Replacing AWS DB with 3rd party DB

Thanks for the guide, it’s awesome!

For various reasons, I won’t be able to use AWS DB for my project. I will probably use a 3rd party managed database (like OVH Cloud DB).

My question is: can I use Cognito for authentication and access control to this DB? (replicating what is done in this tutorial with DynamoDB)

My guess is that it is provider-dependent and that I might be able to do something like what the Stripe part of the guide covers. But as I’m not familiar with Cognito nor OVH Cloud DB, I am sure of nothing.

Thanks for helping out!

So we use Cognito to secure the APIs and it does not deal directly with DynamoDB. So you should be able to use any DB provider inside your Lambda functions.