OpenNext

Infrastructure

serverless deployment

SHOW HN2024

95points
57comments
#870of 3,515 in 2024
Top 25%of 2024 by points

How HN took it

CuriousMostly questions and neutral comments

8 positive, 20 neutral or asking, 1 mixed, 5 critical, out of 34 comments about the project. Thread score +0.03.

Idea: 3 for, 2 againstExecution: 2 for, 1 againstPerformance: 2 for, 0 againstPricing: 0 for, 2 againstDesign: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Low-pain migration off Vercel and cheaper bills

    From 2 comments
    • In the company I just left, I actually went through the process two or so months ago of migrating their Vercel deployment to AWS. I evaluated several options that are listed on…
      greyskull on HN
    • The biggest cost for us on Vercel (several hundred dollars a month) was Image Optimization, and that was because the app was being majorly inefficient with images, in part due to…
      greyskull on HN
  • Useful for teams that want to leave Vercel

    From 2 comments
    • The reason this project is important is because Next.js is hard to deploy if you're not using Vercel to host your app. You can easily run into issues that are hard to resolve.…
      taikon on HN
    • I've been surprised by the number of companies adopting nextjs as their defacto framework without concern for the uncomfortable reality that the framework is built to be hosted…
      slashnode on HN

Objections

  • Next.js is built to favour Vercel; self-hosting has limitations

    From 2 comments
    • Using Next.js for self hosting is a really bad idea in my opinion (and experience). Despite of what they say (for obvious marketing reasons) their framework is optimized and…
      0xblinq on HN
    • I've been surprised by the number of companies adopting nextjs as their defacto framework without concern for the uncomfortable reality that the framework is built to be hosted…
      slashnode on HN
  • Tied to SST and CDK users have to maintain a different IaC tool

    From 1 comment
    • This in interesting, but while OpenNext is agnostic about the hosting layer, it seems opinionated about the IaC layer. SST is great, but I still use CDK for everything and have…
      bilalq on HN
  • Compatibility may lag behind Next.js updates

    From 1 comment
    • It offers packaging for deploying to a serverless environment (e.g. Lambda) analogous to how Vercel does it. The last question is salient, and it's possible for OpenNext to break…
      greyskull on HN

Requests

  • Support for other IaC tools beyond SST

    From 1 comment
    • This in interesting, but while OpenNext is agnostic about the hosting layer, it seems opinionated about the IaC layer. SST is great, but I still use CDK for everything and have…
      bilalq on HN
  • Edge hosting option on V8, Deno or Bun

    From 1 comment
    • Any plans to add support for? https://github.com/awslabs/llrt It would also be nice to have a V8/deno/bun based edge hosting option that supports the Next.js edge and middleware…
      Onavo on HN

Questions

  • What infrastructure does it deploy and how is it secured

    From 1 comment
    • This is great, but my first question is: what is the infrastructure deployed? Is this a cool resume filler, or is it a serious alternative to Vercel? Seeing something around the…
      afro88 on HN
  • How it compares to serverless containers like Cloud Run

    From 1 comment
    • How would it compare to running as serverless containers (rather than ECS) like Google Cloud Run or Azure Container Apps (true scale to 0)? It seems like using serverless…
      CharlieDigital on HN

Alternatives named

  • Self-hosting Next.js on a Node server or Docker

    From 2 comments
    • I haven't really followed Next.js and the related ecosystem closely, what does this project do exactly? If I look at Next.js docs [0], they have three options for self-hosting:…
      Etheryte on HN
    • Confused as well since we self host in docker and it's no different than any other node app. People keep posting that there's gotchas and weird setups but... it just works well…
      dawnerd on HN
  • Cloudflare next-on-pages

    From 1 comment
    • To clarify in the specific case of deploying to cloudflare workers, you can use cloudflares next-on-pages at the expense of a constrained "Edge" runtime. -…
      hi_hi on HN
  • Remix and React Router

    From 2 comments
    • > especially given the CTO's desire to also migrate off of Next.js To Remix?
      pier25 on HN
    • Remix is growing, and when react router 7 lets you add SSR into any react SPA, I would guess next's market share will slowly shrink in part for that reason
      willsmith72 on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/42198611)