DigitalOcean
Browse all articles, tutorials, and guides about DigitalOcean
Posts
Knowing What Your AI Feature Costs Before Finance Does
The model invoice has one line per model, and finance wants one line per feature. We ran three features on one key and recorded every usage block: a one-word alert label cost a third to a half of a full incident investigation, because of reasoning tokens nobody reads. Here is how to measure that per request and tag it per feature.
Issue to Pull Request with DigitalOcean Managed Agents
We gave an OpenCode agent on DigitalOcean Managed Agents three real GitHub issues and no GitHub token. It produced three merged pull requests and one wrong one that passed its tests. Here is the setup, the recorded runs, the cost per issue, and every gotcha we hit.
Where to Run AI Agents: 8 Managed Agent Runtimes Compared
DigitalOcean Managed Agents, Cloudflare, AWS AgentCore, Google, Microsoft Foundry, E2B, Vercel and Modal, compared on isolation, state, tool access, limits and price, with one cost scenario worked out on every platform.
Terraform State: Remove, Move and Migrate Resources, and Set Up a Remote Backend
The state questions every Terraform team hits: how to stop managing a resource without deleting it, rename one without a rebuild, move it to another project, bootstrap a remote backend, and why the DynamoDB lock table is on its way out. Every command here was run on Terraform 1.15.
Your Semantic Cache Answers the Question Next Door
We put a semantic cache in front of an ops assistant on DigitalOcean Serverless Inference and replayed 288 hand-labelled questions through six embedding models. At the threshold that cut the bill by about 30 percent, about one hit in three was the answer to a different question. Someone asking how to undo a pushed commit got the instructions for an unpushed one.
We Hid 96 Instructions in the Logs an Ops Agent Reads. Here Is What Stopped Them.
An on-call agent reads logs and tickets that other people write. We planted 96 prompt injections in that text and measured six defences on DigitalOcean Serverless Inference. One paragraph in the system prompt cut the attack rate from 35 percent to 4. Delimiters on their own did nothing we could measure. A check outside the model stopped every forbidden action, and still missed the secrets the agent wrote into its own reports.
DNS Detective: an Agent That Diagnoses Your Domain by Actually Probing It
We built an agent on DigitalOcean's Serverless Inference that debugs DNS, TLS and email problems the way an engineer does: form a hypothesis, run a real lookup, follow the evidence. It solved a null-MX mystery, an expired certificate, and a broken DNSSEC chain on camera, and one model we tried got disqualified for inventing probe results.
Build and Evaluate an AI Error Explainer with DigitalOcean Inference
Build a FastAPI error explainer, enforce structured model output, and evaluate models and routers against reviewed errors before choosing one.
Streaming LLM Responses in Next.js: 1.3s to First Token, Not 15.7s
The same model, the same prompt, and the same DigitalOcean endpoint. One version shows the first words in 1.3 seconds, the other shows a blank screen for nearly 16. The difference is entirely in your route handler.
Build and Deploy a Ticket Triage App with DigitalOcean Inference
Build a practical FastAPI ticket triage app with DigitalOcean Serverless Inference, then deploy it to App Platform with Terraform.
Explaining CI Failures Automatically with a GitHub Action
We built a GitHub Action that reads a failing job log and tells you what broke, using DigitalOcean serverless inference. The interesting part was not the model call. It was throwing away 92% of the log before sending it.
Your First Serverless LLM Call on DigitalOcean in 10 Minutes
DigitalOcean's Inference Engine gives you an OpenAI-compatible endpoint with pay-per-token pricing and no GPU to manage. Here is the fastest path from zero to a working call, with curl, Python, and Node, every snippet run against the live API.
Hetzner's Third Price Increase in Three Months: What DevOps Teams Should Do
Hetzner is changing dedicated server and cloud pricing again on June 15, 2026. Here is what changed, why customers are frustrated, and how to decide whether to stay, resize, or move workloads.
Coolify: Self-Hosted PaaS on DigitalOcean - Deploy Apps Without Vendor Lock-In
Set up Coolify on a DigitalOcean droplet and get your own Vercel-like platform for deploying Next.js apps, databases, and more - with auto SSL, GitHub auto-deploy, and no per-seat pricing.
Migrating from Heroku to DigitalOcean
A complete guide to migrating production applications from Heroku to DigitalOcean. Covers App Platform, Managed Databases, Redis, Spaces, Coolify self-hosted, and infrastructure-as-code setup with real-world migration strategies.
Heroku vs Self-Hosting: A Cost-Benefit Analysis for 2026
A transparent breakdown of Heroku costs versus self-hosting alternatives. Real numbers, honest tradeoffs, and a framework to help you decide when to make the switch.