I deleted my Google Cloud VM and still got a bill. What was left, and what I check now
My hobby bot lived on one small Google Cloud virtual machine. In September 2026 I shut it all down to get the bill to zero. I deleted the VM, its disk, and its fixed IP address on September 15.
On October 1 Google still charged me ₩449.
I'm not a developer, and an AI assistant ran most of the commands for me.
Contents
What was running
The machine was an e2-micro in a US region. It ran 4 things: n8n, a small queue service, a Discord bot for a game I'm making, and a web server in front of them.
When I audited it on September 10, only the Discord bot was alive. n8n had last done anything on June 24. The queue hadn't had a job since July 17. That audit also recorded 0 references to this machine in my project folder.
I had 5 Google Cloud projects. The other 4 didn't run any machines at all. They only held API access for things like Blogger, Sheets, Calendar and Gemini, and the API for virtual machines was switched off in all of them. So the bill question was about one project and one machine.
The free credit doesn't last longer if you upgrade
My account still showed ₩441,035 in free trial credit. Upgrading to a paid account doesn't save it. Upgrading carries the credit amount over, but not the time. The expiry date stays the same. Mine expired on September 15, 2026, five days after I checked.
My real usage was ₩2,902 a month. So about 99.9% of that credit was going to disappear whatever I did.
₩2,902 a month, and none of it was compute
The e2-micro in that region was in the free tier.
The ₩2,902 was for 2 things I was holding: the fixed IP address and the 10 GB disk. That meant:
- Stopping the VM doesn't stop that cost. The IP and the disk still exist while it's stopped.
- An unused fixed IP costs more. When nothing is attached to it, the price goes up to double.
So "turn it off" was not a way to get to zero. I deleted the VM, the disk and the IP to remove those charges.
Before deleting: the n8n copy with an old workflow
Before deleting anything, I wanted a copy of the n8n data. n8n keeps its data in a SQLite file called database.sqlite.
The first copy I took was the main file alone. When I opened it, the newest workflow in it was a version from June 16. The recent changes weren't there.
The newest changes were in a second file next to it, database.sqlite-wal, about 4 MB. In WAL mode, SQLite writes changes to that file first and later copies them into the main database file (SQLite's own explanation). If you copy only the main file, you get whatever had been folded in so far.
My audit notes say to copy both files, then run this on the copy:
PRAGMA wal_checkpoint;
That folds the changes into the main file.
I also stopped n8n so it wouldn't start again on a reboot. Its container was set to unless-stopped, so a stop holds. I also set its one workflow to inactive. The n8n image alone was 2.5 GB because it bundles 307 integration nodes.
Moving the one live bot first
The Discord bot was the only thing still in use, so it had to move before the machine went away.
I already had a server on Oracle Cloud's free tier for my main bot. That bot already uses the free ARM machine type, so this bot went on Oracle's small free AMD machine instead. On September 15 at 03:04 the bot came up on the new server and answered in Discord. Then the Google Cloud VM, its disk and the fixed IP were deleted. I kept a local backup of the bot's folder outside my code repository.
The ₩449: what was left behind
The 14 remaining snapshots were the likely source of the October 1 charge. They were automatic daily backups of the old disk, from September 1 to September 14, about 9.2 GB together. A snapshot schedule had been creating them every day.
When you delete a disk, Google Cloud keeps its scheduled snapshots by default (Google's retention rule). Deleting the schedule doesn't remove them either. They just sit there and get billed for storage.
I asked Codex to estimate the charge before deleting anything. Its numbers came close to ₩449 if the snapshots were stored in the multi-region US location. I haven't matched this against the exact billing line item yet, so I treat it as the likely cause, not a confirmed one.
Before deleting them, I pulled what I wanted from the September 14 snapshot. I made a temporary disk from it and attached it read-only to a new temporary VM, so the old server never booted. I copied the n8n workflow, the config files and the bot and queue code, with secrets blanked out. Then I deleted the temporary VM and disk, all 14 snapshots and the schedule.
After that, the project listed 0 snapshots, 0 disks, 0 instances and 0 schedules.
Two things I noticed along the way
- Port 22 was open to the whole internet. In 7 days there were 19,804 failed login attempts. None got in.
- The budget was set to ₩0, which meant no amount was set at all. I set it to ₩10,000 a month.
My shutdown checklist now
When I retire a cloud machine, deleting the VM is only one line on the list:
- Search my own files for anything that still calls the machine.
- Move whatever is still alive and check it works on the new server.
- Back up databases with their side files (for SQLite, the
-walfile too). - Delete the VM, the disk and the fixed IP together.
- List snapshots and snapshot schedules, and delete them.
- Look in the snapshot recycle bin, if the project uses one.
- Check which projects are still linked to billing.
- Make sure the budget has an amount set.
FAQ
Does stopping a Google Cloud VM stop all charges?
Not in my case. The fixed IP and the disk were still billed while it was stopped, and an unused fixed IP costs double.
Does upgrading from the free trial keep the credit longer?
No. The amount carries over, but the expiry date doesn't change. Mine expired on September 15, 2026.
Why did I get a bill after deleting the VM?
The remaining snapshots were the likely cause, but I haven't checked the exact billing line item. By default, deleting the disk leaves its scheduled snapshots behind. Deleting the schedule also leaves existing snapshots.
Comments
Post a Comment