Plan a phased cloud migration with checkpoints
Use an agent to break a large migration into approved phases and carry out each step test-first.
- What they did
- A developer ran Gemini CLI with the Conductor extension to manage a multi-step cloud migration. They kept product, stack, and workflow details in Markdown files, and for each track the agent drafted a spec and execution plan before the developer signed off. After approval, it worked test-first, wrote Terraform, and paused at checkpoints at the end of each phase.
- How it went
- The migration took several days of AI-assisted work. Usage came to about 19M input tokens, 66M cached input tokens, and 400k output tokens, for roughly $30 on Vertex AI. Cached input dominated the bill, and the source notes that prices can change.
- Tips
- Keep the agent in a sandbox and require approval before any irreversible step. Put procedural rules such as running `terraform plan` before `apply` and your coverage target in a workflow file.
Try it yourself with Claude Code
I’m migrating [current system] to [target cloud/platform]. Read the files in this repo that describe the product, stack, and workflow, then split the work into phases with checkpoints, risks, and rollback steps. For each phase, draft a short spec and plan, then stop and wait for my approval before you change code, run infrastructure commands, or make any destructive edits. Work test-first, use the repository’s workflow rules, and after each phase give me a brief checkpoint summary in [MIGRATION.md or another file].
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Find the bad config and draft the rollback
During a simulated outage, an SRE used Gemini CLI to trace logs, identify a bad config push, and prepare the revert and follow-up work.
Map a legacy system without source code
A Thoughtworks team used Gemini to build and check functional blueprints for old systems when source code was unavailable.
Repair a Delete button in a GitHub repo
A developer had Jules fix a broken Delete button, add tests, and leave the branch ready for review.
Set up macOS and developer tools from the terminal
Gemini CLI can change macOS settings and help install developer tools by showing each command for approval first.
Check upgrade risks before you ship
A ReAct agent reviewed dependency data for a planned cloud upgrade and blocked it when it found an incompatible SDK version.
Build a local AI setup and personal knowledge graph
They had Hermes Agent assemble a local AI stack and connect Gbrain for chat-based knowledge-graph lookups.