Deploy SvelteKit in 60 Seconds
SvelteKit is the official full-stack framework for Svelte. Deploy with SSR, form actions, and server-side load functions on a real server - one command, done.
The usual way to deploy SvelteKit
- Picking the right adapter: @sveltejs/adapter-node vs adapter-auto vs platform-specific adapters
- adapter-node output needs a HOST and PORT configuration, and the build directory structure is non-obvious
- Configuring a process manager for the Node server while correctly serving _app/immutable static assets
- Prerendered pages live in a different directory than server-rendered ones - nginx config gets complicated
- Environment variable handling has $env/static vs $env/dynamic, and getting them right in production vs build is confusing
SvelteKit adapters add a layer of confusion between your code and actually getting it online.
Or just run one command
What you get
Recommended plan for SvelteKit
- 2 vCPU
- 2 GB RAM
- 25 GB storage
- HTTPS included
- Custom domain support
- SSH & web terminal access
SvelteKit deployment notes
Use adapter-node
Install @sveltejs/adapter-node and set it in svelte.config.js. This produces a self-contained Node server that InstaPods can run directly.
Static Prerendering
Pages with export const prerender = true are pre-built as HTML. SvelteKit serves them automatically - no special config needed on InstaPods.
Env Variables
Use $env/dynamic/private for secrets in server-side code. Set them in the InstaPods dashboard and they are available at runtime via process.env.
Deploy SvelteKit in 60 seconds
One command. Real server. HTTPS included. No DevOps degree required.
Start Free