Run Next.js Apps on Kubernetes/GKE (Bonus: GitHub CI/CD!)

  Рет қаралды 2,181

Nodematic Tutorials

Nodematic Tutorials

Күн бұрын

Пікірлер: 6
@tonmoy7203
@tonmoy7203 Жыл бұрын
Thank you so much ❤❤❤❤
@cheftimbob
@cheftimbob Жыл бұрын
Thanks, this was so helpful as there's such a lack of current guidance on working with autopilot, github actions, and ci/cd. I have two questions regarding port mappings and paths. If the api routes on say /api/* at port 3000, I don't see this mapping if provided. Where would the custom mappings be configured? If you were going to have a websocket running on port 3001 at /, you would just add another port to the service configuration in resources.yaml?
@erwanriou1
@erwanriou1 8 ай бұрын
Is there performance benefices for nextjs to run a gce balancer instead of an nginx one?
@nodematic
@nodematic 8 ай бұрын
There are a few: 1) The GCE load balancer uses Google's global network, which extends to edge locations very close to the user, so more of the traffic between the user and your application is on Google Cloud's backbone (fast) instead of the public internet (slower). 2) The GCE load balancer is a serverless, scalable, managed service - so it's like having an unlimited-power Nginx. If you run your own Nginx (e.g., via a Kubernetes ingress controller), your CPU, RAM, and bandwidth resources will be more constrained. 3) If you decide to add CDN caching for performance, Cloud Armor for security, etc. - that'll be easy to do at Google Cloud's edge with the GCE load balancer, but not possible to do with the Nginx path. These will all be small improvements though. If you run the Nginx system well, the user experience will be similar in both cases. Here are a few videos on Nginx in GKE, if you're interested: * kzbin.info/www/bejne/mIesiXR7pdGMjMk * kzbin.info/www/bejne/eJ-ldIqtrpKar5I * kzbin.info/www/bejne/e3jEm6Roh9qYd7c * kzbin.info/www/bejne/nXnKinRtqp6KkLM
@erwanriou1
@erwanriou1 8 ай бұрын
@@nodematic Yeah that make sens indeed. I was currently using an nginx topped by cloudflare CDN but i was wondering about the scaling performances.
Deploy a Nest.js App With Docker + Kubernetes on Google Cloud
18:24
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 324 М.
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 8 МЛН
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,6 МЛН
Deploying to Google Kubernetes Engine with GitHub Actions
8:05
Nodematic Tutorials
Рет қаралды 5 М.
I think I was wrong about AWS Amplify
30:39
Web Dev Cody
Рет қаралды 61 М.
How to deploy a dockerized FastAPI to Cloud Run
22:22
COMMAND
Рет қаралды 4,2 М.
Building and deploying Next.js applications with Docker
26:09
Dockerize Next.js & Deploy to VPS (EASY!)
19:43
ByteGrad
Рет қаралды 69 М.
Deploy your Next.js app to a VPS (EASY!)
15:38
ByteGrad
Рет қаралды 39 М.
How to self host a Next.js application (with Dockerfile overview)
13:13
Docker container for your fullstack NextJS project
8:41
Eddie Jaoude
Рет қаралды 41 М.
Crazy fast Kubernetes Automation with Terraform
26:23
Christian Lempa
Рет қаралды 101 М.