Does autoscaling work with Next.js?

I’m currently looking for hosting solutions for our Next.js apps. Using Next.js’ incremental static regeneration feature, all nodes of the load balancer would need access to the same data. Looking at the docs of render.com, I assume that I can create a shared volume where all nodes, which runs Next.js, are able to write to the same directory if pages are regenerated incrementally.

Would this work? Or did I miss something?

Currently, Render only supports attaching a single instance to a disk at a time. We plan to support this use case in the future. We have an open feature request that you can upvote and be notified of any updates.