I let an AI agent do ops on my production VPS. What I'd never let it touch.
I run a small Shopify app business off one Contabo VPS. n8n for automations, DocuSeal for contracts, Umami for analytics, nightly encrypted backups. I'm one person, so an AI agent does most of the ops work. Here's how th
I run a small Shopify app business off one Contabo VPS. n8n for automations, DocuSeal for contracts, Umami for analytics, nightly encrypted backups. I'm one person, so an AI agent does most of the ops work. Here's how that actually went.
What it's good at: auditing. It found 4 reboots I couldn't explain, 40 pending upgrades I'd been ignoring, and container images that had drifted from what I thought was pinned. Boring, tedious, exactly the stuff I'd never get to.
What bit me: SSH hardening. We added a drop-in config to lock SSH down. Then it flagged that cloud-init can overwrite that on reboot. Hardening that quietly un-hardens itself is worse than none, because you think you're covered.
What I rebuilt: backups. Nightly, encrypted, verified. But a backup that only lives on the same VM isn't a backup, and one you've never restored isn't either. Off-VM copy and a restore test are the next two jobs.
What I won't let an agent touch:
- The n8n encryption key. Lose it and every saved credential is dead. It lives in my password manager, not in a chat, not in the agent's reach.
- Anything that deletes. It can propose, I run it.
- Restarting containers that hold state without telling me first.
The pattern: let it read everything and change little. The failures I worry about aren't the loud ones. They're the ones that look green.
I build Shopify apps on this stack: Revend (https://apps.shopify.com/cart-recovery-ai) and FailedPaymentHelper.com. Happy to compare notes.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.