# AI Is Turning Everyone Into a DevOps Engineer

> A DigitalOcean migration that used to take half a day. I set up SSH, described the target state, and Codex did the rest.

- Author: AI Kai
- Published: 2026-07-16
- Updated: 2026-08-24
- Topic: Agent Workflows
- Tags: devops, linux, coding-agents
- Canonical: https://hqman.me/blog/agent-server-setup/

My DigitalOcean server was about to expire. Needed to migrate to a new box. Setting up a fresh Linux server used to be painful. This time I handed it to Codex.

I did one thing: set up SSH key auth.

```
ssh-copy-id -i $HOME/.ssh/id_rsa.pub youruser@your-server-ip
```

Codex took it from there. I told it what service to run, which ports to open, how to configure the firewall, what network tuning to apply.

It installed dependencies, created users, set permissions, wrote configs, started systemd services, opened firewall ports, ran health checks.

I watched it finish, confirmed the results looked right, moved on. From empty server to working service, all I did was describe the target state.

I want to do this for every server now.

Setting up a Linux server used to cost me half a day.

You open docs, type commands one by one: create user, add groups, grant sudo, install firewall, open ports, tune sysctl, write systemd units, install Docker, set up databases, configure dev environment, run checks. Each step takes five minutes. Stack them up and half your day is gone. Errors show up between steps and eat more time.

I used to know enough Linux to get by. A handful of commands. With AI, I can do everything I need.

AI is turning everyone into a DevOps engineer.

One heads-up: don't feed API keys, passwords, or secrets to a coding agent when it's setting up your server. Handle sensitive data yourself, or use environment variables and a secrets manager.
