I am currently recreating my website in Angular with NodeJS.
I have an EC2 instance with Nginx which serves the angular application. I now want to allow the user to get data from my rds instance (After they have logged in/ are authenticated) I have nodejs installed on the instance as well.
I am wondering what the best practice is, to with communicate with my RDS instance securely/ other AWS services. I was thinking to create a service component in my project and install the AWS sdk and use the service component to communicate. But I really want to know what the best practice is. I have come from a PHP background so this is fairly new to me.
Thanks for any help :)