Platform as a Service — DevOps

PaaS: Deploy Tanpa Kelola Server PaaS (Platform as a Service) memungkinkan kamu fokus pada kode tanpa mengurus server, OS, atau infrastructure. Push kode, platf

PaaS: Deploy Tanpa Kelola Server

PaaS (Platform as a Service) memungkinkan kamu fokus pada kode tanpa mengurus server, OS, atau infrastructure. Push kode, platform handle sisanya.

Platform Populer

Vercel Deployment

# Install Vercel CLI
npm i -g vercel

# Deploy (link ke project)
vercel

# Deploy ke production
vercel --prod

# Environment variables
vercel env add DATABASE_URL production

# vercel.json konfigurasi
{
  "framework": "vite",
  "buildCommand": "npm run build",
  "outputDirectory": "dist"
}

Railway Deployment

# Install Railway CLI
npm i -g @railway/cli

# Login & init
railway login
railway init

# Deploy
railway up

# Add database
railway add --plugin postgresql

# Environment variables otomatis tersedia:
# DATABASE_URL, PGHOST, PGPORT, etc.

PaaS vs VPS: Kapan Pakai Apa?

Yang akan kamu pelajari