Previously, I saved my json-like data in Firebase realtime database, when I just develop the function, they are all fine. However, once I deployed and started to use in public, I found out that I ran out the limit of free tier in Firebase.
The free tier of firebase realtime database
At the same time, I found out that the limit of free tier on AWS dynamoDB is much bigger than firebase realtime database. Therefore, I decided to transfer my data from firebase to dynamoDB.
The free tier of AWS dynamoDB
You can see the difference, 25GB of storage v.s. 1GB storing. That's why I want to transfer data.
Using dynamoDB outside AWS is not that simple
I thought my old article Build an AI Line Chatbot using AWS Bedrock already had the solution to dealing with dynamoDB. However, I was wrong. Under AWS enviroment, you just need to do the two things: