r/VibeCodeDevs • u/facciocosevedogente3 • Oct 28 '26
First time migrating a production site from Vercel to a VPS with Codex. Is 70% of my weekly limit reasonable?
I recently migrated a production website from Vercel to my own VPS, using Coolify and Cloudflare. I let Codex (GPT-6.1 Terra High) handle pretty much the entire process.
For context, the migration involved:
- Moving the application from Vercel to the VPS using Coolify
- Configuring DNS, domains and Cloudflare
- Setting up backups, rollback procedures and security checks
- Testing deployments, routing and connectivity
- Switching production traffic with zero downtime
- Setting up a fallback to Vercel through Cloudflare Workers in case the VPS goes down
The good news is that everything worked. The site is now running on my VPS, the migration happened without downtime and I'm happy with the result.
What surprised me was the amount of work involved. The whole process consumed roughly 70% of my weekly Codex usage allowance on the Plus plan.
There was a lot of back and forth between testing, debugging, changing configurations and verifying that everything was working correctly across Coolify, Cloudflare and Vercel.
Now, this was my first time handling this kind of migration, so I didn't really know what to expect. I understand that we're talking about production infrastructure and that being careful with backups, rollback options and downtime is important. I'm definitely not expecting something like this to be done in five minutes.
I'm just trying to understand whether this level of resource consumption is normal for a migration of this scope, or if there's something I could have done differently to make the process more efficient.
•
u/endofthread-bot Oct 28 '26
Hey u/facciocosevedogente3, thanks for posting in r/VibeCodeDevs! Join our Discord: https://discord.gg/t7SD4ThKuE
• This community is designed to be open and creator‑friendly, with minimal restrictions on promotion and self‑promotion as long as you add value and don’t spam.
• Please follow the subreddit rules so we can keep things as relaxed and free as possible for everyone. • Please make sure you’ve read the subreddit rules in the sidebar before posting or commenting.
• For better feedback, include your tech stack, experience level, and what kind of help or feedback you’re looking for.
• Be respectful, constructive, and helpful to other members.
If your post was removed (either automatically or by a mod) and you believe it was a mistake, please contact the mod team. We will review it and, when appropriate, approve it within 24 hours.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
4
u/JudgeGroovyman Oct 28 '26
Thats not a completely outsized token spend for that task and I'm especially glad it worked.
I suspect there are some things that could have been done differently (perhaps some orchestration and delegation between subagents) but my opinion this isnt something worth digging deep into optimization unless you are doing it over and over.
I think its awesome that you did this!
1
u/dkarzon Oct 31 '26
Nice work getting it over with zero downtime. A Cloudflare Worker falling back to Vercel is a smart extra. Most people skip that.
On the usage question, I wouldn't read too much into 70% for a first go. A lot of that is the back and forth of learning how Coolify and Cloudflare behave, and the second time is usually a lot cheaper.
I'm more curious about two things:
Asking because I've been thinking a lot about the "get it off the managed platform" step lately. The migration is usually the easy bit. Keeping the day-to-day workflow as nice as what you left behind is the hard bit.
2
u/wegster Oct 31 '26
You very likely didn't need Terra for this, as it's fairly routine if monotonous. Should have just made a plan with webgpt, had codex explore the initial system then handed off to Luna High or even XH, and you'd have used 10% or less and been in the same place.