Home / Hosting

Free tiers, checked

Free Java hosting: the free tiers that still exist and their limits

Eight free ways to run a JVM app remain, and four popular ones are gone. Here is what each still offers, and where it stops.

Checked November 2026

A violet hourglass holding a dormant server module, its lights dimmed
750 hRender free hoursPer workspace, per calendar month.
$1Railway Free creditMonthly usage credit, 0.5 GB per service.
1 hKoyeb idle limitThen the free instance scales to zero.
60 minAzure F1 CPU per dayShared compute, no SLA on the free plan.

Free Java hosting still exists, but it looks very different from the days of free servlet accounts. Today you get a slice of a container platform, a monthly usage allowance, or a small virtual machine you manage yourself. Each comes with a catch: the app sleeps, the credit runs out, or a card is required to prove you are a real person. Figures checked in November 2026.

Free tiers that still exist

Provider What is free RAM Sleep or limit Card needed
Render Free web service, 750 instance hours/month 512 MB Spins down after 15 min idle, about 1 min to wake -
Railway Free $1 usage credit per month Up to 0.5 GB per service Credit runs out; 1 project, 3 services, no custom domain -
Railway Trial $5 one-time credit, 30 days Up to 1 GB Expires after 30 days -
Koyeb One free instance per organization 512 MB, 0.1 vCPU Scales to zero after 1 hour without traffic -
Google Cloud Run 180,000 vCPU-seconds, 360,000 GiB-seconds, 2M requests/month Your choice Free amounts per billing account -
Azure App Service F1 Shared Free plan 1 GB 60 CPU minutes per day -
Oracle Cloud Always Free 2 AMD micro VMs, Arm up to 2 OCPUs 1 GB each (AMD), up to 12 GB (Arm) Idle instances may be reclaimed Yes
Northflank Sandbox 2 services, 2 jobs, 1 database Up to $20/month of resources Always on, no sleeping No
AWS Free plan $100 credit plus up to $100 more Depends on service 6 months or until credits run out -

Each provider name links to the official page the figures come from. A dash means that page does not state it.

What the free numbers mean in practice

Usage credits are hard to read until you turn them into hours. Google Cloud Run's request-based allowance of 180,000 vCPU-seconds equals 50 hours of one full vCPU per month, and 360,000 GiB-seconds equals 100 hours at 1 GiB. Because request-based billing counts only the time your containers handle requests, a hobby API with light traffic can stay inside that for a whole month. A busy one will not.

Railway's $1 monthly credit is smaller than it looks. At Railway's rate of roughly $10 per GB of RAM per month, a service holding 0.5 GB costs about $5 a month for memory alone, so $1 covers around six days of continuous running before CPU is even counted. Treat it as a sandbox for testing deploys, not a place to host a Java app free all month.

Render's 750 hours per workspace are enough to keep one service up for a full calendar month, but it will not stay up: the free tier spins down after 15 minutes without inbound traffic. Northflank works the other way around. Its Sandbox covers up to $20 of resources a month, and the 0.5 vCPU / 1 GB size that costs $12 on the paid plan fits inside that, with no sleep.

Sleep, cold starts and the JVM

A sleeping app is fine for a portfolio project. It is painful for anything users rely on. When a request reaches a stopped Render or Koyeb instance, the platform has to start the container, and then the JVM has to boot and load your framework. Render puts the spin-up at about one minute. A Spring Boot app adds its own startup time on top.

You can shorten the wait. Smaller dependency trees start faster, and frameworks built for fast startup, such as Quarkus or Micronaut, help on platforms that scale to zero. If cold starts are the deciding factor, pick a tier that does not sleep: Northflank Sandbox, Oracle Always Free, or Azure F1 within its daily CPU cap.

Oracle Always Free: the most memory, the most work

Oracle's offer is the largest by far. The Arm allowance of 1,500 OCPU hours and 9,000 GB hours per month adds up to 2 OCPUs and 12 GB of RAM, available for the life of the account in your home region, with 10 TB of outbound data a month. That is enough for a JVM, a database and a reverse proxy on one machine.

There are three costs. You need a credit or debit card at sign-up for verification. You run the server yourself: install a JDK, open firewall ports, set up a service and keep the OS patched. And Oracle may reclaim instances that look idle, measured over seven days, when CPU (95th percentile), network and memory use for Arm instances all stay under 20%. Which JDK to install there matters less than people think; the OpenJDK vs Oracle JDK guide covers the license side.

Free Tomcat hosting

If you have a WAR file instead of a fat JAR, your options narrow. Azure App Service offers a managed Tomcat stack, and the F1 Free plan is the no-cost entry to App Service, with 1 GB of RAM and 60 CPU minutes a day; confirm the stack is selectable for F1 in your region when you create the plan. Everywhere else, free Tomcat hosting means packaging Tomcat yourself: a Dockerfile that starts from an official Tomcat image and copies your WAR into webapps/ runs on Render, Koyeb, Northflank or Cloud Run. On Oracle's VM you download Tomcat and run it as a service. Version choices are covered on the Tomcat hosting page.

Free tiers that are gone

Several names still appear in older lists of free Java hosting, and none of them give a free tier to new users now:

  • Fly.io: new organizations get no free tier or monthly free allowance, only a trial of $1 credit for seven days. Paid machines start at $2.19 a month for 256 MB.
  • Heroku: no free plan. Eco costs $5 a month and sleeps after 30 minutes; Basic is $7.
  • DigitalOcean App Platform: free only for up to three static sites. A Java container starts at $5 a month for 512 MiB.
  • AWS App Runner: closed to new customers since April 30, 2026. AWS points new users to Amazon ECS Express Mode.

AWS still has a free offer at account level: $100 in credits at sign-up and up to $100 more for exploring services, for a maximum of $200 over six months. After that, the account closes unless you move to the paid plan.

Which free option to pick

To host a Java app free for learning or a demo, Render is the simplest: connect a repository with a Dockerfile and it builds. If you want it awake around the clock without paying, Northflank's Sandbox is the cleanest choice, and Oracle Always Free is the one with real room to grow. When the app gets users, the first paid tiers are cheap; the full Java hosting comparison lists them, and the deployment guide shows the steps for a container platform and a plain VM.

Clever Cloud sits outside the free list on purpose. It has no free tier, but it gives sign-up credits without a card, and its smallest Java instance with 256 MiB costs about EUR 4.56 a month.

Sources

  1. render.com/docs/free
  2. render.com/pricing
  3. railway.com/pricing
  4. koyeb.com/docs/reference/instances
  5. cloud.google.com/run/pricing
  6. azure.microsoft.com/en-us/pricing/details/app-service/linux
  7. docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm
  8. oracle.com/cloud/free
  9. northflank.com/pricing
  10. aws.amazon.com/free
  11. aws.amazon.com/apprunner
  12. fly.io/docs/about/pricing
  13. heroku.com/pricing
  14. digitalocean.com/pricing/app-platform
  15. clever.cloud/pricing

Hosting / FAQ

Good questions.
Clear answers.

Is there free Java hosting that never sleeps?

Two options keep running. Northflank's Sandbox is described as always on with no sleeping, within about $20 of resources a month. Oracle Cloud's Always Free VMs run until Oracle reclaims them for being idle, which it can do when CPU, network and memory use stay low over seven days. Render and Koyeb both stop idle free apps.

Does Heroku still have a free plan?

No. The Heroku pricing page lists no free tier. The cheapest option is the Eco plan at $5 a month, which gives 0.5 GB RAM and sleeps after 30 minutes of inactivity. Basic at $7 a month has the same memory and stays awake. Eco is limited to personal accounts.

Can I get free Tomcat hosting?

Yes, with some work. Azure App Service has a built-in Tomcat stack, and its F1 Free plan is the no-cost way to try it, capped at 60 CPU minutes a day. On Render, Koyeb or Northflank you build a Docker image that starts from an official Tomcat base and copies your WAR in. On Oracle's Always Free VM you install Tomcat yourself.

Which free Java host does not need a credit card?

Northflank's Sandbox says no card is needed. Fly.io's trial starts without one, but it is only $1 of credit for seven days, and Clever Cloud offers sign-up credits without a card. Oracle Cloud requires a card at sign-up for verification even if you only use Always Free resources.

Is a free tier good enough for a production app?

The providers themselves say no. Koyeb states its free instance should not be used for production, and Microsoft says the Azure F1 plan is not supported for production workloads and carries no SLA. For anything with real users, compare the first paid plans on the Java hosting comparison.

Find your next step.