Has anyone hosted Next 13 app router project on Azure
I really want to use app router for this project but googling next 13 app router azure is bringing back poor results. Is it even possible? The documentation for it looks irrelevant to modern app router
https://learn.microsoft.com/en-us/azure/static-web-apps/deploy-nextjs-hybrid
TLDR: Is it even possible to use app router on azure (plan is to host on vercel then transition to azure last minute for months long project)
Tutorial: Deploy hybrid Next.js websites on Azure Static Web Apps
Generate and deploy Next.js hybrid sites with Azure Static Web Apps.
11 Replies
Azure is wide spectrum
Just like saying aws
But if you mean the vps side then yes
Besides i don't think they is anything special app router or not
Next js npm run build and npm run start with the necessary nginx configuration is all you need
@Lopen Thanks for the response!! I would be using the static web app "service" provided by azure which I believe is their PaaS equiv of like s3 from Amazon I think.
I'm just looking to use Azure to host the app
I'm a noob IDK what you mean by VPS side in terms of Azure hosting. I know Azure has VM's that are equiv to AWS EC2instances
edit: Yeah it doesnt look like its supported FUCK
S3?
Like object storage?
I host my pages router next 13 app (for work) it’s very fiddly but I got it working in the end, I use an app service (not static app service)
I’ll have to send the config for u to try out tomorrow
as I don’t have my work laptop on me
Your questions make me feel very stupid ngl lol I have no idea...The end product is a front end web app dashboard with backend system dealing with notifications and ML.
by pages router do you mean you are not using RSC? If not, that's okay but if you are, I would LOVE to see your config. 🙏
Thank you 2 regardless!
yeh Im not using RSC, but shouldn’t make much difference
or any at all tbf
I say give it a try anyways
Try and confirm if its a server/vps you're referring to
Sure, if you're down to send it, please do! Thanks!!!
I will get back to you on this as I gain more knowledge (prolly make another thread or something). Nearly done with base azure cert and need to start picking out tech for project. Might just ditch azure hosting altogether and use other azure services and host on vercel (also meant to get back to you after last reply but ADD hit me lol)
let me DM you
sorry I've been away since Thursday
You’re good. Thanks !!!! ❤️
Hey @max14 I'm also trying to make t3 work on azure can we compare notes / config?