Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Looking for a free Next.js/Payload host

default discord avatar
its_just_rich_322412 years ago
24

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.

  • default discord avatar
    paulpopus2 years ago

    Hey

    @1181057855961452567

    replied 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

  • default discord avatar
    its_just_rich_322412 years ago

    Thank you Paul, appreciate the insight. I'm actually based in the states (Denver) but I'll take a look at Hetzner for sure.

  • default discord avatar
    christopher.nowlan2 years ago

    You can run it plesk lightsail instance. I think it's like 5USD then you would need somewhere for the DB

  • default discord avatar
    bruvimtired2 years ago

    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-cms
  • default discord avatar
    its_just_rich_322412 years ago

    Thank 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?

  • default discord avatar
    christopher.nowlan2 years ago

    Not possible with amplify either. Same issue as vercel

  • default discord avatar
    its_just_rich_322412 years ago

    ok thanks Christopher

  • default discord avatar
    christopher.nowlan2 years ago

    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

  • default discord avatar
    __emmanuel2 years ago

    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.io

    to 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

  • default discord avatar
    christopher.nowlan2 years ago

    Once you have multiple websites with Vercel you will have to start paying

  • default discord avatar
    sp0472 years ago

    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

  • default discord avatar
    its_just_rich_322412 years ago

    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

  • default discord avatar
    christopher.nowlan2 years ago
  • default discord avatar
    paulpopus2 years ago

    And 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

  • default discord avatar
    christopher.nowlan2 years ago

    Because I use Mongo. I just run on Atlas MongoDb



    @858693520012476436

    V3 will definitely make deployment really simple



    @1149321259876888597

    @1181057855961452567

    have either of you use AWS lightsail?

  • default discord avatar
    sp0472 years ago

    I haven't. Is there a free tier which doesn't expire?

  • default discord avatar
    christopher.nowlan2 years ago

    No. I assume you guys are in the states. 5-10 a month for hosting isnt that expensive for a server

  • default discord avatar
    sp0472 years ago

    No I am not. For now I need a free option.

  • default discord avatar
    christopher.nowlan2 years ago

    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

  • default discord avatar
    sp0472 years ago

    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

  • default discord avatar
    its_just_rich_322412 years ago

    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

  • default discord avatar
    brianjm2 years ago

    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.

  • default discord avatar
    rich72632 years ago

    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.

  • default discord avatar
    brianjm2 years ago

    Read up on

    serverless

    as it is not what you think. Running locally (cli) is not serverless, docker is not serverless, etc. Serverless is Lambda, Vercel, etc.

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.