DEV Community

Pacharapol Withayasakpunt
Pacharapol Withayasakpunt

Posted on

Where do you host a full-blown docker-compose? Costs and free-tier limitations?

Also, do you need a credit card?

I want a desktop app to be accessible on mobile, so I made a web app. Actually, this one.

GitHub logo rep2recall / r2r-cli

CLI and programmability-focused memorizing flashcard app.

In fear of both security and paid-tier, I want to made it accessible only by me, that is, single user. (It is better, though, if I can monetize the app, but I cannot be sure.)

There are three components, at the very least, in this app. But I really want to reduce the authorization part.

  • Server
  • MongoDB
  • Firebase Auth

Now, I have one new idea. Audio / Video player that I can use files from local; and I can freely edit the metadata, and search through the metadata database.

I would probably need,

  • Database, but probably not firebase, with an ODM or ORM.
  • Google Cloud Storage, or even MongoDB GridFS
  • Hosting

If not for database, I can easily go for firebaseapp...

I don't need a real domain name, even https://a-Math.random().blahblah.com might be OK. Actually, I don't even want to bother naming the app.

Top comments (3)

Collapse
 
copypasteengineer profile image
CopyPasteEngineer

Google Cloud Run + Cloud Datastore might be what you're looking for.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

At this point, it may be GCP vs AWS. Maybe I am concerned too much about the pricing...

  • First 180,000 vCPU-seconds free
  • First 360,000 GB-seconds free
  • 2 million requests free
  • 1 GB free egress within North America

What does it even mean?

Collapse
 
copypasteengineer profile image
CopyPasteEngineer • Edited

At first, those terms confused me as well. vCPU-seconds and GB-seconds are calculated from what kind of machine on what you want to deploy and how long it takes to compute (total second per month, of course).

For example, if you specified each machine to have 2 CPU cores with 1GB of RAM. And it serves for 150,000 seconds (counted only when it's processing something, which means you will not be billed when no one is making requests). That will be counted as 150,000 GB-seconds and 300,000 vCPU-seconds which is safely under the free quotas.

Requests is just the number of requests. and GB egress is the amount of out-going data.

When it comes to estimating the price for Google services, I always find this Pricing Calculator helpful! (like a lot)

hope this helps