In this tutorial I will explain how to create a AWS RDS database and integrate it with Firebase cloud functions. This was something I learnt after figuring out that as your application scales up, you will need to move away from Firebase Realtime database or Firestore database in Firebase because the cost increases as the data grows exponentially especially transaction data. In one of my early articles, I wrote which Firebase Database is better and when to use which article. But both of them are not good enough when your application scales up because of the high cost associated to them.

So to solve this problem, I got this solution and I created my database on AWS RDS and used Firebase Cloud functions to access it for all the CRUD operations I would need.

This is how this tutorial will look like:

  1. Create a database on AWS
  2. Test AWS database using MySQL workbench
  3. Setup Firebase Cloud Functions project.
  4. Test Cloud Functions API using Postman with test data.

#aws-rds #mysql #firebase-cloud-functions #expressjs #firebase

Firebase cloud functions integration with AWS RDS database
7.25 GEEK