# OpsCrew > Get your app live on your own server without hiring DevOps. Open-source AI agents set up the server, domain and HTTPS, and change nothing until you approve. # OpsCrew: your app live on your own server, without DevOps Source: https://opscrew.dev/ ## Get your app live on your own server, without hiring DevOps. OpsCrew's open-source AI agents do the DevOps work for you. [Start free](https://app.opscrew.dev/start?plan=free) [Deploy with the CLI](https://github.com/opscrew-hub/opscrew#quickstart) Free for one app, no card needed. terminal — nextjs-postgres-demo ``` $ npx opscrew analyze --no-ai ◆ Analysing the project ✓ Wrote opscrew/architecture.json and opscrew/ARCHITECTURE.md. nextjs-postgres-demo is a server-rendered web app built with Next.js and React (TypeScript). Dependencies are installed with npm. It listens on port 3000. It uses PostgreSQL. It reads 1 environment variable. Risks to handle before deploying: - There is no Dockerfile. OpsCrew will add one when it prepares the code (`opscrew adapt`). - No health-check endpoint was found. The deployment needs one to know the app is up; OpsCrew will propose a `/health` route. ``` ``` $ npx opscrew provision --approve 8b47be1b… --approve d1d6f56f… --yes ◆ Checking your Hetzner Cloud, Cloudflare and GitHub access + create module.server.hcloud_server.this + create module.server.hcloud_firewall.this Estimated cost: €23.89 per month (live prices, excl. VAT). Security policies: 9 passed, 0 failed. ◆ Applying the plan (this usually takes one to three minutes) ✓ Infrastructure applied. ✓ Stored 8 deploy secrets in GitHub Actions. ✓ Committed the deployment files on branch opscrew/deploy-setup. ``` ``` $ npx opscrew verify ◆ Verifying the deployment ✓ The site answers: https://…/ answered with HTTP 200. ✓ HTTP redirects to HTTPS: http://…/ redirects to https://…/. ✓ Health endpoint answers 200: https://…/api/health answered 200. ✓ Security headers are set: All expected security headers are present. ``` - About 10 minutes From your repository to a live HTTPS site - $0 for OpsCrew Free and open source, on [npm](https://www.npmjs.com/package/opscrew) - Little or no AI cost Deploys and checks run without a model; AI is optional ### Why OpsCrew Writing the app is the easy part. Then come the server, the domain and HTTPS, a firewall, deploys without downtime, backups and updates, often with nobody on the team who does DevOps. **OpsCrew’s AI agents do that work for you, in your own accounts.** Features ### What Comes After the Code What each app gets, from its very first pull request to the latest security check. #### Reviewable by Design App changes, infrastructure and key rotations each arrive as their own commit you can review. - chore(opscrew): prepare app for deployment opscrew/prepare-deploy · d9e9f79 **+95** -7 - chore(opscrew): deployment infrastructure for shop opscrew/deploy-setup **+.github/dependabot.yml** - chore(opscrew): rotate the recovery copy's key for shop npx opscrew rotate recovery-key **+opscrew/secrets.sops.json** #### Deeper Security Audits Lynis, ssh-audit and testssl.sh give a second, independent opinion, from pinned versions, for free. - ✓ pass Lynis ran - ✓ pass ssh-audit ran - ✓ pass testssl.sh ran opscrew secure --deep costs nothing changes nothing #### Secure by Default, Rechecked Every server OpsCrew creates starts hardened, and opscrew secure flags any check that later fails. - Server setup (cloud-init) finished Cloud-init finished the OpsCrew setup. - Automatic security updates are enabled unattended-upgrades is enabled. - No reboot pending No reboot is pending. #### Alerts When Something Breaks A scheduled check opens a [GitHub](https://github.com/) issue when your app is down, its certificate expires or its disk fills up. - ! OpsCrew check: example-app (prod) does not answer on example.com Closed by itself once the app answers again - ! OpsCrew check: example-app (prod) certificate expires within 14 days on example.com Opened two weeks before the certificate runs out - ! OpsCrew check: example-app (prod) disk over 85% full on hetzner-example-app Opened again at 95% #### Language Support [Node.js](https://nodejs.org/), Python, Go, Java, Ruby, Rust and more, each with a fitting builder. - **JS** Node.js - **PY** Python - **RS** Rust - **GO** Go - **RB** Ruby - **JV** Java How it works ### Three Steps, Each One Approved by You Read the app, approve the plan, then deploy and check. Nothing changes without approval. 1. ### 01. Point OpsCrew at your repo Run it in your app's repository, then answer a few short questions, such as your domain name and your monthly budget. 2. ### 02. Pick a design, approve its plan OpsCrew proposes setups with their monthly price. Pick the one that suits you and approve its plan. 3. ### 03. Merge, deploy & verify Review the pull request like any other and merge it. The deploy runs, then secure and verify check the live result. In a terminal, in this order; in Claude Code, ask for them 1. `npx opscrew analyze` **Analyst** 2. `npx opscrew interview` **Interviewer** 3. `npx opscrew design` **Architect** 4. `npx opscrew adapt` **Code-change agent** 5. `npx opscrew provision` **Infra agent** 6. `npx opscrew verify` **Verifier** 7. `npx opscrew secure` **SecOps** Why OpsCrew ### Three Ways OpsCrew Keeps You in Control OpsCrew handles the repetitive operations work, so you and your team can focus on the app. - Image scan with Trivy (security.imageScan) - Rolling deploys (deploy.strategy) - Dependabot updates (.github/dependabot.yml) - Keep the newest 10 images (cicd.imageRetention) - SSH allows keys only, no root login **pass** - Host firewall (ufw) is enabled **pass** - Only SSH and web ports listen on public addresses **pass** - No security updates waiting **pass** - [Docker](https://www.docker.com/) API is not exposed over TCP **pass** Task Manual OpsCrew Write the Dockerfile by hand `adapt` Set up DNS and TLS by hand `provision` Back up the databases by hand `snapshot` Roll back a bad release by hand `rollback` Guardrails Defaults that keep every deploy safe. Hardening Done before the first deploy. Busywork Hand the chores to the crew instead. Who it’s for ### Made for people who ship without a DevOps team - [You built your app with Lovable, Bolt, Replit or v0](https://opscrew.dev/use-cases/#builders) - [Your team has no DevOps person](https://opscrew.dev/use-cases/#no-devops) - [You build and run apps for clients](https://opscrew.dev/use-cases/#clients) - [You already have a server, a NAS or a Portainer](https://opscrew.dev/use-cases/#own-server) - [You want to see each change running before it ships](https://opscrew.dev/use-cases/#previews) - [Your site needs no server at all](https://opscrew.dev/use-cases/#no-server) - [You want to try it on your own computer first](https://opscrew.dev/use-cases/#local) Integrations ### Works with the tools you use OpsCrew works through the accounts and tools you already have, and no part of it runs on servers of ours. #### All integrations 25 integrations in 6 categories - Cloud Providers #### [Hetzner Cloud](https://docs.opscrew.dev/hetzner/) Servers on your own account, created from an approved OpenTofu plan - Cloud Providers #### [DigitalOcean](https://docs.opscrew.dev/digitalocean/) Droplets on your own account, planned with OpenTofu or Terraform - Cloud Providers #### [Contabo](https://docs.opscrew.dev/contabo/) Low-priced servers on your own account, rented by the month - Cloud Providers #### [OVHcloud](https://docs.opscrew.dev/ovhcloud/) Public Cloud servers on your own account, billed by the hour - Cloud Providers #### [Kamatera](https://docs.opscrew.dev/kamatera/) Servers on your own account, with a firewall on the server itself - Cloud Providers #### [AWS](https://docs.opscrew.dev/aws/) Managed AWS services for your app, each choice explained and priced - Cloud Providers #### [Microsoft Azure](https://docs.opscrew.dev/azure/) Container Apps, managed databases and Key Vault on your subscription - Cloud Providers #### [Google Cloud](https://docs.opscrew.dev/gcp/) Cloud Run, Cloud SQL and Secret Manager in your own project - DNS & Networking #### [Cloudflare](https://docs.opscrew.dev/cloudflare/) DNS, TLS and origin protection, applied as plans you approve - DNS & Networking #### [Caddy](https://docs.opscrew.dev/reverse-proxy/) Serves your app over HTTPS on your server and renews its certificates - DNS & Networking #### [Bunny.net](https://docs.opscrew.dev/bunny/) Its CDN in front of your app in Cloudflare's place, origin locked to it - DNS & Networking #### [Gcore](https://docs.opscrew.dev/gcore/) Its CDN in front of your app, a secret header guarding the origin - DNS & Networking #### [Fastly](https://docs.opscrew.dev/fastly/) Its CDN in front of your app, the origin reachable only from Fastly - Containers & Deployment #### Docker Runs your app and each service next to it in containers - Containers & Deployment #### [Portainer](https://docs.opscrew.dev/portainer-target/) Deploy into the Portainer you already run, through its API - Infrastructure as Code #### OpenTofu Plans and applies your server, firewall and DNS from code in your repo - Infrastructure as Code #### Terraform Runs the same code in OpenTofu's place, when Terraform is what you have - Developer Tools & Automation #### GitHub Pull requests, deploy secrets and Actions workflows for every merge - Developer Tools & Automation #### [GitLab](https://docs.opscrew.dev/gitlab/) GitLab.com or your own server: CI/CD variables, pipelines and runners - Developer Tools & Automation #### [Forgejo](https://docs.opscrew.dev/forgejo/) Forgejo Actions workflows, secrets and deploy keys for your repo - Developer Tools & Automation #### [Gitea](https://docs.opscrew.dev/gitea/) Gitea Actions workflows and secrets, or a Gitea OpsCrew sets up for you - Developer Tools & Automation #### [Claude Code](https://docs.opscrew.dev/claude-code-plugin/) Works as a plugin with an MCP server for every step - Developer Tools & Automation #### [Codex](https://docs.opscrew.dev/codex-plugin/) Works as a plugin with the same skills and MCP server tools - AI models #### [Anthropic](https://docs.opscrew.dev/ai-models/) An optional API key, for analyze and adapt to run on Claude - AI models #### [OpenAI](https://docs.opscrew.dev/ai-models/) An optional API key, or a compatible endpoint, for analyze and adapt FAQ ### Questions, answered #### Is OpsCrew ready for production? OpsCrew is in alpha, so expect breaking changes before 1.0. Live deployments have passed on [Hetzner Cloud](https://www.hetzner.com/cloud) and [Contabo](https://contabo.com/), on your own servers and in [Portainer](https://www.portainer.io/), and on hosted platforms including [Cloudflare](https://www.cloudflare.com/) and [GitHub Pages](https://pages.github.com/). Automated tests also cover additional VPS providers and managed cloud deployments. Live coverage varies by target. [Deployment test coverage](https://github.com/opscrew-hub/opscrew/blob/main/docs/e2e-coverage.md) #### Which apps can it deploy? Web apps with their databases, caches, queues, search, workers and scheduled jobs. Nineteen frameworks have each been deployed live. Static and server-rendered sites can also run with no server. [What runs next to your app](https://docs.opscrew.dev/components/) #### Do I need to know servers or Docker? No. OpsCrew writes the Dockerfile, the server’s setup and the deploy workflow. You create the accounts and access keys, and the setup guide shows where. [Easy setup](https://opscrew.dev/setup/) #### What if I lose the computer that deployed it? OpsCrew keeps an encrypted copy of your app’s secrets and infrastructure state in your repository. On a new computer your key restores it, and your data stays as it is. [The recovery copy](https://docs.opscrew.dev/secrets-recovery/) #### Does it back up my data? Snapshots copy every database, cache, queue and search engine next to your app, now or on a schedule, with an encrypted copy off the server if you want one. `opscrew restore` puts the data back. [Snapshots and restores](https://docs.opscrew.dev/snapshots/) #### Can it change a password that leaked? `opscrew rotate` replaces database passwords, keys and your app’s own secrets everywhere OpsCrew put them, without breaking the running app, and can undo a rotation that stopped halfway. [Credential rotation](https://docs.opscrew.dev/credential-rotation/) Blog ### From the blog - Deploying ### [How to deploy an app you built with AI to your own server](https://opscrew.dev/blog/deploy-ai-built-app-to-your-own-server/) From a Lovable, Bolt.new, Replit, v0 or Claude Code project to a live URL on a server you control: code, build, backend, secrets, HTTPS and what breaks on the way. 11 November 202610 min read - Deploying ### [Deploy a Lovable app to your own server (Vite or TanStack Start)](https://opscrew.dev/blog/deploy-lovable-app-to-your-own-server/) How to deploy a Lovable app to a server you control: tell the Vite and TanStack Start stacks apart, sync it to GitHub, build it in Docker, serve it over HTTPS, and keep or move the Supabase backend. 11 November 20269 min read - Deploying ### [How to deploy a web app to a VPS: the complete guide](https://opscrew.dev/blog/deploy-web-app-to-a-vps/) From an empty server to a production app: server size, Docker, a reverse proxy with HTTPS, DNS, CI/CD, secrets, backups, zero-downtime updates, previews, logs and hardening. 11 November 202612 min read [Read the blog](https://opscrew.dev/blog/) Forum ### From the forum [Visit the forum](https://discuss.opscrew.dev/) ### Put OpsCrew to work on your app. OpsCrew checks your tools and tokens first, for free. [Deploy your first app](https://github.com/opscrew-hub/opscrew#quickstart) [Read the Docs](https://docs.opscrew.dev/) [See the hosted dashboard](https://opscrew.dev/pricing/#tour) # Use cases: who OpsCrew is for Source: https://opscrew.dev/use-cases/ ## Who OpsCrew is for People and teams who want their app on infrastructure they own, without learning DevOps first. [Easy setup](https://opscrew.dev/setup/) [See the pricing](https://opscrew.dev/pricing/) ### You built your app with Lovable, Bolt, Replit or v0 OpsCrew recognizes the code they export, prepares it for a server and puts it on one you own. [What OpsCrew checks](https://docs.opscrew.dev/security/#what-opscrew-checks) What you get - The free security scan, run on your export before it goes live - Your [Supabase](https://supabase.com/) project kept as it is, unless you ask OpsCrew to run a database itself - Base44 exports recognized too ### Your team has no DevOps person Every change waits in a pull request or a plan until someone on the team approves it. [Environments](https://docs.opscrew.dev/environments/) What you get - dev, staging and prod, with a tested image moving to prod unchanged - Advice on size, cost and upkeep once the app runs - Teammates reach the server over a private network, so public SSH can close ### You build and run apps for clients Point OpsCrew at the cloud account each app should live on, such as your client’s own. [Several apps](https://docs.opscrew.dev/several-apps/) [Cloudflare zones](https://docs.opscrew.dev/cloudflare/) What you get - Several apps in one repository, or several apps on one server - Several apps under one domain on [Cloudflare](https://www.cloudflare.com/) - A runbook for each app, ready to hand over ### You already have a server, a NAS or a Portainer A rented server, a machine at work, a mini PC or a [Raspberry Pi](https://www.raspberrypi.com/) at home, or the [Portainer](https://www.portainer.io/) you run on a [Synology](https://www.synology.com/), [Unraid](https://unraid.net/) or [TrueNAS](https://www.truenas.com/) box. [A server you already have](https://docs.opscrew.dev/own-server/) [A Portainer you already run](https://docs.opscrew.dev/portainer-target/) What you get - The same hardened setup as on a new server, without reinstalling anything - Your app as a Portainer stack, without SSH - A home server that the internet cannot reach, served through a Cloudflare Tunnel ### You want to see each change running before it ships With previews, every pull request that changes your app gets its own copy, at its own address nobody can guess, with its own data. [Previews](https://docs.opscrew.dev/previews/) What you get - Built when the pull request opens, updated on each push, removed when it closes - A comment on the pull request with the address - One small server of their own, beside nothing else, with its monthly price shown first ### Your site needs no server at all A static or server-rendered site can run on Cloudflare’s hosting with no server. A static site in a public repository can also go on [GitHub Pages](https://pages.github.com/). [Cloudflare’s hosting](https://docs.opscrew.dev/cloudflare-hosting/) [GitHub Pages](https://docs.opscrew.dev/github-pages/) What you get - Free for static files on Cloudflare - Free on GitHub Pages, without custom headers or commercial use - A rollback on Cloudflare serves the earlier version within a minute ### You want to try it on your own computer first OpsCrew can run your app’s production stack in your own [Docker](https://www.docker.com/), so you see it working before you rent anything. [Your own computer](https://docs.opscrew.dev/localhost/) What you get - The same production stack you would run on a server - No server, no cloud account and no domain needed - Your app at its own HTTPS address, such as `https://shop.localhost` ### Not sure which case is yours? Run npx opscrew init in your app's repository. It checks your tools and tokens first, for free. [Deploy your first app](https://github.com/opscrew-hub/opscrew#quickstart) [Read the Docs](https://docs.opscrew.dev/) # AI DevOps agents that ask before they act Source: https://opscrew.dev/ai/ ## AI DevOps agents that ask before they act An AI DevOps agent helps turn a code repository into a deployable app. OpsCrew uses a model to understand the project or adapt its code, then runs deployment tools against a plan you approve. [Deploy your first app](https://github.com/opscrew-hub/opscrew#quickstart) [Easy setup](https://opscrew.dev/setup/) ### What it never does These rules are part of the code, not a promise in a prompt. They hold whether you use OpsCrew in a terminal or in [Claude Code](https://claude.com/product/claude-code). - ### It never changes anything without your approval Every change is a plan you see first, with its cost and its SHA-256 hash. Your approval is bound to that hash, so a plan that changes needs a new approval. - ### It never sends a secret to the model The AI steps send parts of your code, never a key or a password. Your secrets stay in your environment, in [GitHub](https://github.com/)’s encrypted secrets and in an encrypted recovery copy. - ### The AI cannot approve for you In Claude Code, each plan waits in a dialog only you can answer, and Claude Code asks your permission before every tool that changes something, even in its auto modes. - ### It never deletes until you type the name Removing a server or an app asks you to type its name first. - ### It never hides what it did Everything it writes is a plain file in your repository: infrastructure code, workflows and reports. - ### The CLI runs on your computer The open-source CLI runs locally and needs no OpsCrew account. The hosted dashboard is a separate service. ### Where the AI comes in - ### In Claude Code or Codex Your coding session does the reasoning and talks to you. The OpsCrew plugin supplies the deployment tools, which make no model calls themselves. - ### In a terminal The Analyst and the Code-change agent can use [Anthropic](https://www.anthropic.com/) or OpenAI through your own account. The model guide also covers cloud providers and custom endpoints. - ### With no AI at all Run analyze and adapt with --no-ai and no model is called. The security scan never uses one. See how to use OpsCrew in [Claude Code](https://docs.opscrew.dev/claude-code-plugin/) or [Codex](https://docs.opscrew.dev/codex-plugin/), or configure[AI models for the CLI](https://docs.opscrew.dev/ai-models/). ### See it work on your own app. Run npx opscrew init in your app's repository. It checks your tools and tokens first, for free. [Deploy your first app](https://github.com/opscrew-hub/opscrew#quickstart) [Read the Docs](https://docs.opscrew.dev/) # Easy setup: deploy your app step by step Source: https://opscrew.dev/setup/ ## Set up OpsCrew, step by step Written for someone who has never set up a server. [Start with step 1](https://opscrew.dev/setup/#accounts) [How the AI works](https://opscrew.dev/ai/) ### Step 1: Get the accounts - ### A GitHub account, with your app in a repository OpsCrew opens pull requests there for you to review, and your app deploys from [GitHub Actions](https://github.com/features/actions). - ### A place to run your app An account at [Hetzner Cloud](https://www.hetzner.com/cloud), [DigitalOcean](https://www.digitalocean.com/) or [Contabo](https://contabo.com/), where OpsCrew creates a server for you. Or a server you already have, or a [Portainer](https://www.portainer.io/) you already run. - ### Your own domain, if you want one A [Cloudflare](https://www.cloudflare.com/) account with your domain on it gives your app its own address. No domain yet? OpsCrew can buy one once you confirm the price. - ### AI, if you want it [Claude Code](https://claude.com/product/claude-code) with your own [Claude](https://claude.com/) plan, or an [Anthropic](https://www.anthropic.com/) API key for the terminal. Without either, OpsCrew still works. [What each one costs](https://opscrew.dev/pricing/#costs) ### Step 2: Install three tools Each installs on Windows, macOS and Linux. In Claude Code you need [Node.js](https://nodejs.org/) 22 or newer with [npm](https://www.npmjs.com/), and the plugin installs OpsCrew for you. - ### Node.js 22.9 or newer Runs OpsCrew. It comes with npx, which fetches OpsCrew for you each time. [Download Node.js](https://nodejs.org/en/download) - ### git Keeps your app’s history. OpsCrew uses it to put its changes on their own branch. [Download git](https://git-scm.com/downloads) - ### OpenTofu, or Terraform Creates your server from the plan you approve, and keeps that plan as code in your repository. [Install OpenTofu](https://opentofu.org/docs/intro/install/) ### Step 3: Create your keys OpsCrew works in your accounts with access keys (tokens) you create there, and reads them from your terminal. - `HCLOUD_TOKEN` Hetzner Cloud In the Hetzner Cloud Console, open your project, then Security → API tokens, and create a Read & Write token. - `DIGITALOCEAN_TOKEN` DigitalOcean, instead of Hetzner A personal access token with custom scopes. npx opscrew init lists the scopes to tick. - `CNTB_OAUTH2_*` Contabo, instead of Hetzner Four values: the client ID and secret, your login email and an API password, from Account → Security in Contabo’s Customer Control Panel. [The four values](https://docs.opscrew.dev/contabo/#the-credentials) - `CLOUDFLARE_API_TOKEN` Cloudflare, for your domain Create it in your Cloudflare profile’s API tokens, with the zone permissions the guide lists. [The permissions](https://docs.opscrew.dev/security/#the-cloudflare-token) - `GITHUB_TOKEN` [GitHub](https://github.com/) Log in once with the GitHub CLI (gh auth login), or create a fine-grained token for this repository only. [The permissions](https://docs.opscrew.dev/security/#the-github-token) - `ANTHROPIC_API_KEY` Anthropic, optional For the AI steps in the terminal. Claude Code needs no extra key. Set each key in the terminal you run OpsCrew from (or before you start Claude Code) ``` export HCLOUD_TOKEN="your token" # macOS and Linux$env:HCLOUD_TOKEN = "your token" # Windows PowerShell ``` Never paste a key into a chat, Claude Code’s included. OpsCrew’s plugin reads keys only from the environment. ### Step 4: Start OpsCrew Pick the way you like. Both work on the same files in your repository, so you can switch at any point. #### In Claude Code Add OpsCrew’s plugin inside a Claude Code session: ``` /plugin marketplace add opscrew-hub/opscrew /plugin install opscrew@opscrew ``` Then ask Claude to deploy your app. #### In a terminal Open a terminal in your app’s folder and type: ``` npx opscrew init ``` It checks what is installed and which keys are set. Each line marked ✗ says how to fix it. [The steps from there](https://opscrew.dev/#how-it-works) ### Ready when you are. The full command list is in the Quickstart, and every topic has its own page in the docs. [Deploy your first app](https://github.com/opscrew-hub/opscrew#quickstart) [Read the Docs](https://docs.opscrew.dev/) # Pricing: free and open source Source: https://opscrew.dev/pricing/ ## Free Core, Hosted Plans The CLI and plugin are free and open source; the hosted plans run at app.opscrew.dev. - ### Free $0 for 1 project, no card needed Includes: 1 project Guided start for your first app Deploys and approvals Credential vault Uptime check with email alerts The last 10 deploys [Start free](https://app.opscrew.dev/start?plan=free) - ### Pro 14¢ 17¢/day $4.16 /mo · $49.90 /year $4.99 /mo Everything in Free, plus: 5 projects, then $2 each Scheduled drift and security checks Spend and domain alerts, Slack and Discord Full deploy history and rollback [Start free trial](https://app.opscrew.dev/start?plan=pro&interval=year) [Start free trial](https://app.opscrew.dev/start?plan=pro&interval=month) - ### Team 80¢ 97¢/day $24.17 /mo · $290 /year $29 /mo Everything in Pro, plus: 5 seats, then $5 each 20 projects, then $2 each Roles Shared approvals Audit log Environments in the dashboard [Start free trial](https://app.opscrew.dev/start?plan=team&interval=year) [Start free trial](https://app.opscrew.dev/start?plan=team&interval=month) - ### Agency / Enterprise Custom by contract Everything in Team, plus: Single sign-on (SSO) White-label for client work Self-hosted option SLA [Talk to us](mailto:hello@opscrew.dev) Pro and Team start with a 14-day free trial that needs a card; cancel before it ends and you pay nothing. Billed per period, not per day, in US dollars plus VAT. Cancel any time; a paid period isn't refunded after its first 14 days. [Terms of Service](https://opscrew.dev/terms/) · [Refund policy](https://opscrew.dev/refunds/) ### Inside the Hosted Dashboard The real dashboard with a sample workspace: watch it click through, or pick a screen. The overview lists what needs you, each item with the button that deals with it. Each alert says where it went (email, [Slack](https://slack.com/) or [Discord](https://discord.com/)), and any member can snooze it for a week. A project's page follows the open environment: what it runs, each cost with its dates, and its uptime. Drift is checked every 6 hours and the repository scanned nightly; Plan a fix makes a plan that undoes a drift. On Team, a prod plan needs two people to approve it, and whoever asked for it can't be one of them. Spend shows what has run up so far beside each forecast, marked ~, across your workspaces and against your budget. ### What you pay, and to whom - ### A cloud server From about €6 a month, excl. VAT. Your provider bills you. - ### A server you already have Nothing new to pay. - ### Cloudflare or GitHub Pages Nothing for static files. - ### A domain About $10 a year, passed on at cost. Nothing for one you already own. - ### An AI model Optional. Reading your app with a model costs a few cents; without one, nothing. - ### GitHub Actions Deploys and the scheduled check run in [GitHub Actions](https://github.com/features/actions): free in a public repository, part of your plan's minutes in a private one. ### Put OpsCrew to work on your app. Run npx opscrew init in your app's repository. It checks your tools and tokens first, for free. [Deploy your first app](https://github.com/opscrew-hub/opscrew#quickstart) [Read the Docs](https://docs.opscrew.dev/) # Support Source: https://opscrew.dev/support/ ## Support How to reach us, and where to look first. ### Write to us For the hosted plans, your account, billing or anything else, write to [hello@opscrew.dev](mailto:hello@opscrew.dev). It helps to include: - your workspace's name and the repository of the project it is about; - what you did, what you expected, and what happened instead; - the error's exact words or a screenshot. Never send a token, a password or another secret: we never need one. ### Payments and refunds [Paddle](https://www.paddle.com/), our reseller, handles payments, invoices and refunds. Write to us, or contact Paddle through the link in the receipt it emailed you. Refunds follow the [refund policy](https://opscrew.dev/refunds/). ### The open-source CLI and plugin The [documentation](https://docs.opscrew.dev/) covers every command and step. Ask a question or report a bug in [the issues on GitHub](https://github.com/opscrew-hub/opscrew/issues), where others can find the answer too. ### Security problems If you find a vulnerability in OpsCrew, write to [hello@opscrew.dev](mailto:hello@opscrew.dev) instead of opening a public issue, so it can be fixed before it is known. # Own server vs Vercel, Heroku, Render, Railway Source: https://opscrew.dev/compare/own-server-vs-hosting-platform/ ## Your own server, or a hosting platform? Your app on a server you own with OpsCrew, or on a managed platform such as [Vercel](https://vercel.com/), [Heroku](https://www.heroku.com/), [Render](https://render.com/) or [Railway](https://railway.com/). Platform prices checked on 6 November 2026. [Easy setup](https://opscrew.dev/setup/) [See the pricing](https://opscrew.dev/pricing/) ### The short answer #### A hosting platform is the better choice when - You never want a server to look after, not even through an assistant - Your traffic jumps without warning, and the app must scale out on its own - You rely on a platform’s own features, such as Vercel running [Next.js](https://nextjs.org/) as functions - Your project is personal and fits a free tier - You need a support contract or an uptime SLA from your host #### Your own server with OpsCrew is the better choice when - Your app has several parts, such as a worker, cron jobs, a database and a cache, that can share one server’s price - You want a flat monthly bill that you saw before you approved it - You want the servers and the data on your own account - You want the whole setup as files you can read, change and take elsewhere - You already pay for a server, a NAS or a [Portainer](https://www.portainer.io/) OpsCrew is alpha software. It is tested live on [Hetzner Cloud](https://www.hetzner.com/cloud), [Contabo](https://contabo.com/), a server you already own and an existing Portainer; expect breaking changes before 1.0. ### Side by side | Topic | Your own server, with OpsCrew | A hosting platform | | --- | --- | --- | | What you control | A server in your own account, in the region you pick: your languages, your database, workers and cron jobs side by side. | What the platform offers: its runtimes, its add-ons and its regions. | | Leaving later | Everything is a plain file in your repository: infrastructure code, workflows and a runbook. Delete OpsCrew and the deployment keeps working, and OpsCrew can move a live app to another provider with its data. | Your code usually moves easily. The platform’s own settings, functions and add-ons are what you rebuild elsewhere. | | Your effort | About ten minutes to set up, plus your review. After that, each change is a pull request or a plan you approve, and the server installs security updates by itself. | Connect the repository and push. The platform runs and patches the servers for you. | | Security | OpsCrew hardens the server (key-only SSH, a firewall, fail2ban) and checks it again whenever you ask. The account and its keys are yours to guard. | The platform secures and patches its machines. Your app, its settings and its secrets stay yours to get right. | | Growing | Your app runs on one server per environment, and a service can get a server of its own. A bigger server is a plan you approve. Nothing scales out on its own. | More instances with a setting, and on some plans automatically. | | Database backups | Hetzner’s and [DigitalOcean](https://www.digitalocean.com/)’s server backups, at their price. On a server you already have, backups are yours to set up. | Depends on the database plan you pick. | | Help when stuck | The docs, [GitHub](https://github.com/) issues, and your provider’s support for the server. OpsCrew is open source and in alpha. | The platform’s own support, with paid tiers and, on some plans, an SLA. | ### What it costs From each platform’s own pricing page, checked on 6 November 2026, in US dollars. Hetzner’s prices are in euros, excluding VAT. Prices change: check the sources before you decide. #### The smallest always-on web service and database | Where | Web service | Database | A month | | --- | --- | --- | --- | | Heroku | Basic, 0.5 GB: $7 | Essential-0, 1 GB disk: $5 | $12 | | Render | Starter, 512 MB: $7 | 256 MB: $6, plus storage | $13 plus storage | | Your own server, as OpsCrew sized its test app | Hetzner cx33: 4 vCPUs, 8 GB, 80 GB of disk, shared by both | On the same server, with server backups | €10.69 | For the smallest app, the bill alone is close, and a platform includes the upkeep. The difference is size and what comes next: €10.69 (€8.49 for the server, €0.50 for its IPv4 address, €1.70 for backups) buys 8 GB of memory for the web app and its database together, against 512 MB for the web service on a platform. Each further part, such as a worker, cron jobs or a cache, is another line on a platform’s bill; on your server it costs nothing extra until the server is full. Hetzner’s cheapest types are sometimes out of stock. On 3 November 2026 they were, in the locations OpsCrew priced, and the same test app came to €23.89 a month on another type. A smaller app fits Hetzner's smallest server (2 CPUs, 4 GB RAM), from about €6 a month. OpsCrew shows the live price before you approve anything. - ### Heroku - Eco dynos: $5 a month; they sleep after 30 minutes without traffic - Basic dyno: $7 a month, 0.5 GB of memory - Standard-1X: $25 a month, 0.5 GB; Standard-2X: $50 a month, 1 GB - Postgres Essential-0: $5 a month, 1 GB of disk, 20 connections - ### Render - Workspace: Hobby $0, Pro $25 a month, plus compute - Free web services stop after 15 minutes without traffic and take about a minute to start again; free Postgres databases expire after 30 days - Starter web service: $7 a month, 0.5 CPU, 512 MB; Standard: $25 a month, 1 CPU, 2 GB - Postgres: from $6 a month with 256 MB of memory, $19 with 1 GB, plus $0.30 per GB of storage - ### Railway - Hobby: $5 a month, which includes $5 of usage - Pro: $20 a month per workspace, which includes $20 of usage - Beyond that, about $10 per GB of memory and $20 per vCPU a month, $0.15 per GB of volume storage, and $0.05 per GB sent out [Vercel’s plans](https://opscrew.dev/compare/own-server-vs-vercel/#cost-title) ### Sources, checked on 6 November 2026 - [Heroku pricing](https://www.heroku.com/pricing) - [Render pricing](https://render.com/pricing) - [Railway pricing](https://railway.com/pricing) - [Render’s free instances](https://render.com/docs/free) - Hetzner’s prices as OpsCrew read them on 3 November 2026, from [Hetzner Cloud](https://www.hetzner.com/cloud) ### Try your own server, with the price shown first. Run npx opscrew init in your app’s repository. Nothing is created until you approve a plan and its monthly cost. [Deploy your first app](https://github.com/opscrew-hub/opscrew#quickstart) [Read the Docs](https://docs.opscrew.dev/) # Own server vs Vercel: Hobby and Pro compared Source: https://opscrew.dev/compare/own-server-vs-vercel/ ## Your own server, or Vercel? An app with a database and workers on a server you own with OpsCrew, against [Vercel](https://vercel.com/). Vercel’s facts checked on its own pages on 6 November 2026. [Easy setup](https://opscrew.dev/setup/) [See the pricing](https://opscrew.dev/pricing/) ### The short answer #### Vercel is the better choice when - Your app is mostly a [Next.js](https://nextjs.org/) front end: Next.js is maintained by Vercel, and Vercel’s network caches pages in every region - Your project is personal and non-commercial, and fits the free Hobby plan - Your traffic is small or comes in bursts, and you would rather pay for use than for a server sitting idle - You want a preview of every deployment, with comments and sign-in protection built in - You never want to think about a server #### Your own server with OpsCrew is the better choice when - Your project is commercial and small: Hobby is for personal, non-commercial use only, and Pro starts at $20 a month - Your app needs a database: on your server it runs beside the app at no extra cost; on Vercel it comes from a Marketplace provider - You run workers or long jobs: on your server they are containers that run as long as they need - You want a monthly server price that you saw before you approved it - You want the whole setup as files in your repository that you can take elsewhere OpsCrew is alpha software. It is tested live on [Hetzner Cloud](https://www.hetzner.com/cloud), [Contabo](https://contabo.com/), a server you already own and an existing [Portainer](https://www.portainer.io/); expect breaking changes before 1.0. ### Side by side | Topic | Your own server, with OpsCrew | Vercel | | --- | --- | --- | | Going over | Your app is not paused for using its server. The scheduled check opens an issue when the app is down or its disk fills up, and advise proposes a bigger server for you to approve. | On Hobby, in most cases you wait until 30 days have passed before you can use that feature again. On Pro, usage past the credit is billed; Vercel tells you at 75% of the credit, and its spend notifications start at $200 by default. | | Database | [PostgreSQL](https://www.postgresql.org/), [MySQL](https://www.mysql.com/), [MariaDB](https://mariadb.org/), [MongoDB](https://www.mongodb.com/) or [SQLite](https://www.sqlite.org/) on your server, beside the app, or the hosted database you already use. | Vercel’s own storage is Blob for files and Global Config for settings. Databases come through the Vercel Marketplace, from providers such as [Neon](https://neon.com/), [Upstash](https://upstash.com/) and [Supabase](https://supabase.com/). | | Background work | Workers and cron jobs from your app’s own image, as containers on the server. | Functions run up to 300 seconds on Hobby and by default on Pro, where they can be set to 800. For longer work Vercel offers Daemons and Queues. | | Next.js | Deploys it too: OpsCrew makes the changes Next.js needs itself (standalone output and a health route). | Next.js is maintained by Vercel. | | Previews | A copy of the app for each pull request, at its own address, on a small server of its own. | Preview deployments, with comments and Vercel Authentication to protect them. | | Logs | opscrew logs shows the app’s lines from the server, and opscrew status what runs with its CPU, memory and disk. | Runtime logs: 1 hour on Hobby, 1 day on Pro. | | Leaving later | Plain files in your repository. Delete OpsCrew and the deployment keeps working. | Your code moves. Vercel’s own services, such as Blob and Global Config, are what you replace elsewhere. | ### What it costs Vercel’s plans as its own pages describe them on 6 November 2026, in US dollars, excluding taxes. Hetzner’s prices in euros, excluding VAT, as OpsCrew read them on 3 November 2026. - ### Vercel Hobby, free - Personal, non-commercial use only - 200 projects and 100 deployments a day - Included each month: 100 GB of Fast Data Transfer, 1,000,000 CDN requests and 1,000,000 function invocations - 4 CPU-hours of active CPU and 360 GB-hours of provisioned memory - ### Vercel Pro, $20 a month - One deploying seat and a $20 usage credit that expires each month - Further deploying seats $20 a month each; viewer seats free - 1,000,000 CDN requests and 1 TB of data transfer a month included - Add-ons such as password protection at $20 a month per project - ### Your own server, with OpsCrew - OpsCrew: free - A small Hetzner server from about €6 a month, excl. VAT - The test app’s Next.js site and PostgreSQL on one server with backups: €10.69 a month - Workers, cron jobs and a cache on the same server at no extra cost until it is full A site with no server side at all has a third way: OpsCrew can host it on [Cloudflare](https://www.cloudflare.com/), free for static files, or on [GitHub Pages](https://pages.github.com/) for a public repository. ### Sources, checked on 6 November 2026 - [Vercel pricing](https://vercel.com/pricing) - [Vercel’s Hobby plan](https://vercel.com/docs/plans/hobby) - [Vercel’s Pro plan](https://vercel.com/docs/plans/pro-plan) - [Vercel storage](https://vercel.com/docs/storage) - [Vercel Daemons](https://vercel.com/kb/guide/vercel-daemons) - [Next.js](https://nextjs.org/) - Hetzner’s prices as OpsCrew read them on 3 November 2026, from [Hetzner Cloud](https://www.hetzner.com/cloud) ### Put your Next.js app on a server you own. Run npx opscrew init in your app’s repository. Nothing is created until you approve a plan and its monthly cost. [Deploy your first app](https://github.com/opscrew-hub/opscrew#quickstart) [Read the Docs](https://docs.opscrew.dev/) # OpsCrew vs Coolify and Dokploy: agents or a panel Source: https://opscrew.dev/compare/opscrew-vs-coolify-and-dokploy/ ## OpsCrew, or Coolify and Dokploy? [Coolify](https://coolify.io/) and [Dokploy](https://dokploy.com/) are open-source panels you run from a dashboard. OpsCrew is a crew of AI agents that writes plain files into your repository and asks before each change. Their facts checked on their own sites on 6 November 2026. [Easy setup](https://opscrew.dev/setup/) [How the AI works](https://opscrew.dev/ai/) ### The short answer #### Coolify or Dokploy is the better choice when - You want a web dashboard that shows all your apps, databases and servers in one place - You want ready-made services in a few clicks: Coolify lists over 360 one-click services, Dokploy open-source templates - You want a dashboard with a [Bitbucket](https://bitbucket.org/) webhook, which Coolify documents - You want a tool with years of releases and hundreds of contributors today, not an alpha - You run many apps across several servers and want one place to watch them #### OpsCrew is the better choice when - You would rather have no panel to install, update and secure: OpsCrew runs on your computer and deploys run in [GitHub Actions](https://github.com/features/actions) - You want every change as a plan or a pull request that you approve, with the plan bound to its hash - You want the server created for you too, from [OpenTofu](https://opentofu.org/) or [Terraform](https://developer.hashicorp.com/terraform) code in your repository - You want the server hardened and checked again on demand - You want an assistant that explains each step and its price, in a terminal or in [Claude Code](https://claude.com/product/claude-code) - You want a free scan for leaked keys and exposed [Supabase](https://supabase.com/) or [Firebase](https://firebase.google.com/) data OpsCrew is alpha software. It is tested live on [Hetzner Cloud](https://www.hetzner.com/cloud), [Contabo](https://contabo.com/), a server you already own and an existing [Portainer](https://www.portainer.io/); expect breaking changes before 1.0. ### Coolify vs Dokploy for a Compose app Try Coolify if you want to keep the Compose file in Git and use branch deploys or pull request previews for that application. Its Compose build pack takes the file from your repository and uses the health checks in your service definitions.[Coolify’s Compose guide](https://coolify.io/docs/docs/applications/builds/docker-compose). Try Dokploy if you want to set each service’s domain in the dashboard and inspect the Compose configuration it will deploy. Its Preview Compose view shows the labels Dokploy generates for [Traefik](https://traefik.io/traefik/). [Dokploy’s domain guide](https://docs.dokploy.com/docs/core/docker-compose/domains). Test either with the same app and a disposable hostname. Check that the public route reaches the right service, a new release keeps data in the intended volume, and you can restore that volume before moving production traffic. ### Side by side | Topic | OpsCrew | Coolify and Dokploy | | --- | --- | --- | | Getting started | Run one command in your app’s repository and answer a few questions. In OpsCrew’s own test, a first deploy took about ten minutes, plus the time to review. | Install the panel (or sign up for their cloud), connect your servers and your repository, then set your apps up in the dashboard. | | Your servers | Creates them at Hetzner Cloud or [DigitalOcean](https://www.digitalocean.com/) from a plan you approve, or uses a server or a Portainer you already have. | Connect servers you already have. Coolify deploys to any server it reaches over SSH; its cloud plan asks you to bring your own servers. | | On the server | Your app’s containers, [Docker](https://www.docker.com/), [Caddy](https://caddyserver.com/) or [nginx](https://nginx.org/) in front, and a small proxy that switches versions without downtime. No OpsCrew dashboard runs there. | Your apps, and the panel itself when you host it. Dokploy fronts apps with Traefik, whose settings you edit in its file editor. | | Leaving later | Everything OpsCrew wrote stays in your repository as plain files. Delete OpsCrew and the deployment keeps working. | Coolify saves all its settings on your own servers, so in its words you keep oversight if you stop using it. Dokploy’s site does not say. | | Hardening | A deploy user with key-only SSH, a firewall, fail2ban and automatic security updates, then the secure, verify and drift checks whenever you ask. | Their sites list free certificates (Coolify, from [Let’s Encrypt](https://letsencrypt.org/)) and, on Dokploy’s paid plans, two-factor sign-in. Neither home page lists hardening the server itself. | | Previews | Each pull request gets its own copy at its own address, on a small server of its own, removed when the pull request closes. | Coolify deploys new commits and pull requests separately. Dokploy’s home page does not list previews. | | Backups | Hetzner’s and DigitalOcean’s server backups at their price, plus a database snapshot before each release outside prod. | Coolify backs databases up to any S3-compatible storage. Dokploy backs up databases and volumes; its Hobby plan includes one backup per database. | | AI | Built around it: AI agents that read your app, price the options and prepare the changes. A model is optional. | Coolify has an MCP server, so [Claude](https://claude.com/), [Cursor](https://cursor.com/) or another MCP client can list, deploy and troubleshoot through it. | | Maturity | Alpha. First released on 23 October 2026. | Coolify’s repository started in January 2021 and lists 412 contributors; Dokploy’s started in April 2024 and lists 390. Both released new versions this month. | ### What it costs From each project’s own pricing page, checked on 6 November 2026, in US dollars. In every case your servers are billed by your provider. - ### OpsCrew - Free and open source (Apache 2.0) - [Hosted plans from $4.99 a month](https://opscrew.dev/pricing/) - You pay your provider for the servers - ### Coolify - Self-hosted: free forever, with every feature - Cloud: $5 a month with 2 servers connected, then $3 a month per extra server - On Cloud you bring your own servers - ### Dokploy - Self-hosted and open source - Hobby: $4.50 a month per server, with 1 user and 2 environments - Startup: from $15 a month for up to 3 servers, then $4.50 a month per extra server - Enterprise on request; 20% off when billed yearly ### Sources, checked on 6 November 2026 - [Coolify](https://coolify.io/) - [Coolify pricing](https://coolify.io/pricing) - [Dokploy](https://dokploy.com/) - [Dokploy pricing](https://dokploy.com/pricing) - Repository figures read on 7 November 2026: [Coolify on GitHub](https://github.com/coollabsio/coolify) - [Dokploy on GitHub](https://github.com/Dokploy/dokploy) ### Try it on one app, with the plan shown first. Run npx opscrew init in your app’s repository. Nothing is created until you approve a plan and its monthly cost. [Deploy your first app](https://github.com/opscrew-hub/opscrew#quickstart) [Read the Docs](https://docs.opscrew.dev/) # DevOps freelancer cost and when to hire Source: https://opscrew.dev/compare/opscrew-vs-hiring-a-devops-freelancer/ ## OpsCrew, or a DevOps freelancer? A freelancer brings judgment, custom work and someone to call. OpsCrew brings plans you approve, files you own and checks you can rerun, for free. [Easy setup](https://opscrew.dev/setup/) [How the AI works](https://opscrew.dev/ai/) ### The short answer #### A DevOps freelancer is the better choice when - Your setup is unusual: [Kubernetes](https://kubernetes.io/), several regions, compliance rules, or an old system to move - You need judgment on trade-offs that no fixed rule covers, and someone to explain them to your team - You want someone on call who fixes things in the night, not only an alert - You need a provider, managed service or deployment layout outside OpsCrew’s supported targets - The work is inside your app: slow queries, its architecture, its code #### OpsCrew is the better choice when - Your app has a common shape: a web app with a database, workers and cron jobs - You want to approve every change yourself, as a plan bound to its hash or a pull request - You want every file in your repository, readable by whoever comes next - You want checks you can rerun at any hour, for free - You can operate the app yourself with the free CLI and pay your own infrastructure and service bills OpsCrew is alpha software. It is tested live on [Hetzner Cloud](https://www.hetzner.com/cloud), [Contabo](https://contabo.com/), a server you already own and an existing [Portainer](https://www.portainer.io/); expect breaking changes before 1.0. ### What does a DevOps freelancer cost? Budget for the initial setup and the ongoing work separately. The rate depends on the person, the job and the coverage you agree on. > “When you hire DevOps engineers through Arc, they typically charge between $60-100+/hour (USD).” [Arc, hiring DevOps engineers](https://arc.dev/hire-developers/devops), read on 29 November 2026 For one small app, suppose setup takes eight hours and routine upkeep takes two hours a month. That is 32 hours in the first year. At $60 an hour, labor is $1,920. At $100, it is $3,200. These are example hours and rates. Infrastructure, incident response and on-call coverage are separate costs. With the [free OpsCrew CLI](https://opscrew.dev/pricing/), budget for your infrastructure and your team's time to review releases and respond to incidents. A freelancer can also review OpsCrew's plans and files or pick up jobs that need custom work. ### Side by side | Topic | OpsCrew | A DevOps freelancer | | --- | --- | --- | | What you get | A known set of jobs done the same way each time: the server, your domain and HTTPS, deploys, hardening and checks. | A person who can do whatever they know how to, including what OpsCrew does not. | | Judgment | Fixed rules, with a model where judgment helps: reading your app and changing its code. It asks you what it cannot tell. | Experience with situations no rule covers, and advice you can talk through. | | Your approval | Every change is a plan you see first, with its cost and its hash, or a pull request you merge. | Whatever you agree with them. | | What you keep | Plain files in your repository: infrastructure code, workflows, reports and a runbook. | What they write down and hand over. | | Doing it again | Run any check again, at any hour, for free: the scan, secure, verify and drift. | Another booking, at their rate. | | At night | The scheduled check opens a [GitHub](https://github.com/) issue and can message [Slack](https://slack.com/), [Discord](https://discord.com/) or [ntfy](https://ntfy.sh/). Fixing it is up to you, with a rollback in one command. | If they are on call, they fix it. | | Your keys | They stay in your own environment. Nothing is sent to OpsCrew. | They need access to your accounts while they work. | ### Sources, checked on 29 November 2026 - [Arc: hire DevOps engineers](https://arc.dev/hire-developers/devops) ### Do the routine part yourself, with every step approved. Run npx opscrew init in your app’s repository. Nothing is created until you approve a plan and its monthly cost. [Deploy your first app](https://github.com/opscrew-hub/opscrew#quickstart) [Read the Docs](https://docs.opscrew.dev/) # AI DevOps agents compared: what each one actually does Source: https://opscrew.dev/blog/ai-devops-agents-compared/ Published 2026-11-25, by Mihailo Popović AWS DevOps Agent, Azure SRE Agent, GitHub Copilot's cloud agent, GitLab Duo Agent Platform, Harness AI, Claude Code, HolmesGPT, K8sGPT and OpsCrew, from their own documentation: what each does, whether it changes things, its published price on 11 November 2026, and who it suits. ## TL;DR - There is no single best AI agent for DevOps: the right one depends on where your infrastructure and pipelines live, and how much you want the agent to change on its own. - Cloud vendors' agents ([AWS](https://aws.amazon.com/) DevOps Agent, [Azure](https://azure.microsoft.com/) SRE Agent) investigate incidents in their cloud and are billed by use; Azure's can apply mitigations when you configure it to. - Git platforms' agents ([GitHub](https://github.com/) Copilot's cloud agent, [GitLab](https://about.gitlab.com/) Duo Agent Platform) deliver changes as branches or merge requests for review, and Harness's DevOps Agent builds pipelines inside Harness. - [Claude Code](https://claude.com/product/claude-code) is a general coding agent with strong permission controls, HolmesGPT (any stack) and K8sGPT ([Kubernetes](https://kubernetes.io/)) are open-source investigators, and OpsCrew, free and open source, takes a repository to a hardened deployment on your own cloud with every change approved by its hash. If you are looking for the best AI agent for DevOps, the honest answer is that it depends on where your infrastructure lives and how much you want an agent to change on its own. Below are nine agents, each described only from its own documentation, pricing page or repository, read on 11 November 2026; prices change, so check them before you buy. We have not benchmarked any of them, so there are no rankings or scores. This comparison belongs to [the guide to AI DevOps agents for small teams](https://opscrew.dev/blog/ai-devops-agents-for-small-teams/). ## The nine at a glance | Agent | What it does, per its docs | Changes things? | Published price | Suits | | --- | --- | --- | --- | --- | | AWS DevOps Agent | Investigates incidents, finds root causes, proposes mitigations and prevention; reviews and tests releases (preview) | Investigates and recommends; the pages we read describe no step where it changes your resources | $0.0083 per agent-second | Teams running on AWS with observability in place | | Azure SRE Agent | Investigates incidents, proposes mitigations, runs scheduled checks | Yes, in Autonomous mode; Review mode needs an admin's approval | Azure Agent Units: 4 per agent-hour plus usage | Teams on Azure who want fixes applied under governance they configure | | GitHub Copilot cloud agent | Works on a task in a [GitHub Actions](https://github.com/features/actions) environment and opens a pull request | Pushes to its own branch only; cannot merge | Included from Copilot Pro, $10 per user a month | Teams on GitHub | | GitLab Duo Agent Platform | Agents and flows across the lifecycle, including fixing failing CI/CD pipelines | Edits files and pushes commits in its flows | Premium $29 per user a month (annual) with included credits | Teams on GitLab Premium or Ultimate whose pain is failing pipelines | | Harness AI DevOps Agent | Creates and manages pipelines, stages, steps, services and environments in Harness | Shows YAML; you select Create or Accept | Harness Free plan $0; paid plans by quote | Teams on Harness | | Claude Code | General coding agent: reads code, edits files, runs commands | Yes, within its permission mode and rules | Included from [Claude](https://claude.com/) Pro, $20 a month | Any stack, for writing and reviewing infra code | | HolmesGPT | Open-source agent that investigates incidents and finds root causes, on any stack | Read-only access by design; optional toolsets can act | Free (Apache 2.0); you pay your model provider | Observability-heavy setups, on Kubernetes or elsewhere | | K8sGPT | Scans Kubernetes clusters, explains problems in plain English | Analyses and explains | Free (Apache 2.0); you pay your model provider, or run a local model | Kubernetes clusters | | OpsCrew | Deploys an app from a GitHub repository to a hardened server on your own cloud, then checks it | Only through plans you approve by their hash | Free (open source); you pay your server provider | Small apps on their own server | ## Cloud vendors' operations agents ### AWS DevOps Agent **What it does.** AWS describes it as "your always-available teammate". After a deployment it "autonomously investigates incidents, provides root cause analysis and mitigation steps", and it gives "targeted recommendations to reduce recurring issues". It [became generally available on 31 March 2026](https://aws.amazon.com/about-aws/whats-new/2026/03/aws-devops-agent-generally-available/). Before a deployment, its release management, in preview, "reviews code for release readiness and runs autonomous release testing". [Its FAQ lists built-in integrations](https://aws.amazon.com/devops-agent/faqs/) with Amazon CloudWatch, Dynatrace and Datadog, with GitHub, GitLab and Azure DevOps for code and pipelines, with [Slack](https://slack.com/), ServiceNow and PagerDuty, and with private or remote MCP servers. Through those integrations it works across AWS, other clouds (Azure through Microsoft Entra ID) and on-premises systems. **What it may touch.** An Agent Space "defines the scope of what AWS DevOps Agent can access", through IAM roles and tool integrations. All agent activity is recorded in AWS CloudTrail in the hosting account. The pages we read describe investigations, recommendations and release reviews and tests; they do not describe the agent changing your resources, or an approval step before it would. **Price.** [$0.0083 per agent-second](https://aws.amazon.com/devops-agent/pricing/) for investigations, evaluations and on-demand SRE tasks, billed for the time the agent actively works, with no charge while it is idle or waiting. At that rate, ten eight-minute investigations in a month cost $39.84. New customers get a two-month free trial with monthly limits (up to 10 agent spaces, 20 hours of investigations, 15 hours of evaluations and 20 hours of on-demand tasks per month). Services it queries, such as CloudWatch Logs Insights, are billed separately. ### Azure SRE Agent **What it does.** [Microsoft's overview](https://learn.microsoft.com/en-us/azure/sre-agent/overview) (updated 28 October 2026) says it "gathers context, identifies probable causes, and suggests or, when configured, executes mitigations". It handles alerts from Azure Monitor, PagerDuty and ServiceNow, correlates them with deployments in GitHub or Azure DevOps, runs scheduled health checks, and answers questions such as "what changed in the last hour?". It can be extended with skills, custom agents, Python tools, MCP servers and hooks. **What it may touch.** It authenticates with a managed identity under Azure role-based access control. Each tool can be set to allow, ask or deny. Whether it applies a mitigation depends on the run mode: "In Review mode, an SRE Agent Administrator approves the write actions that require approval before the agent runs them. In Autonomous mode, the agent applies them without waiting." **Price.** [Billed in Azure Agent Units](https://learn.microsoft.com/en-us/azure/sre-agent/pricing-billing) (AAUs): a fixed 4 AAUs per agent-hour for as long as the agent exists, plus "active flow" AAUs computed from the tokens each task uses, at rates that depend on the model you choose. For the price of an AAU in your region, Microsoft points to the Azure pricing calculator. You can cap active flow per month; the always-on charge continues until the agent is deleted. New customers can evaluate it with the always-on cost waived. ## Agents in your Git platform ### GitHub Copilot cloud agent **What it does.** You assign a task, and Copilot works on it in a GitHub Actions environment and opens a pull request. For ops work, that covers workflows, Dockerfiles and infrastructure code in the repository. **What it may touch.** [GitHub's risks and mitigations page](https://docs.github.com/en/copilot/concepts/security-governance-and-network-settings/risks-and-mitigations) lists the limits: only users with write access can trigger it; it pushes to a single branch (a new `copilot/` branch, or the branch of the pull request it was asked to work on); it "cannot approve or merge a pull request", and the person who asked for the pull request cannot approve it either; by default, workflows do not run on its changes until someone with write access approves them; its internet access is restricted by a firewall; and hidden characters such as HTML comments are filtered out of issues and comments before it sees them. **Price.** [GitHub's plans page](https://github.com/features/copilot/plans) lists the agent as included in Copilot Pro ($10 per user a month), Pro+ ($39) and Max ($100), and not in Copilot Free. ### GitLab Duo Agent Platform **What it does.** [GitLab describes it](https://docs.gitlab.com/user/duo_agent_platform/) as "an AI-native solution that embeds multiple intelligent assistants" across the software lifecycle. For operations, the relevant parts are the Fix CI/CD Pipeline Flow ("Diagnose and automatically fix failing CI/CD pipelines"), the Security Analyst Agent (Ultimate only), and Agentic Chat, which can "autonomously create and edit files". It became generally available in GitLab 18.8, on GitLab.com, GitLab Self-Managed and GitLab Dedicated. **What it may touch.** Its flows edit files and push commits (merge conflict resolution, for example, can "push a resolution commit"). Using it locally needs the Developer, Maintainer or Owner role. Tool-level approval policies that "gate sensitive agent actions with human approval at execution time", and an AI audit event report, are listed among its beta or experimental features. **Price.** Its features consume GitLab Credits. [GitLab Premium costs $29 per user a month](https://about.gitlab.com/pricing/), billed annually, and includes $12 of credits per user a month on GitLab.com as a promotional offer; Ultimate is priced by quote and includes $24. Extra credits cost $1 each. ### Harness AI DevOps Agent **What it does.** [Harness's AI overview](https://developer.harness.io/harness-platform/use-harness-ai/harness-ai) lists it as generally available and describes it as an "agentic AI assistant that creates and manages pipelines, stages, steps, services, environments, connectors, and secrets through natural language prompts", inside the Harness UI. It also analyses pipeline failures and recommends fixes, and can generate OPA policies. **What it may touch.** [Before anything is applied you see it](https://developer.harness.io/harness-platform/use-harness-ai/core-capabilities/in-harness-ui/devops-agent): for new resources you "preview the complete YAML" and select Create; for a pipeline fix you see the updated YAML and select Accept. Using it requires Harness AI to be enabled and RBAC permission to create and manage pipelines in your project. **Price.** [Harness's pricing page](https://www.harness.io/pricing) lists a Free plan at $0 and Essentials and Enterprise plans by quote; it does not say how Harness AI is priced or which plans include it. ## General coding agents ### Claude Code **What it does.** [Anthropic](https://www.anthropic.com/)'s agentic coding tool reads your codebase, edits files and runs commands. Not built for operations specifically, it writes and reviews infrastructure code, CI workflows and configuration, investigates with read-only commands, connects to tools through MCP, runs skills, and runs headless in CI. **What it may touch.** Whatever its session can reach, within its permission mode and rules. [Manual mode asks before edits](https://code.claude.com/docs/en/permission-modes) and before most shell commands; an interactive terminal session starts in auto mode (v2.1.283 or later), where a classifier reviews actions and, by default, blocks some, such as production deploys and `terraform destroy`; Anthropic warns that auto mode "does not guarantee safety". [Claude Code for DevOps](https://opscrew.dev/blog/claude-code-for-devops/) covers the controls, with a tested setup. **Price.** [Included in Claude Pro](https://claude.com/pricing) ($20 a month billed monthly, $17 billed annually), Max ($100), Ultra ($200) and Team plans; not in Free. ## Open-source investigators ### HolmesGPT **What it does.** "Open-source AI agent for investigating production incidents and finding root causes." [Its repository says it works with any stack](https://github.com/HolmesGPT/holmesgpt): Kubernetes, VMs, cloud providers, databases and SaaS platforms. It queries live observability data through toolsets for Kubernetes, the major clouds, Prometheus, Grafana, Datadog, Loki and many more, and can run in the background to report problems. It was originally created by Robusta.Dev, with major contributions from Microsoft, is a CNCF sandbox project and is licensed under Apache 2.0. It works with OpenAI, Anthropic, Azure, Bedrock, Gemini and other model providers. **What it may touch.** Its repository says that "by design" it has "read-only access" and respects RBAC permissions. Some optional integrations can act: a Kubernetes remediation toolset can scale or roll back, and the GitHub integration can open pull requests. **Price.** The software is free; you pay the model provider you configure. ### K8sGPT **What it does.** A tool that scans Kubernetes clusters, diagnoses and triages issues, and explains them in plain English, using built-in analysers that are mostly on by default. It works with OpenAI, Azure, Cohere, Amazon Bedrock, Google Gemini and local models such as Ollama and LocalAI. It [joined the CNCF as a sandbox project](https://www.cncf.io/projects/k8sgpt/) on 19 December 2023 and is licensed under Apache 2.0. **What it may touch.** It analyses and explains. Its `--anonymize` flag masks data such as object names and labels before they reach the AI backend; [the repository notes](https://github.com/k8sgpt-ai/k8sgpt) that events and some analysers are not masked. **Price.** Free; you pay your model provider, or nothing beyond your hardware with a local model. ## OpsCrew **What it does.** OpsCrew, the open-source tool this blog belongs to, is a crew of AI agents that takes an app from a GitHub repository to a hardened production deployment on your own cloud: a new server on [Hetzner Cloud](https://www.hetzner.com/cloud) or [DigitalOcean](https://www.digitalocean.com/), [a server you already have](https://docs.opscrew.dev/own-server/), a [Portainer](https://www.portainer.io/) you run, or [Cloudflare](https://www.cloudflare.com/)'s or GitHub's hosting for sites that need no server. It reads your app, proposes setups with their monthly cost, creates the server, sets up your domain, HTTPS and deploys from GitHub Actions, and keeps checking it afterwards ([how it works](https://opscrew.dev/#how-it-works)). **What it may touch.** Only what a plan you approved says. Every change is a plan you see first, with its cost and SHA-256 hash, and your approval is bound to that hash. Two of its eight agents can use a model, and they send parts of your code, never a key or a password ([how the AI works](https://opscrew.dev/ai/)). In Claude Code, its plugin's tools wait for your approval in a dialog that Claude cannot answer ([the plugin](https://docs.opscrew.dev/claude-code-plugin/)). **Price.** Free and open source. You pay your provider for the server; the AI steps use your own Claude access, or run without a model with `--no-ai`. **Suits:** small teams and solo developers putting one or a few apps on their own servers. It is narrower than the agents above: it does not investigate arbitrary incidents across a large estate, and on 11 November 2026 it does not support AWS, [Google Cloud](https://cloud.google.com/) or Azure ([OpsCrew vs hiring a DevOps freelancer](https://opscrew.dev/compare/opscrew-vs-hiring-a-devops-freelancer/) lists what it does not do). If you are comparing it with self-hosted platforms rather than agents, see [OpsCrew vs Coolify and Dokploy](https://opscrew.dev/compare/opscrew-vs-coolify-and-dokploy/) and [self-hosted PaaS compared](https://opscrew.dev/blog/self-hosted-paas/). ## How to choose the best AI agent for DevOps for your team 1. **Where does production run?** AWS or Azure points to their agents; your own servers or a mix points elsewhere. 2. **Where do code and pipelines live?** GitHub, GitLab or Harness each have an agent that works inside them. 3. **What should the agent change?** If the answer is "nothing without my review", prefer agents that deliver pull requests, merge requests or plans you approve. If you want autonomy, check that the agent has run modes, tool-level approvals and an audit log. 4. **With whose credentials?** Managed identities, IAM roles and narrow tokens are better than a personal admin key. [Is it safe to let AI run commands on your server?](https://opscrew.dev/blog/is-it-safe-to-let-ai-run-server-commands/) explains why. 5. **How is it billed?** Per agent-second, per token-based unit, per seat with credits, or free software plus your own model bill. Estimate a month of your real use before you commit. For a small team, agents that deliver changes as reviewable code are usually the safest start, and a read-only investigator a good second step. [The guide to AI DevOps agents for small teams](https://opscrew.dev/blog/ai-devops-agents-for-small-teams/) explains why, and [do you need a DevOps engineer for a small app?](https://opscrew.dev/blog/do-you-need-a-devops-engineer/) when you might still want a person. ## Key facts | Fact | Value | Source | | --- | --- | --- | | AWS DevOps Agent | 0.0083 USD per agent-second Investigations, evaluations and on-demand SRE tasks; about $0.50 a minute of agent work. Generally available since 31 March 2026. | [AWS DevOps Agent pricing](https://aws.amazon.com/devops-agent/pricing/) Verified on 11 November 2026 | | Azure SRE Agent always-on charge | 4 Azure Agent Units per agent-hour, plus active flow metered from tokens Microsoft points to the Azure pricing calculator for the price of an AAU in your region. | [Pricing and billing for Azure SRE Agent](https://learn.microsoft.com/en-us/azure/sre-agent/pricing-billing) Verified on 11 November 2026 | | GitHub Copilot Pro (includes the cloud agent) | 10 USD per user per month Not included in Copilot Free. | [GitHub Copilot plans](https://github.com/features/copilot/plans) Verified on 11 November 2026 | | GitLab Premium | 29 USD per user per month, billed annually Includes $12 of GitLab Credits per user per month for AI features, a promotional offer on GitLab.com; on-demand credits $1 each. | [GitLab pricing](https://about.gitlab.com/pricing/) Verified on 11 November 2026 | | Claude Pro (includes Claude Code) | 20 USD per month, billed monthly$17 a month billed annually. | [Claude pricing](https://claude.com/pricing) Verified on 11 November 2026 | | K8sGPT | 2023-12-19 Accepted to the CNCF at the Sandbox maturity level. | [CNCF, K8sGPT](https://www.cncf.io/projects/k8sgpt/) Verified on 11 November 2026 | ## Frequently asked questions **Is there an open-source DevOps AI agent?** Yes. HolmesGPT investigates production incidents, K8sGPT explains problems in Kubernetes clusters (both Apache 2.0 and CNCF sandbox projects), and OpsCrew deploys apps to your own cloud. All of them use a model you configure and pay for separately. **Can these agents change my infrastructure on their own?** Some can, when you configure them to: Azure SRE Agent in Autonomous mode, Claude Code with broad permissions, HolmesGPT with its optional remediation toolset. GitHub's and GitLab's agents deliver changes as branches for review, Harness's DevOps Agent shows YAML you accept, and OpsCrew applies only plans you approve by their hash. ## Sources 1. [AWS DevOps Agent pricing](https://aws.amazon.com/devops-agent/pricing/), Amazon Web Services, accessed on 11 November 2026 2. [AWS DevOps Agent FAQs](https://aws.amazon.com/devops-agent/faqs/), Amazon Web Services, accessed on 11 November 2026 3. [AWS DevOps Agent is now generally available](https://aws.amazon.com/about-aws/whats-new/2026/03/aws-devops-agent-generally-available/), Amazon Web Services, accessed on 11 November 2026 4. [Overview of Azure SRE Agent](https://learn.microsoft.com/en-us/azure/sre-agent/overview), Microsoft, accessed on 11 November 2026 5. [Pricing and billing for Azure SRE Agent](https://learn.microsoft.com/en-us/azure/sre-agent/pricing-billing), Microsoft, accessed on 11 November 2026 6. [Risks and mitigations for GitHub Copilot cloud agent](https://docs.github.com/en/copilot/concepts/security-governance-and-network-settings/risks-and-mitigations), GitHub, accessed on 11 November 2026 7. [GitHub Copilot plans](https://github.com/features/copilot/plans), GitHub, accessed on 11 November 2026 8. [GitLab Duo Agent Platform](https://docs.gitlab.com/user/duo_agent_platform/), GitLab, accessed on 11 November 2026 9. [GitLab pricing](https://about.gitlab.com/pricing/), GitLab, accessed on 11 November 2026 10. [Overview of Harness AI](https://developer.harness.io/harness-platform/use-harness-ai/harness-ai), Harness, accessed on 11 November 2026 11. [Harness AI DevOps Agent](https://developer.harness.io/harness-platform/use-harness-ai/core-capabilities/in-harness-ui/devops-agent), Harness, accessed on 11 November 2026 12. [Harness pricing](https://www.harness.io/pricing), Harness, accessed on 11 November 2026 13. [Claude Code, Permission modes](https://code.claude.com/docs/en/permission-modes), Anthropic, accessed on 11 November 2026 14. [Claude pricing](https://claude.com/pricing), Anthropic, accessed on 11 November 2026 15. [HolmesGPT repository](https://github.com/HolmesGPT/holmesgpt), HolmesGPT (CNCF), accessed on 11 November 2026 16. [K8sGPT repository](https://github.com/k8sgpt-ai/k8sgpt), K8sGPT (CNCF), accessed on 11 November 2026 17. [K8sGPT project page](https://www.cncf.io/projects/k8sgpt/), Cloud Native Computing Foundation, accessed on 11 November 2026 # AI DevOps agents for small teams: what they can do safely Source: https://opscrew.dev/blog/ai-devops-agents-for-small-teams/ Published 2026-11-25, by Mihailo Popović What an AI agent for DevOps does well for a team without an ops person, where it goes wrong, and the rules that let it work on real infrastructure: read-only first, reviewed changes, approvals bound to what you reviewed, narrow credentials, no secrets in the chat. ## TL;DR - An AI agent for DevOps is a language model that can use tools (a shell, your cloud's API, Git, your CI) in a loop to do operations work, not only answer questions about it. - For a small team it is most useful for writing Dockerfiles, CI workflows and infrastructure code, reading logs and investigating incidents. - The risk is in what it may change: destructive commands, secrets reaching the model or logs, prompt injection from content it reads, credentials broader than the task, and changes nobody reviewed. - The safe pattern: the agent proposes, you review a plan or a pull request, your approval covers exactly that, and CI or the IaC tool applies it with narrow, short-lived credentials. An AI agent for DevOps is a language model that can use tools, such as a shell, your cloud's API, Git and your CI, to do operations work rather than only talk about it. For a small team without an ops person it is useful, and what makes it safe or dangerous is not the model but what it is allowed to change. Product facts below come from each vendor's own documentation, checked on 11 November 2026. ## What an AI agent for DevOps is A chatbot answers. An agent acts. [Anthropic](https://www.anthropic.com/) describes [Claude Code](https://claude.com/product/claude-code) as a tool that "reads your codebase, edits files, runs commands, and integrates with your development tools"; [AWS](https://aws.amazon.com/) describes its DevOps Agent as a teammate that "autonomously investigates incidents, provides root cause analysis and mitigation steps". Both describe the same loop: the model chooses a tool, runs it, reads the result and decides what to do next, until the task is done or it needs you. The word "agent" covers several kinds of product today: - **Coding agents** that you run in your terminal, your editor or a cloud sandbox: Claude Code, [GitHub](https://github.com/) Copilot's cloud agent and others. They are general-purpose, so they do ops work when you point them at it: a Compose file, a [Terraform](https://developer.hashicorp.com/terraform) module, a failing workflow. - **Cloud vendors' operations agents**: AWS DevOps Agent and [Azure](https://azure.microsoft.com/) SRE Agent connect to your monitoring, your incidents and your code, investigate problems and propose mitigations. - **Agents inside a delivery platform**: Harness's DevOps Agent builds pipelines in Harness; [GitLab](https://about.gitlab.com/) Duo Agent Platform has a flow that fixes failing CI/CD pipelines. - **Open-source investigators**: HolmesGPT, which looks into incidents on any stack, and K8sGPT, which explains problems in [Kubernetes](https://kubernetes.io/) clusters. - **Deploy tools built around agents**, such as OpsCrew, where agents do a fixed job (from your repository to a hardened server) inside approvals the tool enforces. What each one actually does, what it costs and who it suits is in [AI DevOps agents compared](https://opscrew.dev/blog/ai-devops-agents-compared/). ## What AI agents do well for a small team Agents help most with work that is tedious, well documented and easy to check. | Work | What the agent does | Risk if it gets it wrong | How you check it | | --- | --- | --- | --- | | Deployment files | Writes a Dockerfile, a Compose file, a reverse proxy config | Low until deployed | Review the pull request; build it in CI | | CI/CD | Writes or fixes a [GitHub Actions](https://github.com/features/actions) or GitLab CI workflow | Medium: workflows hold secrets | Review the diff, especially triggers and permissions | | Infrastructure code | Drafts Terraform or [OpenTofu](https://opentofu.org/) for a server, DNS, a firewall | High once applied | Read the plan before anything is applied | | Investigation | Reads logs, metrics and recent changes; suggests a cause | Low if read-only | Check its evidence, not only its conclusion | | Upkeep | Proposes dependency and image updates, flags expiring certificates | Low to medium | CI tests and a staging deploy | | Changes on a live server | Runs commands over SSH | High: no review, no undo | Avoid; turn it into code instead | | Documentation | Writes a runbook from what it set up | Low | Follow it once yourself | The closer the agent's output is to a reviewable file, the safer and more useful it is; the closer it is to a command on a live system, the more it depends on you catching a mistake in a prompt dialog. So the strongest use for a small team is not "an agent that runs production" but "an agent that writes the production setup as code, and keeps reading it afterwards". If you are deploying an app you built with an AI tool, [the guide to deploying an AI-built app to your own server](https://opscrew.dev/blog/deploy-ai-built-app-to-your-own-server/) and [how to deploy a web app to a VPS](https://opscrew.dev/blog/deploy-web-app-to-a-vps/) show what that code looks like. ## What goes wrong Most of these risks appear in [OWASP's Top 10 for LLM applications](https://genai.owasp.org/llm-top-10/) (2025 edition), and the agent vendors' own security pages describe the controls against them. 1. **Destructive or wrong actions.** OWASP calls this [Excessive Agency (LLM06)](https://genai.owasp.org/llmrisk/llm062025-excessive-agency/): an agent with more functionality, permissions or autonomy than its task needs can do damage when its output is wrong or manipulated. In ops terms: `terraform destroy`, `docker volume prune`, a `DROP TABLE`, a firewall rule that locks you out. 2. **Secrets reaching the model or the logs.** Whatever the agent reads goes into its context: a `.env` file, a `terraform.tfstate`, the output of `env`. OWASP lists Sensitive Information Disclosure as LLM02. 3. **Prompt injection.** An agent that reads a README, an issue, a web page or a log line can be steered by instructions hidden in it. [OWASP's LLM01](https://genai.owasp.org/llmrisk/llm01-prompt-injection/) calls this indirect prompt injection, and [Anthropic's security page](https://code.claude.com/docs/en/security) lists safeguards against it while warning that "no system is completely immune to all attacks". 4. **Credentials broader than the task.** A root SSH key, a cloud token that can delete every server, a classic GitHub token that reaches every repository. Whatever the agent can do with them, a mistake or an injection can do too. 5. **Changes nobody reviewed.** A fix typed on the server at night works, and six weeks later nobody knows it exists. The next deploy overwrites it, or it becomes the one thing nobody dares to touch. There is also cost. OWASP's LLM10 is Unbounded Consumption, and the vendors' agents are billed by use: AWS DevOps Agent, for example, at [$0.0083 per agent-second of work](https://aws.amazon.com/devops-agent/pricing/), as listed on 11 November 2026. Cap what an agent may spend, as you would cap any other metered service. [Is it safe to let AI run commands on your server?](https://opscrew.dev/blog/is-it-safe-to-let-ai-run-server-commands/) goes through each risk in depth, with the controls that contain it. ## Six rules for letting an agent near your infrastructure These rules come from OWASP's mitigations, the cloud providers' guidance on least privilege and the controls agent vendors document. They work with any agent. ### 1. Read-only by default Most of an agent's value in operations is reading: logs, metrics, configuration, recent commits. Give it that first. [HolmesGPT, for example, says](https://github.com/HolmesGPT/holmesgpt) that by design it has "read-only access" and respects your RBAC permissions. [Claude Code's plan mode](https://code.claude.com/docs/en/permission-modes) has [Claude](https://claude.com/) read files and run commands to explore, "but does not edit your source"; in a session where auto mode is available, a classifier rather than you approves those commands, so plan mode is a way of working, not a read-only credential. An agent that can only read can still be wrong, but it cannot break anything. ### 2. Changes as code, reviewed before they apply Have the agent write each change as code: a pull request for the app and its workflows, an infrastructure plan for servers, DNS and firewalls. Terraform's `plan -out` [saves exactly what would change](https://developer.hashicorp.com/terraform/cli/commands/plan), and [`terraform apply` with that file](https://developer.hashicorp.com/terraform/cli/commands/apply) "performs the operations in the saved plan without prompting you for confirmation", so the plan you read is the plan that runs. HashiCorp also advises that you "always re-check the final non-speculative plan before applying". The agent vendors converge on the same idea. GitHub's Copilot cloud agent [pushes to a single branch](https://docs.github.com/en/copilot/concepts/security-governance-and-network-settings/risks-and-mitigations) and "cannot approve or merge a pull request"; by default, workflows on its changes do not run until someone with write access approves them. [Azure SRE Agent's Review mode](https://learn.microsoft.com/en-us/azure/sre-agent/overview) has an administrator approve write actions before the agent runs them. ### 3. Approvals bound to exactly what was reviewed "Yes, go ahead" in a chat is an approval of whatever the agent does next. Approving a saved plan file, or a plan's hash, is an approval of that change and nothing else: if the plan changes, the approval no longer fits. Merging a reviewed pull request is the same idea for code. ### 4. Narrow, short-lived credentials, and none for the agent itself [AWS's IAM guidance](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html) says to "grant only the permissions required to perform a task" and to have workloads use temporary credentials instead of long-lived keys. GitHub Actions can request "a short-lived access token directly from the cloud provider" [through OpenID Connect](https://docs.github.com/en/actions/concepts/security/openid-connect), valid for one job. GitHub recommends [fine-grained personal access tokens](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens), limited to specific repositories, over classic ones. For an agent, the best credential is often none. If it writes a pull request and CI applies it, the production credentials live in CI, scoped to the job, and never enter the agent's session. ### 5. Secrets stay out of the context Do not paste tokens into a chat, and do not let the agent read files that hold them. Claude Code, for example, [supports deny rules](https://code.claude.com/docs/en/permissions) such as `Read(./.env)`; [Claude Code for DevOps](https://opscrew.dev/blog/claude-code-for-devops/) shows a tested setup. Put secrets where your platform keeps them (GitHub's encrypted secrets, your cloud's secret store) and have the code read them at run time. ### 6. Sandboxes, allow-lists and a record Run agents where a mistake stays small: [Claude Code's sandbox](https://code.claude.com/docs/en/sandboxing) limits which files and network hosts its shell commands can reach, and for more isolation Anthropic suggests running Claude Code itself in a container, a virtual machine or its sandbox runtime. Allow-lists and deny rules cut down prompts for routine commands, but Anthropic notes that a Bash rule matches the command text and "isn't a security boundary around the program". And keep a record: Git history for changes, and the audit logs the platforms offer (AWS DevOps Agent's activity is captured by CloudTrail, for example). ## A ladder for adopting one A small team can climb in steps and stop at the one that fits. 1. **Ask.** Paste an error (without secrets) and get an explanation. No access at all. 2. **Read.** Let the agent read the repository, logs and metrics, through read-only tools or a read-only token. Good for investigations. 3. **Write code.** The agent opens pull requests: Dockerfiles, workflows, infrastructure code. You review and merge; CI deploys. 4. **Apply through plans.** The agent prepares an infrastructure change; you approve the exact plan; the tool applies that plan and nothing else. 5. **Act on its own.** The agent applies some changes without asking, inside limits: a vendor's autonomous mode, or an allow-list of commands. For a small team without anyone watching, this step needs the most caution and the narrowest scope. Most small teams get most of the value at steps 2 to 4. ## Where Claude Code fits Many small teams already have a capable agent: the coding agent they use for the app. Claude Code can write the deployment, run commands with your approval, connect to tools through MCP, run skills and run unattended in CI, and it has the controls the rules above need: permission modes, allow and deny rules, hooks that can block a command before it runs, and a sandbox. [Claude Code for DevOps](https://opscrew.dev/blog/claude-code-for-devops/) covers each from Anthropic's documentation, with a hook we tested that refuses infrastructure-changing commands. To get an app Claude Code built online, see [Claude Code built your app. Here is how to put it online](https://opscrew.dev/blog/deploy-claude-code-app/). ## Do you still need a person? For one app on one server, often not full-time. Someone still has to own production: decide what matters, approve changes, answer when it breaks at night and test that backups restore. An agent can do much of the routine work and none of the accountability. [Do you need a DevOps engineer for a small app?](https://opscrew.dev/blog/do-you-need-a-devops-engineer/) walks through what a small production app needs, what can be automated, and when to hire. If you are weighing outside help, [OpsCrew vs hiring a DevOps freelancer](https://opscrew.dev/compare/opscrew-vs-hiring-a-devops-freelancer/) compares the two. ## How OpsCrew applies these rules OpsCrew, the open-source tool this blog belongs to, is a crew of AI agents that takes an app from a GitHub repository to a hardened production deployment on your own cloud. Its documentation describes how it follows the rules above: - **Every change is a plan you approve by its hash.** OpsCrew shows the plan with its cost and its SHA-256 hash, and your approval is bound to that hash, so a plan that changes needs a new approval ([how the AI works](https://opscrew.dev/ai/)). Removing a server or an app asks you to type its name. - **No secret goes to the model.** The AI steps send parts of your code, never a key or a password, and no secret goes into a plan, a log, a report or a pull request ([security](https://docs.opscrew.dev/security/)). - **A model only where judgment helps.** Two of its eight agents can use a model (reading your app, and changing its code in a pull request); the other six follow fixed rules, and with `--no-ai` its analyze and adapt steps call no model at all. - **Typed tools, not a shell.** In Claude Code, OpsCrew's plugin gives the agent tools that never call a model, and each tool that changes something waits for your approval in a dialog that Claude cannot answer for you ([the plugin](https://docs.opscrew.dev/claude-code-plugin/)). Its log and advice tools only read: `opscrew logs` runs fixed, read-only [Docker](https://www.docker.com/) commands, and `opscrew advise` changes nothing until you apply a proposal through an approved plan ([advice](https://docs.opscrew.dev/advise/)). - **Narrow tokens.** The guide lists the exact permissions each token needs, such as a fine-grained GitHub token for one repository ([security](https://docs.opscrew.dev/security/)). [How it works](https://opscrew.dev/#how-it-works) shows the steps from repository to live site. It is free; you pay your provider for the server. ## Key facts | Fact | Value | Source | | --- | --- | --- | | OWASP risk for agents that can take damaging actions | LLM06:2025 Excessive Agency (excessive functionality, permissions or autonomy) | [OWASP Top 10 for LLM Applications, LLM06:2025 Excessive Agency](https://genai.owasp.org/llmrisk/llm062025-excessive-agency/) Verified on 11 November 2026 | | Claude Code's starting permission mode in a terminal | Auto (a classifier reviews actions) from v2.1.283; `claude -p` starts in Manual from v2.1.302 Anthropic: auto mode reduces prompts but does not guarantee safety. | [Claude Code, Permission modes](https://code.claude.com/docs/en/permission-modes) Verified on 11 November 2026 | | AWS DevOps Agent price | 0.0083 USD per agent-second Investigations, evaluations and on-demand SRE tasks; billed per second of agent work. | [AWS DevOps Agent pricing](https://aws.amazon.com/devops-agent/pricing/) Verified on 11 November 2026 | ## Frequently asked questions **What is a DevOps agent?** An AI agent that does operations work by using tools: it reads your repository, logs and metrics, runs commands or API calls, and writes changes such as configuration, infrastructure code or a fix. Vendors use the name for different things, from AWS's incident investigator to coding agents that open pull requests. **Is it safe to give an AI agent SSH access to a server?** Only with limits: a user without root where possible, approval before each command, no secrets in the session, and ideally a sandbox or a tool that runs fixed, read-only commands. Changes are safer as code applied by CI than as commands typed by the agent on the server. ## Sources 1. [OWASP Top 10 for LLM Applications 2025](https://genai.owasp.org/llm-top-10/), OWASP Gen AI Security Project, accessed on 11 November 2026 2. [LLM06:2025 Excessive Agency](https://genai.owasp.org/llmrisk/llm062025-excessive-agency/), OWASP Gen AI Security Project, accessed on 11 November 2026 3. [LLM01:2025 Prompt Injection](https://genai.owasp.org/llmrisk/llm01-prompt-injection/), OWASP Gen AI Security Project, accessed on 11 November 2026 4. [Claude Code, Security](https://code.claude.com/docs/en/security), Anthropic, accessed on 11 November 2026 5. [Claude Code, Permission modes](https://code.claude.com/docs/en/permission-modes), Anthropic, accessed on 11 November 2026 6. [Claude Code, Configure permissions](https://code.claude.com/docs/en/permissions), Anthropic, accessed on 11 November 2026 7. [Claude Code, Sandboxing](https://code.claude.com/docs/en/sandboxing), Anthropic, accessed on 11 November 2026 8. [Security best practices in IAM](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html), Amazon Web Services, accessed on 11 November 2026 9. [OpenID Connect in GitHub Actions](https://docs.github.com/en/actions/concepts/security/openid-connect), GitHub, accessed on 11 November 2026 10. [Managing your personal access tokens](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens), GitHub, accessed on 11 November 2026 11. [terraform plan command](https://developer.hashicorp.com/terraform/cli/commands/plan), HashiCorp, accessed on 11 November 2026 12. [terraform apply command](https://developer.hashicorp.com/terraform/cli/commands/apply), HashiCorp, accessed on 11 November 2026 13. [AWS DevOps Agent pricing](https://aws.amazon.com/devops-agent/pricing/), Amazon Web Services, accessed on 11 November 2026 14. [Overview of Azure SRE Agent](https://learn.microsoft.com/en-us/azure/sre-agent/overview), Microsoft, accessed on 11 November 2026 15. [Risks and mitigations for GitHub Copilot cloud agent](https://docs.github.com/en/copilot/concepts/security-governance-and-network-settings/risks-and-mitigations), GitHub, accessed on 11 November 2026 16. [HolmesGPT repository](https://github.com/HolmesGPT/holmesgpt), HolmesGPT (CNCF), accessed on 11 November 2026 # Claude Code for DevOps: skills, MCP and approvals Source: https://opscrew.dev/blog/claude-code-for-devops/ Published 2026-11-25, by Mihailo Popović What Claude Code offers for operations work per Anthropic's docs (permission modes, rules, hooks, the sandbox, skills, MCP, plugins, CI), with a tested setup that stops it changing infrastructure and a read-only triage skill. ## TL;DR - [Claude Code](https://claude.com/product/claude-code) is a general coding agent, but its controls make it usable for ops work: permission modes, allow, ask and deny rules, hooks that run before each tool call, an OS-level sandbox, skills, MCP servers, plugins and a headless mode for CI. - Since v2.1.283 an interactive terminal session starts in auto mode, where a classifier reviews actions, and `claude -p` starts in Manual mode (v2.1.302 or later); [Anthropic](https://www.anthropic.com/) says auto mode does not guarantee safety. - Deny rules match the command's text: in our test with Claude Code 2.1.316, a deny rule for `terraform apply` did not stop `terraform -chdir=infra apply`, but a `PreToolUse` hook that read the whole command blocked it. - A skill turns a runbook into a command: set `disable-model-invocation` for anything with side effects, and remember that `allowed-tools` grants permissions rather than restricting them. Claude Code is a general coding agent, but it has the controls that operations work needs. Used with them, it is a capable DevOps assistant for a small team; used without them, it is a shell with your credentials. Below is each control from Anthropic's documentation, and a small setup we tested: rules and a hook that stop it from changing infrastructure, and a read-only triage skill. It is part of [the guide to AI DevOps agents for small teams](https://opscrew.dev/blog/ai-devops-agents-for-small-teams/). The documentation was read at code.claude.com on 11 November 2026, and the examples were run with Claude Code 2.1.316 that day. To get an app Claude Code built online, read [Claude Code built your app. Here is how to put it online](https://opscrew.dev/blog/deploy-claude-code-app/) instead. ## What Claude Code offers for DevOps work | Feature | What it does | Ops use | Docs page | | --- | --- | --- | --- | | Permission modes | Decide which actions run without asking | Plan mode for investigating, Manual for anything near production | Permission modes | | Allow, ask and deny rules | Pre-approve, force a prompt or block a tool or command | Block reading `.env`, ask before `ssh` | Configure permissions | | Hooks | Run your command at points such as before each tool call; can block it | Refuse infrastructure-changing commands | Hooks reference | | Sandbox | OS-level limits on files and network hosts for shell commands | Investigate untrusted repositories safely | Sandboxing | | Skills | `SKILL.md` instructions you run as `/name` | Runbooks: triage, release checks | Skills | | MCP servers | Give [Claude](https://claude.com/) new tools from other programs | Read monitoring data, query a ticket system | MCP | | Plugins | Package skills, agents, hooks and MCP servers as one unit | Share the team's ops setup | Plugins | | Headless mode | `claude -p` for scripts and CI | Review a diff, triage a failed job | Run Claude Code programmatically | | [GitHub Actions](https://github.com/features/actions) | `anthropics/claude-code-action@v1` in workflows | `@claude` on issues and pull requests | Claude Code GitHub Actions | Claude Code reads `~/.claude/settings.json` (you, every project), `.claude/settings.json` (the project; commit it so teammates get it), `.claude/settings.local.json` (you, this project) and managed settings an organisation deploys, which override the rest. List settings such as `permissions.allow` [merge across files instead of replacing each other](https://code.claude.com/docs/en/settings). ## Permission modes | Mode | What it does | | --- | --- | | `default` (Manual) | Asks before file edits and before shell commands outside a built-in read-only set such as `ls`, `cat` and `git status` | | `acceptEdits` | Accepts file edits and common filesystem commands in the working directory without asking | | `plan` | Reads files and explores, writes a plan, does not edit your source | | `auto` | A background classifier reviews actions instead of you | | `dontAsk` | Denies every call that would otherwise prompt; pre-approved tools still run | | `bypassPermissions` | Skips prompts except for a few actions no mode auto-approves | Two facts matter for ops work: - **The starting mode.** With Claude Code v2.1.283 or later, an interactive terminal or VS Code session starts in **auto** mode. From v2.1.302, `claude -p` and the Agent SDK start in **default** (Manual), where any call that would need your approval is denied unless a rule, a hook or a flag approves it. You can set `defaultMode` in your settings, and an organisation can turn auto or bypass mode off with `permissions.disableAutoMode` or `permissions.disableBypassPermissionsMode`. - **What auto mode is and is not.** Its classifier blocks some actions by default, including production deploys and migrations, mass deletion on cloud storage, force pushes, `terraform destroy` and granting IAM or repository permissions. [Anthropic's own warning](https://code.claude.com/docs/en/permission-modes): "Auto mode reduces permission prompts but does not guarantee safety. Use it for tasks where you trust the general direction, not as a replacement for review on sensitive operations." For `bypassPermissions`, Anthropic says to use it "only in isolated environments like containers, VMs, or dev containers without internet access, where Claude Code cannot damage your host system". A practical split for a small team: **plan** mode when you ask "why is production slow?", so Claude reads and reports; **Manual** when the session can reach anything that matters; auto for local work on code you will review anyway. ## Permission rules Rules have the form `Tool` or `Tool(specifier)` and go in three lists: `allow` runs without asking, `ask` always prompts, `deny` blocks. [Claude Code evaluates them in order](https://code.claude.com/docs/en/permissions), deny first, then ask, then allow, and the first match wins, so an allow rule cannot carve an exception out of a deny rule. MCP tools are matched as `mcp____`. Three details are easy to miss: - **`Read` deny rules protect secrets.** `Read(./.env)` stops Claude's file tools, and file commands Claude Code recognises in Bash such as `cat` and `tail`, from reading the file. It does not stop a script that opens the file itself. - **Bash rules match text.** Anthropic is explicit that a Bash rule "isn't a security boundary around the program": `Bash(rm *)` stops `rm -rf build/` but not `/bin/rm -rf build/` or `bash -c 'rm -rf build/'`. - **Project allow rules wait for trust.** `permissions.allow` rules in a committed `.claude/settings.json` apply only after each person trusts the folder; deny and ask rules apply at once. A `claude -p` run never shows the trust dialog, so in a folder nobody has trusted these rules do not apply at all. We saw this in our headless test runs with Claude Code 2.1.316: its warning began "Ignoring 3 permissions.allow entries from .claude/settings.json: this workspace has not been trusted." ## A tested setup: rules and a hook that refuse infrastructure changes This setup keeps Claude Code from reading secret files and from applying infrastructure changes itself, while letting it format and validate infrastructure code. The idea is that changes go through a pull request and CI, as described in [the safety article](https://opscrew.dev/blog/is-it-safe-to-let-ai-run-server-commands/). ### 1. The rules Save this as `.claude/settings.json` in your repository: ```json { "permissions": { "deny": [ "Read(./.env)", "Read(./.env.*)", "Read(./**/*.tfstate)", "Read(~/.ssh/**)", "Read(~/.aws/**)", "Bash(terraform apply *)", "Bash(terraform destroy *)", "Bash(tofu apply *)", "Bash(tofu destroy *)" ], "ask": ["Bash(ssh *)", "Bash(scp *)", "Bash(git push *)", "Bash(kubectl *)"], "allow": ["Bash(terraform fmt *)", "Bash(terraform validate)", "Bash(docker compose config)"] }, "hooks": { "PreToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "node", "args": ["${CLAUDE_PROJECT_DIR}/.claude/hooks/guard-infra.mjs"] } ] } ] } } ``` The hook entry uses the exec form (`command` plus `args`), which Anthropic recommends for any hook that references a path placeholder: with no shell involved, the path needs no quoting on any platform. `${CLAUDE_PROJECT_DIR}` is the project root where the session started. ### 2. The hook A `PreToolUse` hook [receives the tool call as JSON on stdin](https://code.claude.com/docs/en/hooks) (the command is in `tool_input.command`); printing `"permissionDecision": "deny"` blocks the call and shows the reason to Claude. Save this as `.claude/hooks/guard-infra.mjs`: ```js // PreToolUse hook for Claude Code: refuses shell commands that change infrastructure. // Claude Code passes the tool call as JSON on stdin; printing a "deny" decision blocks it. import { readFileSync } from "node:fs"; const input = JSON.parse(readFileSync(0, "utf8")); const command = String(input.tool_input?.command ?? ""); const changesInfrastructure = [ /\b(terraform|tofu)\b.*\b(apply|destroy|import|taint)\b/, /\b(terraform|tofu)\b.*\bstate\s+(rm|mv|push)\b/, /\bkubectl\b.*\b(apply|create|delete|drain|patch|replace|scale)\b/, /\bhelm\b.*\b(install|upgrade|uninstall|rollback)\b/, /\bdocker\b.*\b(system|volume|image|container)\s+prune\b/, /\bdocker\s+compose\b.*\bdown\b.*(\s-v\b|--volumes)/, /\b(hcloud|doctl)\b.*\b(delete|rebuild|reset)\b/, ]; if (changesInfrastructure.some((pattern) => pattern.test(command))) { console.log( JSON.stringify({ hookSpecificOutput: { hookEventName: "PreToolUse", permissionDecision: "deny", permissionDecisionReason: "This command changes infrastructure. Write the change as code and open a pull request; CI applies it after review.", }, }), ); } ``` A hook that prints nothing has no decision, and the call goes on through the normal permission flow; Anthropic notes that "staying silent doesn't approve it". A deny from the hook blocks the call even when an allow rule matches it, so you could allow all Bash commands and block only these. By default, a hook that fails (the script is missing, `node` is not on the `PATH`, the script crashes) is a non-blocking error, and the command runs. Adding `"onFailure": "block"` next to `"args"` (Claude Code v2.1.295 or later) makes a failed guard block the call instead. We did not use it in the runs below. ### 3. Test it without Claude A destructive command prints a deny decision; a safe one prints nothing: ```bash echo '{"tool_name":"Bash","tool_input":{"command":"tofu destroy"}}' | node .claude/hooks/guard-infra.mjs echo '{"tool_name":"Bash","tool_input":{"command":"terraform plan"}}' | node .claude/hooks/guard-infra.mjs ``` We ran these commands through it in a `node:22` container ([Node.js](https://nodejs.org/) 22.23.4). It denied `terraform -chdir=infra apply -auto-approve`, `terraform apply tfplan`, `/usr/bin/terraform apply`, `sh -c 'terraform apply'`, `tofu destroy`, `kubectl -n prod delete deployment web`, `helm upgrade web ./chart`, `docker compose down -v`, `docker system prune -af` and `hcloud server delete web-1`, and let through `terraform plan -out=tfplan`, `terraform fmt -check`, `kubectl get pods`, `docker compose down` (without `-v`), `docker ps` and `git status`. ### 4. What happened in a real session We ran Claude Code 2.1.316 headless (`claude -p`) in a scratch repository with this setup, allowed the Bash tool on the command line so that only the hook stood in the way, and asked it to run `terraform -chdir=infra apply -auto-approve`. The command never ran: Claude Code refused the call and passed the hook's reason back to Claude. In a second run, with the same rules and the same command-line allowance but without the hook, the deny rule `Bash(terraform apply *)` blocked `terraform apply -auto-approve` but did not match `terraform -chdir=infra apply -auto-approve`, because `-chdir=infra` sits between `terraform` and `apply`. That command went through to the shell and failed only because [Terraform](https://developer.hashicorp.com/terraform) was not installed where the test ran. The hook blocks both forms, because its pattern looks for `apply` anywhere after `terraform` in the whole command. > **Warning** > > A hook like this is a guardrail, not a security boundary. It matches text, so a command written in a form it does not expect (a script that calls `terraform` for you, an alias, an encoded string) gets past it. For limits that do not depend on the command text, Anthropic's permissions page points to the sandbox, which covers file and network access. The boundary that holds best is the one around credentials: if the session has no token that can apply changes, no command can apply them. ## The sandbox Claude Code's sandbox [is enforced by the operating system](https://code.claude.com/docs/en/sandboxing) (Seatbelt on macOS, bubblewrap on Linux and WSL2) around the shell commands Claude runs. It is off by default; turn it on with `/sandbox` or `sandbox.enabled` in settings. By default sandboxed commands can write only to the working directory, a temp directory and folders you add, and they reach the network only through a local proxy whose allowed domains "start empty". Tools that ignore proxy settings, such as plain `ssh` and most database drivers, cannot connect at all. Its limits, from the same page: it covers shell commands only, "Claude's file tools, MCP servers, and hooks run outside it"; reads are allowed on most of the machine, including `~/.ssh` and `~/.aws/credentials`, unless you deny them; and on native Windows commands run unsandboxed, so use WSL2 there. Set `sandbox.failIfUnavailable` to `true` if you want Claude Code to refuse to start rather than run without it, and `allowUnsandboxedCommands` to `false` to remove the escape hatch that retries a failing command outside the sandbox. It is most useful when Claude reads things you do not control: a third-party repository, a vendor's install script, a web page. ## Skills: runbooks as commands A skill is a `SKILL.md` file with a short front matter and instructions, which Claude uses when relevant or you run with `/skill-name`. Project skills live in `.claude/skills//SKILL.md`, so the team shares them through Git. Two front matter fields matter for ops: - **`disable-model-invocation: true`** stops Claude from running the skill on its own. [Anthropic recommends it](https://code.claude.com/docs/en/skills) for "workflows with side effects or that you want to control timing", such as `/commit` and `/deploy`: "You don't want Claude deciding to deploy because your code looks ready." - **`allowed-tools`** pre-approves tools for the turn that runs the skill. It grants permissions; it "does not restrict which tools are available". To remove tools while a skill runs, use `disallowed-tools`. A read-only triage skill for a [Docker](https://www.docker.com/) Compose app; save it as `.claude/skills/triage/SKILL.md`: ```markdown --- name: triage description: Read-only first look at a failing Docker Compose app. Lists the containers, reads recent logs and checks disk space, then proposes a fix as a code change. disable-model-invocation: true allowed-tools: Bash(docker compose ps *) Bash(docker compose logs *) Bash(df -h) --- Investigate without changing anything on this machine. 1. Run `docker compose ps --all` to see which services are running, restarting or exited. 2. For each service that is not running, run `docker compose logs --tail 50 `. 3. Run `df -h` to check free disk space. 4. Report the most likely cause, quoting the log lines that show it. 5. Propose the fix as a change to files in this repository. Do not start, stop, restart, remove or rebuild anything. ``` We tested it with Claude Code 2.1.316 on a Compose service built to fail at start (it printed `Error: DATABASE_URL is not set` and exited). `claude -p "/triage"` ran the three read-only commands, which the skill's `allowed-tools` approved, quoted the log line, pointed out that the service's command prints that error and exits every time and that no `DATABASE_URL` reaches the container, and proposed a change to `compose.yaml` without applying it. > **Important** > > Anthropic's docs point out that workspace trust does not gate `allowed-tools`: a project skill's grants apply even in a `claude -p` run in a folder you never trusted. Review the skills in a repository you clone before you run Claude Code in it, as you would review its scripts. ## MCP servers The Model Context Protocol lets Claude Code use tools from other programs: your monitoring, your ticket system, a cloud API. You add a server with `claude mcp add`, [at one of three scopes](https://code.claude.com/docs/en/mcp): local (the default, you in this project), project (a committed `.mcp.json` the team shares) or user (you, every project). In an interactive session Claude Code asks for approval before it uses servers from a project's `.mcp.json`; a `-p` session does not ask. Three habits keep MCP safe: - **Trust the server first.** [Anthropic's advice](https://code.claude.com/docs/en/security) is to write your own servers or use servers from providers you trust; it "does not security-audit or manage any MCP server", and servers that fetch external content can carry prompt injection. - **Prefer read-only tools.** Allow the read tools of a server with rules such as `mcp__monitoring__query`, and let the tools that change things prompt, or deny them. - **Keep tokens out of the chat.** Pass a server's credentials through its environment (`claude mcp add --env ...`), not in a prompt. ## Plugins A plugin packages skills, agents, hooks and MCP servers as one installable unit, usually from a marketplace: the way to give a whole team the same ops setup. [Anthropic's note applies to every plugin](https://code.claude.com/docs/en/plugins): "what the plugin runs, it runs as you". A plugin's hooks fire at their events and its MCP servers run alongside every session where it is enabled, so review a third-party plugin as you would any software you install. ## Headless runs and CI `claude -p "prompt"` [runs Claude Code without the interactive interface](https://code.claude.com/docs/en/headless), for scripts and CI. The options that matter: - **`--allowedTools`** pre-approves specific tools, for example `"Bash(git diff *),Bash(git log *)"`. - **`--permission-mode dontAsk`** denies everything that would otherwise prompt, which Anthropic calls "useful for locked-down CI runs". - **`--bare`** skips the hooks, skills, plugins, MCP servers and `CLAUDE.md` it would otherwise discover, so a run behaves the same on every machine. Without it, a `-p` run uses the project's hooks and `.mcp.json` servers even in a folder you never trusted. Note that bare mode also skips hooks you pass with `--settings`, so do not rely on a hook there. In [GitHub](https://github.com/), `anthropics/claude-code-action@v1` runs Claude Code in your workflows: it answers `@claude` in issues and pull requests, or runs a prompt or a skill on any event, including a schedule. [Its documentation lists the guardrails](https://code.claude.com/docs/en/github-actions): on issue and pull request events the person who triggers it must have write access to the repository, bot actors are rejected unless you allow them, and you should "grant the workflow only the permissions it needs, and review Claude's changes before merging". With Amazon Bedrock, [Google Cloud](https://cloud.google.com/)'s Agent Platform or Microsoft Foundry it authenticates through OpenID Connect, so no static cloud credentials are stored in the repository. The job that runs Claude should not hold production credentials: let Claude write the pull request, and let a separate deploy job with its own secrets apply the merged result. ## OpsCrew's Claude Code plugin OpsCrew, the open-source tool this blog belongs to, ships a Claude Code plugin built on the same principles. Its MCP server gives Claude tools that never call a model, and every tool that changes something shows its plan, its hash and its cost in a dialog that Claude cannot answer for you; Claude Code also asks your permission before every such call, even in its auto modes. The read-only tools (`opscrew_status`, `opscrew_logs`, `opscrew_advise`) let Claude investigate a running app; tokens are read from the environment you start Claude Code in, and tool results never contain a token or a secret. The [plugin's guide](https://docs.opscrew.dev/claude-code-plugin/) has the details, and [Claude Code built your app](https://opscrew.dev/blog/deploy-claude-code-app/) shows how to install it. ## Where to go next - The risks this setup guards against: [Is it safe to let AI run commands on your server?](https://opscrew.dev/blog/is-it-safe-to-let-ai-run-server-commands/) - How Claude Code compares with agents built for operations: [AI DevOps agents compared](https://opscrew.dev/blog/ai-devops-agents-compared/) - The whole picture for a small team: [the guide to AI DevOps agents for small teams](https://opscrew.dev/blog/ai-devops-agents-for-small-teams/) ## Key facts | Fact | Value | Source | | --- | --- | --- | | Rule evaluation order | deny, then ask, then allow; the first match wins | [Claude Code, Configure permissions](https://code.claude.com/docs/en/permissions) Verified on 11 November 2026 | | Starting permission mode | auto in an interactive terminal or VS Code session (v2.1.283 or later); default (Manual) for `claude -p` (v2.1.302 or later) | [Claude Code, Permission modes](https://code.claude.com/docs/en/permission-modes) Verified on 11 November 2026 | | Sandbox platforms | macOS, Linux and WSL2; on native Windows commands run unsandboxed | [Claude Code, Sandboxing](https://code.claude.com/docs/en/sandboxing) Verified on 11 November 2026 | | Claude Code in paid plans | 20 USD per month (Pro, billed monthly)$17 a month billed annually; Max $100 and Ultra $200 a month also include Claude Code. Free does not. | [Claude pricing](https://claude.com/pricing) Verified on 11 November 2026 | ## Frequently asked questions **Can Claude Code deploy to AWS?** It can run the [AWS](https://aws.amazon.com/) CLI or Terraform if they are installed and logged in on your machine and you approve the commands. A safer pattern is that Claude Code writes the infrastructure code and the deploy workflow, and CI applies them with temporary credentials, for example through GitHub's OpenID Connect integration with AWS. **What is the difference between a skill, a hook and an MCP server?** A skill is instructions in a `SKILL.md` file that Claude follows when you run `/skill-name` or when it decides the skill applies. A hook is a command Claude Code itself runs at a point in its lifecycle, such as before each tool call, and it can block that call. An MCP server is a separate program that gives Claude new tools, such as access to an API. ## Sources 1. [Claude Code, Configure permissions](https://code.claude.com/docs/en/permissions), Anthropic, accessed on 11 November 2026 2. [Claude Code, Permission modes](https://code.claude.com/docs/en/permission-modes), Anthropic, accessed on 11 November 2026 3. [Claude Code, Hooks reference](https://code.claude.com/docs/en/hooks), Anthropic, accessed on 11 November 2026 4. [Claude Code, Sandboxing](https://code.claude.com/docs/en/sandboxing), Anthropic, accessed on 11 November 2026 5. [Claude Code, Skills](https://code.claude.com/docs/en/skills), Anthropic, accessed on 11 November 2026 6. [Claude Code, Connect Claude Code to tools via MCP](https://code.claude.com/docs/en/mcp), Anthropic, accessed on 11 November 2026 7. [Claude Code, Plugins overview](https://code.claude.com/docs/en/plugins), Anthropic, accessed on 11 November 2026 8. [Claude Code, Settings files and precedence](https://code.claude.com/docs/en/settings), Anthropic, accessed on 11 November 2026 9. [Claude Code, Run Claude Code programmatically](https://code.claude.com/docs/en/headless), Anthropic, accessed on 11 November 2026 10. [Claude Code GitHub Actions](https://code.claude.com/docs/en/github-actions), Anthropic, accessed on 11 November 2026 11. [Claude Code, Security](https://code.claude.com/docs/en/security), Anthropic, accessed on 11 November 2026 12. [Claude pricing](https://claude.com/pricing), Anthropic, accessed on 11 November 2026 # Do you need a DevOps engineer for a small app? Source: https://opscrew.dev/blog/do-you-need-a-devops-engineer/ Published 2026-11-25, by Mihailo Popović The DevOps work a small production app needs, what a platform or automation can take over, what still needs a person, what a hire costs per official statistics, and the signs it is time to hire. ## TL;DR - For one small app, usually not full-time: you need the DevOps work done and one person who owns production, which is not the same as a dedicated hire. - Most of the work can be set up once and automated (CI deploys, automatic security updates, scheduled backups, uptime checks), and AI agents can write and review much of the setup. - What still needs a person: deciding trade-offs, approving changes, answering the alert at night, testing restores and handling a security incident. - Hire when the work no longer fits beside your other job: frequent incidents, several services or environments, compliance requirements, or customers who need guarantees. Do you need a DevOps engineer for a small app? Usually not a full-time one. A small production app needs DevOps work, and most of it can be set up once and then automated. What cannot be automated is ownership: one person who decides, approves and responds. You need that person from the first real user. A dedicated hire comes when the work no longer fits beside their other job. This is part of [the guide to AI DevOps agents for small teams](https://opscrew.dev/blog/ai-devops-agents-for-small-teams/). ## What "DevOps" means for a small app For a large company, DevOps is a culture and often a department. For a small app, it is a list of jobs that must be done whether or not anyone has the title: 1. **Deploys.** A change goes from the repository to production the same way every time, ideally from CI, without logging into a server. 2. **The place it runs.** A hosting platform, or a server that is set up, hardened and kept up to date. 3. **HTTPS and DNS.** The domain points at the app, the certificate renews, nothing is served over plain HTTP. 4. **Secrets.** API keys and passwords live in a secret store or the platform's settings, never in the repository. 5. **Data.** The database is backed up, the backups are stored somewhere else, and someone has restored one. 6. **Monitoring.** You find out the app is down before your users tell you, and you can see why. 7. **Updates.** The operating system, the runtime, the dependencies and the images get security fixes. 8. **Incidents.** When it breaks, someone responds, rolls back if needed, and fixes the cause. 9. **Cost.** Someone notices when the bill grows. The first seven are mostly setup plus automation. The last two are mostly judgment. ## What can be automated | Job | What automation does | What remains for a person | | --- | --- | --- | | Deploys | CI builds, tests and deploys on every merge; a rollback is one command or one revert | Reviewing what gets merged | | Server setup | Infrastructure code and a setup script create the same hardened server every time | Choosing the provider, size and region | | HTTPS | A reverse proxy such as [Caddy](https://caddyserver.com/) [gets and renews certificates by itself](https://caddyserver.com/docs/automatic-https) | Fixing DNS when it is wrong | | Security updates | Unattended upgrades install security fixes; a bot proposes dependency updates | Reboots, major upgrades, reading the advisories that matter | | Backups | Scheduled dumps copied off the server | Testing a restore, deciding how much data loss is acceptable | | Monitoring | Uptime checks and disk and memory alerts | Deciding what to alert on, answering the alert | | Secrets | Stored in the CI's or the platform's secret store; rotated by a script | Rotating after a leak, offboarding people | Other articles cover each piece in depth: [deploying a web app to a VPS](https://opscrew.dev/blog/deploy-web-app-to-a-vps/) for the deploy pipeline, [hardening an Ubuntu server](https://opscrew.dev/blog/harden-ubuntu-server/) and [automatic security updates](https://opscrew.dev/blog/automatic-security-updates-ubuntu/) for the server, [backups you can restore](https://opscrew.dev/blog/server-backups-you-can-restore/), and [monitoring a small server](https://opscrew.dev/blog/monitor-a-small-server/). If you built the app with an AI tool, [the production checklist for vibe-coded apps](https://opscrew.dev/blog/vibe-coded-app-production-checklist/) lists what to check before launch. The alternative to doing all this on a server is a hosting platform that does most of it for you, at a higher price per resource and with less control. [Own server or hosting platform](https://opscrew.dev/compare/own-server-vs-hosting-platform/) compares the two. ## Where AI agents fit AI agents shift the line in the table: they can write the Dockerfile, the CI workflow and the infrastructure code, read logs and propose a fix, review a configuration for mistakes, and write the runbook. A founder who can read code but has never set up a server can now get a working, reviewable setup much faster than by learning every tool first. They do not move the "person" column much. An agent can propose a rollback, but someone has to decide to roll back. It can write a backup script, but someone has to restore a backup and check that the data is there. And an agent with access to production carries risks of its own: [OWASP's Top 10 for LLM applications](https://genai.owasp.org/llm-top-10/) lists, among others, prompt injection and excessive agency, an agent with more power than its task needs. Even [Anthropic's documentation for Claude Code's auto mode](https://code.claude.com/docs/en/permission-modes) says it "does not guarantee safety". [Is it safe to let AI run commands on your server?](https://opscrew.dev/blog/is-it-safe-to-let-ai-run-server-commands/) covers how to give an agent useful access without that risk. The safest way to use one without an ops person: the agent writes changes as pull requests and infrastructure plans, you review them, and CI applies them. ## What still needs a person - **Ownership.** Someone is responsible for production. It does not have to be their whole job, but it has to be their job. - **Trade-offs.** How much downtime is acceptable during a migration? Is a second server worth the cost? Which data must never be lost? These depend on your business, not on best practices. - **Approvals.** Every change to production should be seen by a person before it applies. That is the main safety net when the change was written by an agent. - **The alert at 3 a.m.** Automation can page someone. It cannot decide whether to wake the team. - **Restore tests.** A backup nobody has restored is a hope, not a backup. - **Security incidents.** A leaked key, a compromised dependency or a breach needs someone who rotates credentials, reads logs and tells the people affected. ## Your options, from least to most commitment 1. **A hosting platform, owned by a developer on the team.** The least operations work. You pay more per resource and accept the platform's limits. 2. **Your own server or cloud, set up as code and automated, owned by a developer.** More control and a lower bill; more to own. Workable for one or a few apps when the setup is automated and written down. 3. **Occasional outside help.** A freelancer or consultant sets up or reviews the infrastructure, or covers what nobody on the team knows. [OpsCrew vs hiring a DevOps freelancer](https://opscrew.dev/compare/opscrew-vs-hiring-a-devops-freelancer/) compares that with doing it through automation, including published rates. 4. **A part-time or fractional engineer.** Regular hours each month for upkeep, reviews and improvements. 5. **A full-time hire.** When operations is a job in itself. Many small teams move between these: platform first, own server when the bill or the limits hurt, outside help for the move, a hire when the company grows. ## What a hire costs Official statistics do not track "DevOps engineer" as its own occupation; in the US, the Bureau of Labor Statistics' Occupational Outlook Handbook has two close ones: | Occupation (BLS) | Median pay | Period | | --- | --- | --- | | Network and computer systems administrators | [$99,130 a year](https://www.bls.gov/ooh/computer-and-information-technology/network-and-computer-systems-administrators.htm) ($47.66 an hour) | May 2025 | | Software developers | [$135,980 a year](https://www.bls.gov/ooh/computer-and-information-technology/software-developers.htm) | May 2025 | A DevOps role usually mixes both: system administration and writing code. The figures are medians across the whole US labour market, so experience, city and industry move them a lot, and the BLS publishes no figure for "AI DevOps engineer", whatever the job ads call it. The wage is not the whole cost. In [the BLS's employer cost survey for June 2026](https://www.bls.gov/news.release/ecec.nr0.htm), wages and salaries made up 70.0 percent of private employers' compensation costs and benefits the remaining 30.0 percent. Add recruiting time and the tools the person needs. Outside the US, look for your country's statistics office; these figures do not transfer. ## Do I need a DevOps engineer yet? Signs it is time to hire - Incidents happen every week, and they pull the same developer away from product work each time. - You run several services, several environments, or more than a handful of servers, and nobody can hold the whole setup in their head. - Customers ask for uptime guarantees, security questionnaires or audits. - A regulation applies to you (health, finance, personal data at scale) and needs someone who knows it. - A large migration is coming (a new cloud, [Kubernetes](https://kubernetes.io/), multiple regions) and nobody on the team has done one. - The person who owns production is the bottleneck for every change. If none of these is true, automation and occasional help are usually enough. ## Doing the routine part with OpsCrew OpsCrew is an open-source crew of AI agents that does the routine DevOps work for a small app on your own cloud: it reads your repository, proposes a setup with its monthly cost, creates a hardened server, sets up your domain, HTTPS and deploys from [GitHub Actions](https://github.com/features/actions), and keeps checking the result ([how it works](https://opscrew.dev/#how-it-works)). It also runs what your app needs next to it, such as a database or a [message broker](https://docs.opscrew.dev/brokers/) with no port open to the internet, and `opscrew advise` reads your servers and tells you when one is too small, too expensive or due for an update, without changing anything until you approve ([advice on size and cost](https://docs.opscrew.dev/advise/)). It does not replace the owner. Every change is a plan you approve by its hash, or a pull request you merge ([how the AI works](https://opscrew.dev/ai/)), and its scheduled check opens an issue and can message you when something fails; fixing it is up to you. It is free, and you pay your provider for the server. For what agents can do for a small team, go back to [the guide to AI DevOps agents for small teams](https://opscrew.dev/blog/ai-devops-agents-for-small-teams/), or compare them in [AI DevOps agents compared](https://opscrew.dev/blog/ai-devops-agents-compared/). ## Key facts | Fact | Value | Source | | --- | --- | --- | | Median pay, network and computer systems administrators (US) | 99,130 USD per year Median annual wage in May 2025. The BLS has no separate DevOps engineer occupation; this is one of the closest. | [BLS Occupational Outlook Handbook, Network and Computer Systems Administrators](https://www.bls.gov/ooh/computer-and-information-technology/network-and-computer-systems-administrators.htm) Verified on 11 November 2026 | | Median pay, software developers (US) | 135,980 USD per year Median annual wage in May 2025. | [BLS Occupational Outlook Handbook, Software Developers](https://www.bls.gov/ooh/computer-and-information-technology/software-developers.htm) Verified on 11 November 2026 | | Benefits share of employer compensation costs (US private industry) | 30.0 percent June 2026: wages and salaries were 70.0 percent of employer costs, benefits 30.0 percent. | [BLS, Employer Costs for Employee Compensation, June 2026](https://www.bls.gov/news.release/ecec.nr0.htm) Verified on 11 November 2026 | ## Frequently asked questions **Can you do DevOps without a DevOps engineer?** Yes, for a simple setup: a hosting platform or one server, deploys from CI, automatic security updates, scheduled backups that you have restored once, and uptime alerts. Someone on the team still has to own it, and it stops working when incidents become frequent or the setup outgrows what that person can keep in their head. **Can an AI agent replace a DevOps engineer?** Not the accountable part. An AI agent can write deployment files, CI workflows and infrastructure code, read logs and propose fixes, but it cannot decide trade-offs for your business, be responsible for production, or be on call. ## Sources 1. [Occupational Outlook Handbook, Network and Computer Systems Administrators](https://www.bls.gov/ooh/computer-and-information-technology/network-and-computer-systems-administrators.htm), US Bureau of Labor Statistics, accessed on 11 November 2026 2. [Occupational Outlook Handbook, Software Developers, Quality Assurance Analysts, and Testers](https://www.bls.gov/ooh/computer-and-information-technology/software-developers.htm), US Bureau of Labor Statistics, accessed on 11 November 2026 3. [Employer Costs for Employee Compensation, June 2026](https://www.bls.gov/news.release/ecec.nr0.htm), US Bureau of Labor Statistics, accessed on 11 November 2026 4. [Automatic HTTPS](https://caddyserver.com/docs/automatic-https), Caddy, accessed on 11 November 2026 5. [OWASP Top 10 for LLM Applications 2025](https://genai.owasp.org/llm-top-10/), OWASP Gen AI Security Project, accessed on 11 November 2026 6. [Claude Code, Permission modes](https://code.claude.com/docs/en/permission-modes), [Anthropic](https://www.anthropic.com/), accessed on 11 November 2026 # Heroku alternatives for apps that need a database Source: https://opscrew.dev/blog/heroku-alternatives/ Published 2026-11-25, by Mihailo Popović Render, Railway, Fly.io, DigitalOcean App Platform, a self-hosted PaaS or a plain server, compared for a web process, a worker, cron jobs and PostgreSQL, with each provider's own prices. ## TL;DR - For a web process, a worker and the smallest always-on [PostgreSQL](https://www.postgresql.org/), the list prices on 11 November 2026 were $19 a month on [Heroku](https://www.heroku.com/), about $20 on [Render](https://render.com/), $17 to $25 on [DigitalOcean](https://www.digitalocean.com/) App Platform and about $44 on Fly.io with its Managed Postgres; [Railway](https://railway.com/) bills by the second for what you use. - Render and DigitalOcean App Platform are the closest to Heroku's model: a service per process, managed PostgreSQL, cron jobs, git-push deploys. - A server you rent runs the web process, the worker, cron and PostgreSQL together for one flat price (€16.99 a month for 2 vCPU and 4 GB at [Hetzner](https://www.hetzner.com/cloud) in Helsinki), but the upkeep and backups become yours. - There is no lasting free tier for an app with a database: Render's free PostgreSQL expires after 30 days, Railway and Fly.io start with trial credit, Heroku has none. The Heroku alternatives that fit an app with a database are Render and DigitalOcean App Platform (the closest to Heroku's model), Railway and Fly.io (billed by usage), a self-hosted PaaS such as [Coolify](https://coolify.io/) or [Dokploy](https://dokploy.com/) on your own server, and a plain server you run yourself. None is the best for everyone: the right one depends on how much of Heroku's work you want to keep paying for. This comparison is part of [our guide to moving off Vercel, Heroku, Render or Railway](https://opscrew.dev/blog/move-off-vercel-or-heroku/). Prices and limits come from each provider's own pages and documentation, read on 11 November 2026, in US dollars excluding taxes unless marked otherwise. We did not benchmark performance or support. ## What a Heroku app actually runs A real Heroku app is usually more than one web process: - a **web** dyno, and often a **worker** dyno for background jobs (both from the same Procfile); - a **release** command that runs migrations before each release; - **Heroku Postgres**, and sometimes Redis (Heroku Key-Value Store); - **Heroku Scheduler** jobs, "expected but not guaranteed" to run, [in Heroku's own words](https://devcenter.heroku.com/articles/scheduler); - config vars, custom domains with automatic certificates, logs and review apps. ## Heroku today Heroku has no free tier. [On its pricing page](https://www.heroku.com/pricing), an Eco dyno costs $5 a month and sleeps after 30 minutes without traffic, a Basic dyno $7 (0.5 GB of memory), Standard-1X $25 (0.5 GB) and Standard-2X $50 (1 GB). Heroku Postgres starts at $5 for Essential-0 (1 GB of disk, 20 connections, shared memory), $9 for Essential-1 (10 GB) and $50 for Standard-0 (4 GB of memory, 64 GB of disk). The smallest Key-Value Store is $3. Apps run in the `us` or `eu` region of the Common Runtime; Private Spaces add Dublin, Frankfurt and eight more locations. [Heroku notes](https://devcenter.heroku.com/articles/regions) that picking a region "does not guarantee restriction of data residency" for its products and add-ons. On 6 February 2026, [Heroku announced](https://www.heroku.com/blog/an-update-on-heroku/) it was "transitioning to a sustaining engineering model focused on stability, security, reliability, and support", that there was "no change for customers using Heroku today", and that Enterprise Account contracts "will no longer be offered to new customers". It still ships maintenance: [its stacks were updated in October 2026](https://devcenter.heroku.com/changelog-items/3847). If your app runs well on Heroku and the bill is fine, that announcement alone is not a reason to move. ## Heroku alternatives at a glance | Option | Web | Worker | PostgreSQL | A month | | --- | --- | --- | --- | --- | | Heroku | Basic, 0.5 GB: $7 | Basic: $7 | Essential-0, 1 GB disk: $5 | $19 | | Render (Hobby workspace, $0) | Starter, 512 MB: $7 | Starter: $7 | 256 MB plan: $6, plus $0.30 per GB of storage | about $20.30 with 1 GB | | DigitalOcean App Platform | 512 MiB: $5 | 512 MiB: $5 | Development database: $7, or Managed PostgreSQL 1 GiB: $15.15 | $17 or $25.15 | | Fly.io (Ashburn) | shared-cpu-1x, 512 MB: $3.69 | 256 MB: $2.19 | Managed Postgres Basic: $38, plus $0.28 per GB | about $44.16 with 1 GB | | Railway (Hobby) | Billed by the second for memory, CPU and volume used | | PostgreSQL runs as a service on the same usage rates | At least $5, which includes $5 of usage | | Your own server (Hetzner CPX22, Helsinki) | All on one server: 2 vCPU, 4 GB, 80 GB, 20 TB traffic | | | €16.99, excl. VAT | The table is a floor: bandwidth, more memory, backups, extra workers and support plans are on top on every platform, and on your own server the backups and your hours are. For users in Europe, [hosting a Next.js app in the EU without Vercel](https://opscrew.dev/blog/host-nextjs-in-the-eu/) sets out where each platform keeps your data; its table applies to any app. ## Render Render is the closest to Heroku's model: a web service, a background worker and a cron job are separate services built from your repository, next to managed PostgreSQL and a Redis-compatible Key Value store. - **Workspace:** [Hobby is $0 plus compute](https://render.com/pricing), "for individuals", with up to 25 services and 5 GB of bandwidth a month; Pro is $25 a month plus compute, for teams, with 25 GB. Bandwidth beyond that costs $0.15 per GB. - **Compute:** web services and background workers share the same instance prices: $7 for 512 MB, $25 for 1 CPU and 2 GB, $85 for 2 CPU and 4 GB. - **PostgreSQL:** $6 a month with 256 MB of memory, $19 with 1 GB, $40 with 2 GB, plus $0.30 per GB of storage; point-in-time recovery covers 3 days on Hobby and 7 on Pro. - **Cron jobs:** billed by the second while they run, from $0.00016 a minute for 512 MB. - **Release command:** Render lists a pre-deploy command, the equivalent of Heroku's release phase. - **Free:** [free web services stop after 15 minutes without traffic](https://render.com/docs/free) and take about a minute to start again; each workspace gets 750 free instance hours a month. A free PostgreSQL database has 1 GB and expires 30 days after creation. Background workers and cron jobs have no free instance. - **Regions:** [Oregon, Ohio, Virginia, Frankfurt and Singapore](https://render.com/docs/regions). A service's region cannot be changed later; you create a new one. **Suits:** a Heroku app that wants the same shape, a lower entry price and managed PostgreSQL. ## DigitalOcean App Platform App Platform runs web services, workers and jobs as components of an app, from a Git repository or a container image. - **Containers:** [$5 a month for 1 shared vCPU and 512 MiB](https://www.digitalocean.com/pricing/app-platform) (a "fixed" size that runs one instance only), $10 for 1 GiB, $12 for 1 GiB that can scale out, $25 for 2 GiB. Each instance includes outbound transfer (50 GiB on the $5 size); more costs $0.02 per GiB. - **Databases:** a development database (PostgreSQL, 512 MiB) costs $7, but DigitalOcean says it "is not backed up by default" and is destroyed with the app. For production, [Managed PostgreSQL starts at $15.15 a month](https://www.digitalocean.com/pricing/managed-databases) with 1 GiB of memory and 10 GiB of storage. - **Free:** up to three apps with static sites only. - **Regions:** [dynamic apps run in New York, Amsterdam](https://docs.digitalocean.com/products/app-platform/details/availability/), San Francisco, Singapore, London, Frankfurt, Toronto, Bangalore, Sydney, Atlanta, Richmond and Kansas City. **Suits:** an app that wants managed PostgreSQL at a moderate price, with Droplets and other DigitalOcean services in the same account. ## Railway Railway bills by the second for what each service uses, with no fixed instance sizes. - **Plans:** [Hobby has a $5 minimum and includes $5 of usage](https://docs.railway.com/reference/pricing/plans); Pro has a $20 minimum, includes $20 of usage and adds seats and higher limits. New accounts start with a 30-day trial and a one-time $5 credit; the Free plan includes $1 of usage a month, with each service limited to 1 vCPU and 0.5 GB. - **Rates:** [$0.00000386 per GB of memory per second](https://railway.com/pricing) and $0.00000772 per vCPU per second, which over a 30-day month is about $10 per GB of memory and $20 per vCPU kept busy all month; volumes about $0.15 per GB a month; $0.05 per GB of egress. - **Databases, workers and cron:** PostgreSQL and other open-source databases run as services with volumes, which [Railway can back up on a daily, weekly or monthly schedule](https://docs.railway.com/reference/backups); a worker is one more service; a cron job is a schedule on a service. - **Regions:** [California, Virginia, Amsterdam and Singapore](https://docs.railway.com/reference/deployment-regions), and a service can move region later (with downtime while a volume moves). **Suits:** an app with modest, uneven load where paying for actual use beats a fixed size. Measure your usage for a month before you compare it with a fixed price. ## Fly.io Fly.io runs your [Docker](https://www.docker.com/) image as Machines in the regions you choose, billed by the second while they run, with no monthly platform fee. - **Compute:** in Ashburn, [a shared-cpu-1x Machine costs $2.19 a month](https://docs.fly.io/about/pricing/) with 256 MB, $3.69 with 512 MB and $6.70 with 1 GB; prices vary by region (the 1 GB Machine is $7.73 in Frankfurt). A stopped Machine costs only its root file system. - **PostgreSQL:** Managed Postgres from $38 a month (Basic) to $1,922, plus $0.28 per GB of storage. - **Data transfer:** $0.02 per GB to the internet in North America and Europe; inbound is free. - **Free:** [a $1 trial credit for 7 days without a card](https://docs.fly.io/about/free-trial); after that, [a personal organization's bill under $5 a month is waived](https://docs.fly.io/about/free-waiver) when a card is on file. - **Regions:** [17, including Amsterdam](https://docs.fly.io/reference/regions), Stockholm, Paris, Frankfurt and London. **Suits:** an app that needs to run close to users in several regions, or workers that are cheap to keep running. For a single-region app with one database, the Managed Postgres price dominates the bill. ## A self-hosted PaaS on your own server Coolify, Dokploy and CapRover give you a Heroku-like dashboard (deploy on [git](https://git-scm.com/) push, databases, domains with automatic certificates) on a server you rent or own; Kamal does the deploy part from your terminal, without a dashboard. The software is free to self-host; you pay for the server, and you run and secure it and the panel. [Self-hosted PaaS compared](https://opscrew.dev/blog/self-hosted-paas/) goes through all four: their licences, requirements, what they manage and what they leave to you. **Suits:** several apps or services that can share one server's price, and someone willing to keep that server patched. ## A plain server, by hand or with a tool The web process, the worker, the scheduled jobs and PostgreSQL all run on one server with Docker Compose. A Hetzner CPX22 (2 vCPU, 4 GB, 80 GB, 20 TB of traffic) [cost €16.99 a month excluding VAT in Helsinki](https://www.hetzner.com/cloud/regular-performance) on 11 November 2026 (€19.99 in Nuremberg); adding a worker or a cron job costs nothing until the server is full. What you take over: OS updates, the firewall, backups you have tested, and monitoring. [Migrate a Heroku app and its Postgres database to a VPS](https://opscrew.dev/blog/migrate-heroku-app-to-a-vps/) shows the tested move, from the Procfile to the DNS cutover, and [Hetzner vs DigitalOcean](https://opscrew.dev/blog/hetzner-vs-digitalocean/) compares two providers for the server. **Suits:** an app whose parts would each cost a monthly line on a platform, when you, or a tool, can own the upkeep. Our comparison of [your own server and a hosting platform](https://opscrew.dev/compare/own-server-vs-hosting-platform/) sets out that trade. ## Cron jobs: what replaces Heroku Scheduler | Option | Scheduled jobs | | --- | --- | | Heroku | Scheduler add-on: every 10 minutes, hourly or daily, not guaranteed; runs one-off dynos billed as usage | | Render | Cron job services, any cron expression, billed for run time | | Railway | A cron schedule on a service, in UTC, [runs at least 5 minutes apart](https://docs.railway.com/reference/cron-jobs) | | DigitalOcean App Platform | Job components in the app | | Fly.io | [Scheduled Machines](https://docs.fly.io/blueprints/task-scheduling) (hourly, daily, weekly or monthly, not at exact times), supercronic as a process, or Fly's Cron Manager app | | Your own server | A cron in a container (such as supercronic) or the host's cron | ## Doing this with OpsCrew OpsCrew, the open-source tool we build, is the "plain server, with a tool" option. It reads your repository, including a `Procfile`, whose process types other than `web` and `release` become workers running from your app's image, and runs your cron jobs with supercronic in a container of their own ([workers and cron jobs](https://docs.opscrew.dev/workers-and-cron/)). It runs PostgreSQL, [MySQL](https://www.mysql.com/), [MariaDB](https://mariadb.org/) or [MongoDB](https://www.mongodb.com/) next to the app with a generated password and no public port ([databases](https://docs.opscrew.dev/databases/)), on a server at Hetzner Cloud or DigitalOcean that it creates from a plan you approve, or on [a server you already have](https://docs.opscrew.dev/own-server/). When a database outgrows the app's server, it can move to a server of its own ([split placement](https://docs.opscrew.dev/split-placement/)), and `opscrew advise` reads the providers' prices and your server's figures to propose a better size ([advice on size and cost](https://docs.opscrew.dev/advise/)). OpsCrew is free; you pay the provider for the server. For the whole decision, including when a platform is the better choice, go back to [moving off Vercel, Heroku, Render or Railway](https://opscrew.dev/blog/move-off-vercel-or-heroku/). ## Key facts | Fact | Value | Source | | --- | --- | --- | | Heroku Basic dyno | 7 USD per month0.5 GB of memory. Eco dynos cost $5 and sleep after 30 minutes without traffic. | [Heroku pricing](https://www.heroku.com/pricing) Verified on 11 November 2026 | | Heroku Postgres Essential-0 | 5 USD per month1 GB of disk, 20 connections, shared memory. | [Heroku pricing](https://www.heroku.com/pricing) Verified on 11 November 2026 | | Render Starter instance | 7 USD per month512 MB, for a web service or a background worker; PostgreSQL from $6 (256 MB) plus $0.30 per GB of storage. | [Render pricing](https://render.com/pricing) Verified on 11 November 2026 | | Fly.io Managed Postgres, Basic | 38 USD per month Plus $0.28 per GB of storage; a shared-cpu-1x Machine with 512 MB costs $3.69 a month in Ashburn. | [Fly.io resource pricing](https://docs.fly.io/about/pricing/) Verified on 11 November 2026 | | DigitalOcean App Platform smallest container | 5 USD per month1 shared vCPU (fixed), 512 MiB, 50 GiB transfer; development database $7; Managed PostgreSQL from $15.15. | [App Platform pricing](https://www.digitalocean.com/pricing/app-platform) Verified on 11 November 2026 | | Hetzner CPX22 in Helsinki (2 vCPU, 4 GB, 80 GB, 20 TB) | 16.99 EUR per month, excl. VAT | [Hetzner Cloud, Regular Performance](https://www.hetzner.com/cloud/regular-performance) Verified on 11 November 2026 | ## Frequently asked questions **What is the best Heroku alternative?** If you want Heroku's model (a service per process, a managed database, git-push deploys) with lower prices for small apps, Render and DigitalOcean App Platform are the closest. If you want to pay only for what runs, Railway and Fly.io bill by usage. If you want one flat price for everything and accept looking after a server, run the app on a VPS, by hand or with a tool. **Can I keep my Heroku Postgres data when I switch?** Yes. Heroku's backups are standard `pg_dump` files: capture one with `heroku pg:backups:capture`, download it, and restore it with `pg_restore` into any PostgreSQL of the same or a newer major version, on a platform or on your own server. ## Sources 1. [Heroku pricing](https://www.heroku.com/pricing), Heroku, accessed on 11 November 2026 2. [An Update on Heroku](https://www.heroku.com/blog/an-update-on-heroku/), Heroku, accessed on 11 November 2026 3. [Heroku Scheduler](https://devcenter.heroku.com/articles/scheduler), Heroku, accessed on 11 November 2026 4. [Heroku-22, Heroku-24 and Heroku-26 stacks updated](https://devcenter.heroku.com/changelog-items/3847), Heroku, accessed on 11 November 2026 5. [Heroku regions](https://devcenter.heroku.com/articles/regions), Heroku, accessed on 11 November 2026 6. [Render pricing](https://render.com/pricing), Render, accessed on 11 November 2026 7. [Deploy for free](https://render.com/docs/free), Render, accessed on 11 November 2026 8. [Render regions](https://render.com/docs/regions), Render, accessed on 11 November 2026 9. [Railway pricing](https://railway.com/pricing), Railway, accessed on 11 November 2026 10. [Railway plans](https://docs.railway.com/reference/pricing/plans), Railway, accessed on 11 November 2026 11. [Railway cron jobs](https://docs.railway.com/reference/cron-jobs), Railway, accessed on 11 November 2026 12. [Railway backups](https://docs.railway.com/reference/backups), Railway, accessed on 11 November 2026 13. [Railway deployment regions](https://docs.railway.com/reference/deployment-regions), Railway, accessed on 11 November 2026 14. [Fly.io resource pricing](https://docs.fly.io/about/pricing/), Fly.io, accessed on 11 November 2026 15. [Fly.io free trial](https://docs.fly.io/about/free-trial), Fly.io, accessed on 11 November 2026 16. [Fly.io free waiver](https://docs.fly.io/about/free-waiver), Fly.io, accessed on 11 November 2026 17. [Task scheduling guide](https://docs.fly.io/blueprints/task-scheduling), Fly.io, accessed on 11 November 2026 18. [Fly.io regions](https://docs.fly.io/reference/regions), Fly.io, accessed on 11 November 2026 19. [App Platform pricing](https://www.digitalocean.com/pricing/app-platform), DigitalOcean, accessed on 11 November 2026 20. [Managed Databases pricing](https://www.digitalocean.com/pricing/managed-databases), DigitalOcean, accessed on 11 November 2026 21. [App Platform availability](https://docs.digitalocean.com/products/app-platform/details/availability/), DigitalOcean, accessed on 11 November 2026 22. [Hetzner Cloud, Regular Performance plans](https://www.hetzner.com/cloud/regular-performance), Hetzner, accessed on 11 November 2026 # Hosting a Next.js app in the EU without Vercel Source: https://opscrew.dev/blog/host-nextjs-in-the-eu/ Published 2026-11-25, by Mihailo Popović Where eight providers, Vercel among them, run your code in the EU, what their data processing terms say, and how to run Next.js on an EU server with fonts, images and access logs kept on it. Not legal advice. ## TL;DR - Every provider compared here can run your [Next.js](https://nextjs.org/) code in the EU, but defaults differ: [Vercel](https://vercel.com/) runs functions in Washington, D.C. and Netlify in Ohio until you change it, and [Cloudflare](https://www.cloudflare.com/) runs Workers wherever the visitor is. - Running code in an EU region is not the whole picture: Vercel, [Render](https://render.com/) and [Railway](https://railway.com/) say their primary processing is in the United States, and Fly.io processes snapshots, logs, metrics and builds in the US whatever region you pick. - The most contained setup is Next.js on a server in an EU location (for example [Hetzner](https://www.hetzner.com/cloud) in Germany or Finland), with the database, image optimisation, fonts and logs on the same server. - This article lists what providers say; it is not legal advice. Whether your setup meets the GDPR is for you, and your lawyer or data protection officer, to decide. To host a Next.js app in the EU, choose a provider location inside the EU, run Next.js there (as a [Node.js](https://nodejs.org/) server on an EU server, or on a platform's EU region), and then check where everything around the app goes: the database, backups, logs, builds and the services your app calls. Every provider here can run your code in the EU; when you look for a Vercel alternative in Europe, compare their defaults and what they say about processing outside the EU. This article is part of [our guide to moving off Vercel, Heroku, Render or Railway](https://opscrew.dev/blog/move-off-vercel-or-heroku/). It sets out what each provider says on its own pages, read on 11 November 2026, and makes no claim that any setup is GDPR compliant: that depends on your data, your contracts and your obligations, and is for you and your lawyer or data protection officer to judge. ## What "hosting in the EU" involves "Our servers are in Frankfurt" answers only the first of five questions: 1. **Where your code runs:** the region of your functions, containers or server. 2. **Where your data is stored:** the database, uploaded files and backups. 3. **Where the platform's own data goes:** request logs, metrics, build logs and images, and the control plane that manages your app. These can sit outside the region your app runs in. 4. **What the contract says:** whether a data processing agreement (DPA) applies to your plan, how it is concluded, which subprocessors the provider uses, and which transfer mechanism covers data leaving the EU (the EU-US Data Privacy Framework, Standard Contractual Clauses). 5. **Who else your app sends data to:** a hosted database in another region, an email service, analytics, error tracking, a CDN in front, fonts or scripts loaded from other domains. Your privacy policy should describe what the setup really does. ## Vercel and its alternatives in Europe: what each provider says | Provider | EU locations for your code | Default | Data processing agreement | Processing outside the EU, in its own documents | | --- | --- | --- | --- | --- | | Vercel | Frankfurt, Paris, Dublin, Stockholm (London is in the UK) | Washington, D.C. (`iad1`) for functions | [Applies to Pro and Enterprise plans](https://vercel.com/legal/dpa); EU Standard Contractual Clauses | "Vercel's primary processing facilities are in the United States" | | Netlify | [Functions in Frankfurt or Dublin](https://docs.netlify.com/build/functions/configuration/) (Pro and Enterprise), Paris or Milan through support | Ohio (`cmh`) for functions | "Incorporated by reference" in its terms | Not stated on [its GDPR page](https://www.netlify.com/gdpr-ccpa/) | | Cloudflare Workers | Runs in the data centre closest to each request | Global | [Applies from when you sign or otherwise agree to it](https://www.cloudflare.com/cloudflare-customer-dpa/); Cloudflare states it complies with the Data Privacy Framework | Placement options aim at latency, not location; [the Data Localization Suite](https://developers.cloudflare.com/data-localization/) is an "Enterprise-only paid add-on" | | Render | Frankfurt | [Chosen when you create a service; cannot be changed later](https://render.com/docs/regions) | [Supplements its terms of service](https://render.com/dpa); Data Privacy Framework, then SCCs | "primary processing operations take place in the United States" | | Railway | Amsterdam | [Your preferred region in account settings](https://docs.railway.com/reference/deployment-regions) | [Signed through a DocuSign form](https://railway.com/legal/dpa) | "primary processing operations take place in the United States" | | Fly.io | Amsterdam, Frankfurt, Paris, Stockholm (London is in the UK) | [The region you deploy to](https://docs.fly.io/reference/regions) | Self-service on every plan, pre-signed by Fly.io and binding once you return your signed copy; Fly.io is certified under the Data Privacy Framework | Volume snapshots, the control plane, platform logs, metrics, proxy traces and image builds "are processed in the United States regardless of region"; Managed Postgres backups stay in the cluster's geographic area | | [DigitalOcean](https://www.digitalocean.com/) App Platform | Amsterdam, Frankfurt (London is in the UK) | The region you choose | [An addendum to its terms of service](https://www.digitalocean.com/legal/data-processing-agreement) | Transfers out of the EEA rely on its Data Privacy Framework certification, with SCCs as the fallback | | Hetzner Cloud | Falkenstein and Nuremberg (Germany), Helsinki (Finland) | The location you choose | Concluded in your Hetzner account by ticking "I agree to the agreement" | Cloud data's location "depends on the product location you have chosen"; Hetzner also runs locations in the US and Singapore in third-party data centres | Two things in that table are easy to miss: - **A front-end cloud's CDN is global.** [Vercel says it caches static content](https://vercel.com/docs/regions) in its CDN by default and serves it from the region closest to each user; its network has 126 points of presence. Pinning functions to Frankfurt does not change that. Cloudflare's Workers likewise run "in a data center closest to where the request was received" unless you set a placement hint, and [its placement docs](https://developers.cloudflare.com/workers/configuration/placement/) describe every option, including a hint to run near a cloud region, in terms of latency, not data location. - **The region you pick is not everything a platform processes.** [Fly.io is the clearest about it](https://fly.io/legal/security-questionnaire/): your app's content, memory and volumes stay in the regions you deploy to, while snapshots, logs, metrics and builds are processed in the US. [Heroku](https://www.heroku.com/), for comparison, [says choosing a region](https://devcenter.heroku.com/articles/regions) "does not guarantee restriction of data residency" for its products and add-ons. ## Option 1: Next.js on a server in an EU location One server in an EU location, at an EU provider or in an EU region of another, runs the Next.js app, its database and the reverse proxy, with nothing in front. The tested setup (standalone output, a Dockerfile, [PostgreSQL](https://www.postgresql.org/) and [Caddy](https://caddyserver.com/) with [Docker](https://www.docker.com/) Compose) is in [Deploy Next.js to a VPS with Docker and HTTPS](https://opscrew.dev/blog/deploy-nextjs-to-a-vps/). For the EU, add these. ### Pick the location, and conclude the DPA At Hetzner, [pick Falkenstein, Nuremberg or Helsinki](https://docs.hetzner.com/cloud/general/locations/); Ashburn, Hillsboro and Singapore are outside the EU. Then [conclude the data processing agreement in your Hetzner account](https://docs.hetzner.com/general/company-and-policy/data-protection-at-hetzner/). Other providers have their own process; [Hetzner vs DigitalOcean](https://opscrew.dev/blog/hetzner-vs-digitalocean/) compares two of them for a small app. ### Keep images and fonts on your server - **Images.** [Next.js's self-hosting guide says](https://nextjs.org/docs/app/guides/self-hosting) `next/image` optimisation "works self-hosted with zero configuration" with `next start`, so images are resized on your server rather than by an image service. - **Fonts.** [Next.js's docs say](https://nextjs.org/docs/app/getting-started/fonts) Google Fonts loaded through `next/font` are "included as static assets and served from the same domain as your deployment, meaning no requests are sent to Google by the browser". We checked it: a fresh Next.js 16.4.6 app from `create-next-app`, whose layout loads its fonts from `next/font/google`, built on 11 November 2026 into a home page that referenced only font files under `/_next/static/media/` and contained no Google font address. The fonts are downloaded once, at build time, by the machine that builds. Fonts or scripts you add with a plain `` or `