🔧 Old Time Tunes Dev Log 5: Adjusting Firebase App Hosting for Cost
Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to
This is a long-running series of logs that I'm sharing with my spouse to incrementally share everything I do to contribute to our project Old Time Tunes. My goal is to make tiny records of what it takes to build a web platform.
I woke up today and saw we had an alert that we'd spent half our "budget" for the month for Old Time Tunes ($12/25)! This was surprising since no one's using it and it's a tiny app.
I went to the billing center (found the link here which takes you to the center here, and then I found a cost breakdown which showed that "Cloud Run" was accounting for basically all the cost. I know that "Cloud Run" is associated with running the Firebase App Hosting that is the NextJS server.
I figured that the app currently had a configuration that was too fancy for its current state. I bumped down the number of instances of the server to 1, and bumped down its available CPU and memory resources in this commit by updating the apphosting.yaml
configuration file.
🔧 Old Time Tunes Dev Log 2: Adding Next.js
📈 48.85 Punkte
🔧 Programmierung
🔧 Old Time Tunes Dev Log 1: Updating the Repo
📈 48.85 Punkte
🔧 Programmierung
🎥 Dev Show Top 5 from the Firebase Dev Summit ‘19
📈 25.26 Punkte
🎥 Videos
📰 Self-Adjusting Authorizations
📈 24.61 Punkte
📰 IT Security Nachrichten
🔧 Adjusting the MariaDB Server release model
📈 24.61 Punkte
🔧 Programmierung