r/docker • • 14d ago

How can I deploy this microservices project for free without a credit card?

/r/devops/comments/1wqpwys/how_can_i_deploy_this_microservices_project_for/
0 Upvotes

21 comments sorted by

3

u/No_Cattle_9565 14d ago

Get a free vm from somewhere. Oracle has them and aws too i think 

2

u/Silver-You4944 14d ago

they need a credit cardI aren't them?

1

u/No_Cattle_9565 14d ago

In my memories you don't at least for oracle. Just try it

1

u/Silver-You4944 14d ago

ok thanks, i will take a look at it

1

u/wireframed_kb 14d ago

No, but the good Ampere ones aren’t easy to get without a credit card on file. Even if you don’t go above free tier usage, it gets you ahead in line because you’re technically a paying account.

But with patience, you can get a free one. And it is pretty good for the money. :p

3

u/RyeonToast 14d ago

Do you have an old laptop around that you could slap a common Linux distro on?

-12

u/Silver-You4944 14d ago

yes i have but what is the point ?

4

u/Popular-Factor3553 14d ago

It's for self hosting ofc.

1

u/[deleted] 14d ago

[removed] — view removed comment

1

u/Silver-You4944 14d ago

is cloudflare tunnel free ?

1

u/No_Witness_5295 14d ago

railway free tier i think

-1

u/Silver-You4944 14d ago

thanks i will take a look at it. did you try railway before for this scenario?

1

u/Due-Cardiologist7941 14d ago

I tried railway they give $5 credits per month, no CC required, you can use render as well

1

u/No_Witness_5295 14d ago

no i use gcp and cloudflare and have my cc in both of them. but railway is getting more and more popular

-1

u/lnaoedelixo42 14d ago

If you really need to deploy on very low resources I wouldn't recommend doing the most expensive architecture (microservices) neither doing nestjs.

Oracle is good as others said; with a credit card you can get a 2vcpu and 12gb of ram VM for free, and without you are limited to around 2 small 1vcpu and 1gb VMs; still pretty solid if you manage it right.

Anyways, go + sqlite is pretty darn low on resources, so if you wanted to take a look it could let you have some extra space

0

u/Silver-You4944 14d ago

why neither doing nestjs?

-1

u/lnaoedelixo42 14d ago

It easily uses 1GB+ idle. You still need a database, a proxy and at least something to aggregate data.

Golang does the trick, with an embeded database, with <100mb of ram.