Martin and Veer moved a to-do app from a virtual machine to Cloud Run. However, the database is still running on the virtual machine. Watch along and learn how to move a database from a virtual machine to a low-ops, serverless database like Firestore.
Click on the video below to watch it in detail:
Chapters:
0:00 - Intro
2:34 - Export from MongoDB
3:23 - Transform the data
4:24 - Configure Firestore
5:00 - Import the data into Firestore
7:35 - Update the application
9:14 - Deploy and test the application
9:45 - Wrap up
Extra Credit:
- How to deploy an existing web app on Cloud Run → https://goo.gle/3S5mNZz
- Migrating Collections from MongoDB to Cloud Firestore → https://goo.gle/3xie4vq
- MongoDB version → https://goo.gle/3U5Rb7Y
- Finished code → https://goo.gle/3xKAfKQ