☁️ Cloud

Render

Render

A cloud application platform. A Heroku alternative. Offers a free tier.

📖 Detailed Explanation

Render is an integrated cloud platform for developers that lets you manage web services, static sites, PostgreSQL, Redis, Cron Jobs, and more in one place. It was designed with the goal of "Heroku's convenience + AWS's reliability," and rose rapidly as an alternative after Heroku discontinued its free tier in 2022.

Render was founded in 2018 and currently supports Infrastructure-as-Code (render.yaml) and Preview Environments. Automatic deployment is performed through GitHub/GitLab integration, and major runtimes such as Node.js, Python, Ruby, Go, Rust, and Elixir are detected automatically.

Render's service types include Web Service (backend API), Static Site (frontend), Private Service (internal microservice), Background Worker (asynchronous tasks), and Cron Job (scheduled tasks). On the free tier, static sites are provided with 100GB of bandwidth per month, and web services are provided with spin-down (sleep mode).

In practice, Render is strong for deploying full-stack frameworks such as Ruby on Rails and Django. Managed PostgreSQL offers automatic backups and high-availability options, and secure communication between services is possible through Private Network.

💻 Code Example

# render.yaml - Infrastructure as Code
services:
  # 웹 서비스 (백엔드 API)
  - type: web
    name: api-server
    env: node
    region: oregon
    plan: starter  # free, starter, standard, pro
    buildCommand: npm ci && npm run build
    startCommand: npm start
    healthCheckPath: /health
    envVars:
      - key: NODE_ENV
        value: production
      - key: DATABASE_URL
        fromDatabase:
          name: mydb
          property: connectionString
      - key: REDIS_URL
        fromService:
          name: redis-cache
          type: redis
          property: connectionString
    autoDeploy: true

  # 정적 사이트 (프론트엔드)
  - type: web
    name: frontend
    env: static
    buildCommand: npm run build
    staticPublishPath: ./dist
    headers:
      - path: /*
        name: Cache-Control
        value: public, max-age=31536000
    routes:
      - type: rewrite
        source: /*
        destination: /index.html

  # 백그라운드 워커
  - type: worker
    name: job-processor
    env: python
    buildCommand: pip install -r requirements.txt
    startCommand: python worker.py

  # 크론 잡 (매일 자정 실행)
  - type: cron
    name: daily-cleanup
    env: node
    schedule: "0 0 * * *"
    buildCommand: npm ci
    startCommand: npm run cleanup

databases:
  - name: mydb
    databaseName: myapp
    plan: starter  # free, starter, standard, pro

# Redis 캐시
  - name: redis-cache
    type: redis
    plan: starter

🗣️ Say It Like This in Practice

💬 In an Infrastructure Discussion
"If we go with Render, we can manage the entire infrastructure as code with a single render.yaml. You define the web server, worker, PostgreSQL, and Redis in one file, and when you git push, everything gets provisioned. Preview Environments also automatically create an isolated environment for each PR."
💬 In a Heroku Alternative Discussion
"Render costs about half as much as Heroku. The Starter plan is $7 per month, while Heroku Eco is $5, but running 24/7 without sleep costs $25. The free PostgreSQL has a 90-day limit too, but it's sufficient for testing."
💬 In an Interview
"As for the differences between Render and Railway, Render's strengths are Infrastructure-as-Code and Preview Environments, while Railway's advantages are a more intuitive dashboard and faster deployment speed. For Rails or Django full-stack, I prefer Render; for rapid prototyping, I prefer Railway."

Take a mock interview on this topic → WIA SOOM AI Interview · Start for free

⚠️ Common Mistakes & Cautions

❌
Not Realizing the Free Tier Sleeps

A free Web Service switches to sleep mode after 15 minutes of inactivity, and the first request can take up to 30 seconds. In production, use a paid plan or send periodic requests with UptimeRobot.

❌
Free PostgreSQL Expires After 90 Days

Render's free PostgreSQL is automatically deleted after 90 days. If you miss the warning email, data may be lost. For important data, use a paid plan or set up regular backups.

✅
Optimal Deployment Strategy

Version-control your infrastructure with render.yaml and improve PR review quality with Preview Environments. Zero-downtime Deploy is the default, but it is safer to run migrations at build time with a Pre-deploy Command.

🔗 Related Terms

📚 Learn More