Looking to transform a monolith to static hosting with microservices (with database connection). I was asking this on Google Cloud Support, actually.
- Is it a good idea?
- Where to host static part? Does it have to be Google Cloud Storage?
- Cloud SQL vs MongoDB Atlas (vs MongoDB Stitch)?
- How to protect the API endpoints? I heard someone said API Gateway...
Truth be told, Netlify lambda threw a little error on Webpacking a MongoDB connection (IIRC, it was about encrypting as well). Should I attempt Netlify again? What about Vercel? Not to mention the database connection alive time.
I am perfectly happy with Google Cloud Run, actually (fully-managed Docker hosting platform); but is it too monolithic?