6 Platforms for Hosting Docker Containers, Compared on Price and Fit
This list puts Fly.io first for low-cost global container hosting. Azure Container Apps is the stronger choice for event-driven containers on Azure, while Amazon ECS on Fargate suits AWS workloads without servers. The remaining 3 options are covered below with prices and limits.
We run no ads and no affiliate links at launch. The order of a list follows our published method.
Prices are the starting prices vendors list publicly. Plans change, so confirm the current price on the vendor page before you buy.
Key takeaways
Fly.io sits first on this list: low-cost global container hosting.
Fly.io has the lowest monthly starting price in this list: $2.19 per month.
A fair warning about Fly.io: no free level for new organizations.
A free plan is available from 3 of the 6 tools: Azure Container Apps, Railway, Render.
For straightforward Docker deploys from Git, Render is worth a look.
Tool
Best for
Standout feature
Listed starting price
Free plan or trial
1 Fly.io
Low-cost global container hosting
Cheapest always-on entry in this list at $2.19 a month
$2.19 a month
Free trial (7 days)
2 Azure Container Apps
Event-driven containers on Azure
Scales on HTTP and events
$0.40 per million requests
Free plan
3 Amazon ECS on Fargate
AWS workloads without servers
No servers to patch or scale by hand
$0.04048 per vCPU-hour
No free plan
4 Heroku
Git-push deploys with extras
Eco plan provides 1,000 dyno hours for $5 a month
$5 a month
No free plan
5 Railway
Full-stack apps with usage billing
$1 monthly usage credit on the free plan
$5 a month
Free plan
6 Render
Straightforward Docker deploys from Git
Managed Postgres begins at $6 a month
$7 a month
Free plan
How we picked
DoCodeHere used vendor pricing pages and product documentation as the base, then compared plans, free access and documented limits for 6 tools. Where a price is missing, the vendor does not list one publicly or ties it to a quote. Always confirm before budgeting. The order reflects how well each tool fits the most common buying scenario for platforms for hosting docker containers, then price clarity, then free plan access. It is a starting point, not a verdict.
01
Fly.io
Best for: Low-cost global container hosting
Fly.io is a good fit for low-cost global container hosting. A shared-cpu-1x with 512 MB is $3.69 a month, a shared-cpu-1x with 1 GB is $6.70 a month. A performance-1x with 2 GB is $33.00 a month.
Trade-offs to know: No free level for new organizations.
On top of that, Fly.io runs each container as a Machine, a small virtual machine built on Firecracker. It bills by the second whereas the Machine runs. Additional RAM costs $6.00 per GB a month. More specifically, volumes cost $0.15 per GB a month, and egress is $0.02 per GB in North America and Europe. For everyday use, new organizations have no free level and no monthly free allowance. They get a one-time $1 trial credit that lasts 7 days, and a card is required once the trial ends. Starting cost for Fly.io: $2.19 per month. Free access: Free trial (7 days).
Pros
Cheapest always-on entry in this list at $2.19 a month
No workspace plan fee
Cons
Managed Postgres begins at $38 a month
Price: $2.19 a month, as listed by the vendor (Fly.io website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: managed Postgres begins at $38 a month.
Verdict. A sensible pick for low-cost global container hosting.
02
Azure Container Apps
Best for: Event-driven containers on Azure
Azure Container Apps is designed for event-driven containers on Azure. Azure Container Apps runs containers without a Kubernetes cluster to handle, and it scales on HTTP requests and events through KEDA. On top of that, On the consumption plan, vCPU is $0.000024 per second, memory is $0.000003 per GiB-second, and requests are $0.40 per million.
Also, the first 180,000 vCPU-seconds, 360,000 GiB-seconds, and 2 million requests per subscription a month are free. In daily use, a request past 240 seconds will hit the consumption plan timeout. In practice, the default scale range is zero to 10 replicas, with up to 1,000 available. The request timeout on the consumption plan is 240 seconds. What you pay to start with Azure Container Apps: $0.40 per million requests. Azure Container Apps includes a free tier.
What to check first: Consumption-only environments limit each replica to 2 vCPU and 4 GiB.
Pros
Scales on HTTP and events
Less expensive idle rate for replicas that are not active
Cons
Request timeout is 240 seconds on the consumption plan
Price: $0.40 per million requests, as listed by the vendor (Azure Container Apps website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: request timeout is 240 seconds on the consumption plan.
Verdict. A sensible pick for event-driven containers on Azure.
03
Amazon ECS on Fargate
Best for: AWS workloads without servers
In short, Amazon ECS on Fargate is for AWS workloads without servers. Amazon ECS on Fargate runs containers without EC2 instances to run, and the ECS control plane itself has no cluster fee. Fargate accepts only fixed CPU and memory pairs, so a task that needs 1.5 GB of memory must step up to the next valid pair.
Watch-outs: Bills requested CPU and memory, not actual use.
For everyday use, a 1 vCPU and 2 GB task running all month therefore costs about $36.04 on x86 and about $28.84 on ARM at 730 hours. Worth adding: ARM Graviton tasks are about 20 percent less expensive at $0.03238 per vCPU-hour and $0.00356 per GB-hour. Amazon ECS on Fargate starts at: $0.04048 per vCPU-hour. Amazon ECS on Fargate has no free tier.
Pros
No servers to patch or scale by hand
ECS control plane has no cluster fee
Cons
No free level for Fargate compute
Price: $0.04048 per vCPU-hour, as listed by the vendor (Amazon ECS on Fargate website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: no free level for Fargate compute.
Verdict. A sensible pick for AWS workloads without servers.
04
Heroku
Best for: Git-push deploys with extras
For Git-push deploys with extras, Heroku is a natural candidate. Eco web dynos sleep after 30 minutes without web traffic, and Eco is restricted to personal apps. Heroku runs containers as dynos, and the cheapest entry is the Eco plan at $5 a month for a shared pool of 1,000 dyno hours.
That pool is shared by every Eco dyno in the account. So one dyno running all month uses about 730 hours and suits inside the pool, but two always-on Eco dynos do not. As for the details, Heroku has had no free dynos since November 28, 2022, and a card is required to verify an account. What you pay to start with Heroku: $5 per month. There is no free plan with Heroku.
Where it is weaker: No free dynos since November 2022.
Pros
Eco plan provides 1,000 dyno hours for $5 a month
Entry-level dyno is always on at $7 a month
Cons
Eco is for personal apps only
Price: $5 a month, as listed by the vendor (Heroku website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: eco is for personal apps only.
Verdict. A sensible pick for git-push deploys with extras.
05
Railway
Best for: Full-stack apps with usage billing
Think of Railway for full-stack apps with usage billing. Hobby is $5 a month and contains $5 of usage credit, whereas Pro is $20 a month per workspace and comes with $20 of usage credit. For everyday use, Hobby permits up to 48 vCPU and 48 GB of RAM per service and up to 5 GB of storage, with a 7-day log history.
Honest limits: egress is $0.05 per GB.
A database in one project, but the bill follows actual use, so a forgotten service ke Also, the metered rates are about $20 per vCPU a month, $10 per GB of RAM a month, $0.15 per GB a month for volume storage, and $0.05 per GB for egress. In practice, Railway runs containers from a Git repository or a Dockerfile, and it meters CPU, memory, storage, and egress by the second. The starting price for Railway: $5 per month. Railway offers a free plan.
Pros
$1 monthly usage credit on the free plan
Usage is metered by the second
Cons
Hobby $5 is a usage credit, not a cap, so heavy use costs more
Price: $5 a month, as listed by the vendor (Railway website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: hobby $5 is a usage credit, not a cap, so heavy use costs more.
Verdict. A sensible pick for full-stack apps with usage billing.
06
Render
Best for: Straightforward Docker deploys from Git
Render is designed for straightforward Docker deploys from Git. Render deploys a Docker image from a Git repository or a registry. From a buyer's view, a free web service uses the same 512 MB size.
But it sleeps after 15 minutes without inbound traffic and takes about a minute to start again. In daily use, the next step is $25 a month for 1 CPU and 2 GB of RAM. A bigger step is $85 a month for 2 CPU and 4 GB of RAM. Worth adding: a free Postgres database expires 30 days after creation, so a real project should use the $6 a month Postgres level. Also, Hobby is $0 a month, Pro is $25 a month, and Scale is $499 a month. Entry price for Render: $7 per month. Render offers a free plan.
Drawbacks to consider: workspace plan fee is separate from compute.
Pros
Managed Postgres begins at $6 a month
Flat monthly price per service
Cons
Free web services sleep after 15 minutes without traffic
Price: $7 a month, as listed by the vendor (Render website). Confirm the current plan price before you buy.
Skip it if this limit matters to you: free web services sleep after 15 minutes without traffic.
Verdict. A sensible pick for straightforward Docker deploys from Git.
What to check before you buy
Confirm the entry price on the vendor page: Fly.io starts at $2.19 per month, but seat counts and billing terms change the total.
Read the fine print on the free plans from Azure Container Apps, Railway and Render; seat, project and feature caps differ.
Use real work to test the free trial from Fly.io, rather than a demo project.
Before choosing Fly.io, weigh its main limit: no free level for new organizations.
Before rolling out Amazon ECS on Fargate, verify the integrations your workflow depends on.
Involve the people who will use Fly.io daily; a short pilot beats a long feature checklist.
FAQ
Which platform should an AWS team choose?
Use ARM Graviton tasks where the image supports it, since they cost about 20 percent less than x86 tasks.
Which is best for a small side project?
Start with Fly.io if you need low-cost global container hosting. Azure Container Apps is the better match for event-driven containers on Azure, and Amazon ECS on Fargate for AWS workloads without servers. The best choice depends on budget, team size and workflow.
What is the cheapest option for platforms for hosting docker containers in this list?
On published monthly entry prices, Fly.io is the lowest here at $2.19 per month. Entry price is only part of the cost, because seats, add-ons and billing terms can change the total.
Is Fly.io the right pick for everyone comparing platforms for hosting docker containers?
No single tool suits every team. Fly.io comes first because it fits low-cost global container hosting, while Azure Container Apps suits event-driven containers on Azure and Amazon ECS on Fargate suits AWS workloads without servers. Match the tool to your own size, budget and workflow before deciding.
Can I try these tools before paying?
Often, yes. Azure Container Apps, Railway and Render have a free plan and Fly.io offers a free trial. Use your own data and a real task during the test, and check what the free tier or trial limits before you rely on it.
Which options for platforms for hosting docker containers have a free plan?
Azure Container Apps, Railway and Render offer a free plan in this list. Free plans usually cap users, projects or features, so check the limits on the vendor page. One other tool offers a trial instead.