Clearly PayloadCMS has lots to offer but so far I’ve not been able to get the ecommerce version of Payload to deploy on Vercel (I’ve used Vercel because Next.js).
Has anyone deployed a PayloadCMS app on any host with a free hosting tier? I’ve used Supabase/Postgresql for my other Vercel sites and would like to continue doing so. And if your host has any substantial documentation/support even better.
I would love to use Payload Cloud but I have too many sites in the works and the price point for their Cloud hosting just won't work.
Thanks in advance.
Hey
@1181057855961452567replied to you in the other thread as well regarding your error
More on the point for hosting Payload on vercel...payload does not technically work on serverless environments until 3.0 is out, we do have a payload-next package but that one has been deprecated due to various fundamental issues with it
Otherwise free hosting, I can't quite think of any but the cheapest of hosts that I know is something like a Hetzner server which is around £3 a month
Thank you Paul, appreciate the insight. I'm actually based in the states (Denver) but I'll take a look at Hetzner for sure.
You can run it plesk lightsail instance. I think it's like 5USD then you would need somewhere for the DB
Take a look at northflank - they have a free tier and have mongodb instance as well. But I don't think there is any storage.
They also have a guide on deploying -
https://northflank.com/guides/deploying-payload-cmsThank you! will definitely take a look. I'm not seeing a lot of free hosting/free tier in the US, will have to dig some more
Has anyone ever deployed Payload to AWS Amplify? How did it go?
Not possible with amplify either. Same issue as vercel
ok thanks Christopher
I tried when I first started using Payload. So now I set up a plesk instance on lightsail on AWS. Probably could use a node image with a S3 bucket 🪣 for media
I've managed to pay 0 by separating my client (nextjs) and CMS/backend (payload) and deploying the client on vercel, and using
https://fly.ioto deploy my CMS/backend, and it was super straightforward and quick to setup
edit: it seems they have recently changed / eliminated their free plan sadly, looks like its $5 USD/mo for their entry plan
Once you have multiple websites with Vercel you will have to start paying
render.com has a free tier. but I have tried deploying there unsuccesfully. I keep getting errors
this guide seems outdated. I tried to follow it to deploy to Northflank but I keep getting errors
I was actually holding out hope for Payload Cloud's Free Tier, which their page/marketing info said was "coming soon" but today Payload confirmed they weren't going to be able to do that. Even a reduced cost would have worked, but I'm building out sites for my friends/colleagues who have been out of work and need a portfolio site. They just don't have $35/month
AWS and Digital Ocean are reasonably priced.
https://www.digitalocean.com/pricingAnd hetzner has US servers as well, cheap af and you can host multiple instance of payload on just one server if they rarely ever get used
also a 3.0 beta is literally weeks away, which will then enable hosting on serverless envs
The reality is servers cost a lot of money and cloud is as cheap as we could make it right now, its still cheaper than competitors
Because I use Mongo. I just run on Atlas MongoDb
V3 will definitely make deployment really simple
@1181057855961452567
have either of you use AWS lightsail?
I haven't. Is there a free tier which doesn't expire?
No. I assume you guys are in the states. 5-10 a month for hosting isnt that expensive for a server
No I am not. For now I need a free option.
AWS is free for 3 months
If you are in Australia it's like 8 I think. Depends on the conversion
Good luck finding a free option
I finally managed to get render.com deployment working. i had to use the blank version of payload. Initially i was trying to deploy the ecommerce template and it wasn't working
Wow this is great info, and would love to continue using/supporting Payload as well.
LOL I forgot, I'm AWS Certified.... I wonder if they'd do anything to help with their prices given that I have the Cloud Practitioner i'll have to check
Railway isn't free but the cost should be in the $3-$5 range. You'll mostly pay for memory usage at $10/GB/MO.
For clarification purposes when I built my Payload app locally and ran "npm run dev" , it ran locally just fine (localhost:3000), all of my pages appeared and there was no loss of functionality. But when I built and deployed it on Vercel the pages built using /admin didn't work, and my 404 appeared - it simply seemed like the DB wasn't being referenced at all however all of my CSS, page layouts and pages NOT built using the /admin were there.
I attempt to clarify this as I look over hosting options - Payload reportedly won't work in a serverless environment.... but I don't recall ever building any servers on my localhost - where the Payload app ran perfectly. All I did was npm run dev and I guess I'm not seeing where a Node server is being built, or is it? Just trying to understand the entire process, thanks.
(Gotta luv chatgpt)
When you run npm run dev in a Next.js project, it starts the development server provided by Next.js, which includes hot module reloading (HMR) and other development features. This development server is powered by Node.js, but it's not the same as building a standalone Node server for your application.
Read up on
serverlessas it is not what you think. Running locally (cli) is not serverless, docker is not serverless, etc. Serverless is Lambda, Vercel, etc.
Star
Discord
online
Get dedicated engineering support directly from the Payload team.