koyeb
Koyebは、フルスタックアプリケーションやAPIなどを自動スケーリングでグローバルに展開できるサーバーレスプラットフォームで、GitやDockerからのデプロイ、CI/CD、エッジネットワーキングをサポートし、従量課金制で開発者のアプリ開発を支援するSkill。
📜 元の英語説明(参考)
Expert guidance for Koyeb, the serverless cloud platform for deploying full-stack applications, APIs, and workers globally with automatic scaling, built-in CI/CD, and edge networking. Helps developers deploy applications from Git or Docker with zero-downtime deployments and pay-per-use pricing.
🇯🇵 日本人クリエイター向け解説
Koyebは、フルスタックアプリケーションやAPIなどを自動スケーリングでグローバルに展開できるサーバーレスプラットフォームで、GitやDockerからのデプロイ、CI/CD、エッジネットワーキングをサポートし、従量課金制で開発者のアプリ開発を支援するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o koyeb.zip https://jpskill.com/download/15046.zip && unzip -o koyeb.zip && rm koyeb.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/15046.zip -OutFile "$d\koyeb.zip"; Expand-Archive "$d\koyeb.zip" -DestinationPath $d -Force; ri "$d\koyeb.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
koyeb.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
koyebフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Koyeb — グローバルサーバーレスプラットフォーム
概要
Koyebは、フルスタックアプリケーション、API、およびワーカーをグローバルにデプロイするためのサーバーレスクラウドプラットフォームです。自動スケーリング、組み込みのCI/CD、およびエッジネットワーキングを備えています。開発者がGitまたはDockerからアプリケーションをゼロダウンタイムでデプロイし、従量課金制の料金体系で利用できるように支援します。
手順
CLIデプロイメント
# Koyeb CLIをインストール
curl -fsSL https://raw.githubusercontent.com/koyeb/koyeb-cli/master/install.sh | sh
# ログイン
koyeb login
# Gitリポジトリからデプロイ
koyeb app create my-api
koyeb service create my-api/web \
--git github.com/myorg/my-api \
--git-branch main \
--git-build-command "npm ci && npm run build" \
--git-run-command "node dist/index.js" \
--port 3000:http \
--region fra \
--instance-type nano \
--min-scale 1 \
--max-scale 5 \
--env NODE_ENV=production \
--env DATABASE_URL=@database-url # シークレットを参照
# Dockerイメージからデプロイ
koyeb service create my-api/web \
--docker ghcr.io/myorg/my-api:latest \
--port 3000:http \
--region fra
# シークレットの管理
koyeb secret create database-url --value "postgres://..."
koyeb secret list
# カスタムドメイン
koyeb domain create api.myapp.com --app my-api
サービス構成 (koyeb.yaml)
# koyeb.yaml — 宣言的なサービス構成
name: my-api
type: web
# ビルド構成
git:
repository: github.com/myorg/my-api
branch: main
build_command: npm ci && npm run build
run_command: node dist/index.js
# またはDockerベース
# docker:
# image: ghcr.io/myorg/my-api:latest
# スケーリング
scaling:
min: 1
max: 10
targets:
- metric: cpu
value: 70 # CPU使用率70%でスケールアップ
- metric: requests
value: 100 # インスタンスあたり100 req/sでスケールアップ
# インスタンス構成
instance_type: small # nano | small | medium | large | xlarge
regions:
- fra # フランクフルト
- was # ワシントンDC
- sin # シンガポール
# ネットワーク
ports:
- port: 3000
protocol: http
# ヘルスチェック
health_checks:
- type: http
port: 3000
path: /health
interval: 30
timeout: 10
healthy_threshold: 2
unhealthy_threshold: 3
# 環境
env:
- key: NODE_ENV
value: production
- key: DATABASE_URL
secret: database-url # Koyebシークレットを参照
- key: REDIS_URL
secret: redis-url
# ボリューム(永続ストレージ)
volumes:
- name: data
path: /app/data
size: 10 # GB
ワーカーとCronジョブ
# バックグラウンドワーカーのデプロイ(パブリックポートなし)
koyeb service create my-app/worker \
--git github.com/myorg/my-api \
--git-branch main \
--git-run-command "node dist/worker.js" \
--type worker \
--env QUEUE_URL=@queue-url
# Koyebにはネイティブなcronはありません — 軽量なスケジューラを使用してください
# または、Webエンドポイントにアクセスするcron-to-HTTPサービスを使用してください
マルチリージョンデプロイメント
# グローバルな低レイテンシのために複数のリージョンにデプロイ
koyeb service update my-api/web \
--region fra,was,sin \
--min-scale 1 \
--max-scale 3
# Koyebのエッジネットワークは、ユーザーを最寄りのリージョンに自動的にルーティングします
# DNSベースのルーティング:ヨーロッパからのリクエスト → フランクフルト、米国 → ワシントン、アジア → シンガポール
データベース統合
# KoyebはマネージドPostgres(Neon搭載)を提供します
koyeb database create main-db \
--engine postgres \
--region fra
# 接続文字列はシークレットとして利用可能です
# サービス環境変数で参照してください:
koyeb service update my-api/web \
--env DATABASE_URL=@main-db-connection-string
例
例 1: マイクロサービスプロジェクトのためのKoyebのセットアップ
ユーザーリクエスト:
Node.js APIとReactフロントエンドをDockerで実行しています。Koyebを監視/デプロイ用にセットアップしてください。
エージェントは、# Install Koyeb CLIのようなパターンに基づいて必要な構成ファイルを作成し、既存のDockerセットアップとの統合をセットアップし、Node.js + Reactスタックに適したデフォルトを構成し、すべてが動作していることを確認するための検証コマンドを提供します。
例 2: サービス構成の問題のトラブルシューティング
ユーザーリクエスト:
Koyebがサービス構成でエラーを表示しています。ログは次のとおりです:[エラー出力]
エージェントはエラー出力を分析し、一般的なKoyebの問題と相互参照して根本原因を特定し、修正を適用(構成の更新、リソース制限の調整、または構文の修正)し、適切なヘルスチェックで解決を確認します。
ガイドライン
- Gitベースのデプロイメントを使用する — プッシュしてデプロイします。Koyebはビルド、キャッシュ、およびゼロダウンタイムのロールアウトを処理します。
- レイテンシのためにマルチリージョンを使用する — ユーザーに最も近いリージョンにデプロイします。Koyebのエッジがトラフィックを自動的にルーティングします。
- 認証情報にはシークレットを使用する — データベースのURLやAPIキーを環境変数に直接入れないでください。
koyeb secret createを使用してください。 - リクエストメトリクスで自動スケーリングする — Webサービスの場合はリクエスト/秒でスケールし、計算負荷の高いワーカーの場合はCPUベースでスケールします。
- ヘルスチェックは重要です — HTTPヘルスチェックを定義します。ヘルスチェックがないと、Koyebはゼロダウンタイムデプロイメントを実行できません。
- ステージングにはnanoを使用する — nanoインスタンスは安価です。プレビュー/ステージング環境に使用してください。
- Dockerタグを固定する — 本番環境では
:latestを使用しないでください。再現可能なデプロイメントのために特定のバージョンに固定してください。 - ダッシュボードで監視する — Koyebは、Webコンソールに組み込みのログ、メトリクス、およびデプロイ履歴を提供します。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Koyeb — Global Serverless Platform
Overview
Koyeb, the serverless cloud platform for deploying full-stack applications, APIs, and workers globally with automatic scaling, built-in CI/CD, and edge networking. Helps developers deploy applications from Git or Docker with zero-downtime deployments and pay-per-use pricing.
Instructions
CLI Deployment
# Install Koyeb CLI
curl -fsSL https://raw.githubusercontent.com/koyeb/koyeb-cli/master/install.sh | sh
# Login
koyeb login
# Deploy from a Git repository
koyeb app create my-api
koyeb service create my-api/web \
--git github.com/myorg/my-api \
--git-branch main \
--git-build-command "npm ci && npm run build" \
--git-run-command "node dist/index.js" \
--port 3000:http \
--region fra \
--instance-type nano \
--min-scale 1 \
--max-scale 5 \
--env NODE_ENV=production \
--env DATABASE_URL=@database-url # Reference a secret
# Deploy from Docker image
koyeb service create my-api/web \
--docker ghcr.io/myorg/my-api:latest \
--port 3000:http \
--region fra
# Manage secrets
koyeb secret create database-url --value "postgres://..."
koyeb secret list
# Custom domains
koyeb domain create api.myapp.com --app my-api
Service Configuration (koyeb.yaml)
# koyeb.yaml — Declarative service configuration
name: my-api
type: web
# Build configuration
git:
repository: github.com/myorg/my-api
branch: main
build_command: npm ci && npm run build
run_command: node dist/index.js
# Or Docker-based
# docker:
# image: ghcr.io/myorg/my-api:latest
# Scaling
scaling:
min: 1
max: 10
targets:
- metric: cpu
value: 70 # Scale up at 70% CPU
- metric: requests
value: 100 # Scale up at 100 req/s per instance
# Instance configuration
instance_type: small # nano | small | medium | large | xlarge
regions:
- fra # Frankfurt
- was # Washington DC
- sin # Singapore
# Networking
ports:
- port: 3000
protocol: http
# Health checks
health_checks:
- type: http
port: 3000
path: /health
interval: 30
timeout: 10
healthy_threshold: 2
unhealthy_threshold: 3
# Environment
env:
- key: NODE_ENV
value: production
- key: DATABASE_URL
secret: database-url # Reference a Koyeb secret
- key: REDIS_URL
secret: redis-url
# Volumes (persistent storage)
volumes:
- name: data
path: /app/data
size: 10 # GB
Workers and Cron Jobs
# Deploy a background worker (no public port)
koyeb service create my-app/worker \
--git github.com/myorg/my-api \
--git-branch main \
--git-run-command "node dist/worker.js" \
--type worker \
--env QUEUE_URL=@queue-url
# There's no native cron in Koyeb — use a lightweight scheduler
# or a cron-to-HTTP service that hits your web endpoint
Multi-Region Deployment
# Deploy to multiple regions for global low-latency
koyeb service update my-api/web \
--region fra,was,sin \
--min-scale 1 \
--max-scale 3
# Koyeb's edge network automatically routes users to the nearest region
# DNS-based routing: requests from Europe → Frankfurt, US → Washington, Asia → Singapore
Database Integration
# Koyeb offers managed Postgres (Neon-powered)
koyeb database create main-db \
--engine postgres \
--region fra
# Connection string is available as a secret
# Reference it in service env vars:
koyeb service update my-api/web \
--env DATABASE_URL=@main-db-connection-string
Examples
Example 1: Setting up Koyeb for a microservices project
User request:
I have a Node.js API and a React frontend running in Docker. Set up Koyeb for monitoring/deployment.
The agent creates the necessary configuration files based on patterns like # Install Koyeb CLI, sets up the integration with the existing Docker setup, configures appropriate defaults for a Node.js + React stack, and provides verification commands to confirm everything is working.
Example 2: Troubleshooting service configuration issues
User request:
Koyeb is showing errors in our service configuration. Here are the logs: [error output]
The agent analyzes the error output, identifies the root cause by cross-referencing with common Koyeb issues, applies the fix (updating configuration, adjusting resource limits, or correcting syntax), and verifies the resolution with appropriate health checks.
Guidelines
- Use Git-based deployment — Push to deploy; Koyeb handles builds, caching, and zero-downtime rollouts
- Multi-region for latency — Deploy to regions closest to your users; Koyeb's edge routes traffic automatically
- Secrets for credentials — Never put database URLs or API keys in env vars directly; use
koyeb secret create - Autoscaling with request metrics — Scale on requests-per-second for web services; CPU-based for compute-heavy workers
- Health checks are critical — Define HTTP health checks; without them, Koyeb can't do zero-downtime deployments
- Use nano for staging — Nano instances are cheap; use them for preview/staging environments
- Pin Docker tags — Don't use
:latestin production; pin to specific versions for reproducible deployments - Monitor via dashboard — Koyeb provides built-in logs, metrics, and deployment history in the web console