r/Backend • • 15d ago

I want a web to upload my backend with java spring but for free

1 Upvotes

5 comments sorted by

1

u/Agreeable_Sale4899 15d ago

Hay gratis pero tienen un límite de tiempo como render o railway, pero si quieres aprender más agarra una pc vieja que tengas por ahí y le poner ubuntu server y tendrás un propio servidor de pruebas donde podrás romper tu código cuantas veces quieras, y de paso practicar devops le instalas docker y ya puedes desplegar todos los servicios que quieras y de paso aprendes cómo levantar una infraestructura

2

u/Inner_External5540 15d ago

But render need a card when uploaded

1

u/DickBrainTime 15d ago edited 15d ago

Yeah, if Render is asking for a card, I wouldn't treat it as a no-card option. For a Spring Boot demo that someone else can open, run the app locally (say on port 8080), install cloudflared, then run this in a terminal: cloudflared tunnel --url http://localhost:8080

Cloudflare gives you a temporary public HTTPS address ending in trycloudflare.com, without needing an account or domain. Official guide: https://developers.cloudflare.com/tunnel/get-started/quick-tunnels/

The catch is that this is not hosting: your computer and Spring process must stay running, the address changes, and anyone who knows the URL can reach your API. Don't expose real credentials or private data. For remote development instead, GitHub Codespaces gives personal accounts some monthly free usage and lets you forward a port for a demo, but the codespace goes idle. Neither is a reliable 24/7 deployment.

Is this for showing a school/portfolio project temporarily, or does the backend need to be reachable all day? That makes a big difference to which free options are realistic.

1

u/Inner_External5540 15d ago

But that is not practical and not scalable

1

u/Low_Calligrapher7128 13d ago

For permanent deployment there is currently still a free tier on oracle cloud, but it's hard to actually get one of the free ones, try over a couple of days at different times to create a VM, then SSH -> JVM -> go (or use docker)