35% Off Finance Skills That Get You Hired - Code CFI35
Earn Your Business Degree, Tuition-Free, 100% Online!
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn the optimal hosting strategies for Next.js websites through a comprehensive 18-minute tutorial that explores multiple deployment options and their trade-offs. Discover the differences between static hosting, managed hosting platforms, and self-hosting solutions while understanding key concepts like CDN versus edge networks, serverless versus long-running servers, and the distinctions between Static Site Generation (SSG), Server-Side Rendering (SSR), and Incremental Static Regeneration (ISR). Explore practical implementation using an example application, covering the build process with npm run build, and dive into self-hosting options including Coolify and SST. Gain insights into server fundamentals, evaluate the cost-effectiveness and complexity of self-hosting, and learn about Node.js server hosting with Docker containerization. Master container registry usage with ghcr.io and understand VPS hosting considerations to make informed decisions about the most suitable hosting approach for your Next.js projects based on your specific requirements and constraints.
Syllabus
00:00 Overview of options
01:08 Example app
02:06 npm run build
02:57 Static hosting
04:30 Managed hosting
05:22 CDN vs Edge network
06:09 Serverless vs Long-running
06:53 SSG vs SSR vs ISR
08:36 Self-hosting
08:44 Coolify / SST
09:07 What is a server?
10:04 Is self-hosting cheap / easy / well-supported?
11:18 Node.js server hosting
11:42 Host with Docker
13:01 Container registry ghcr.io
14:40 VPS hosting
Taught by
ByteGrad