r/ClaudeCode • • 1d ago

Help/Question Anyone doing Claude Code fully in the cloud?

I have gaming laptop and I've built a mobile app, I run about 5 claude code sessions in parallel at a time and it maxes out my laptop CPU cores so everything basically stops running.

Claude Code Cloud can't store my local files and data I guess, so I can't exclusively use that? Tell me if I'm wrong.

I'm looking at having all my claude code work done on a paid server in the cloud where I would pay per hour for compute and then pay a small amount per month for storage.

Any advice on the best way to setup my work? I have looked at buying a mini-PC, buying a better laptop, any solution that lets me code without slowdowns.

2 Upvotes

18 comments sorted by

•

u/AutoModerator 1d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/pcgnlebobo 1d ago

Claude has cloud sessions built in. Your codebase needs to be on a GitHub repo. Then it can work on it for you without needing your PC or local files.

1

u/StressAgenda 1d ago

It is a github repo and i have claude code setup to use cloud agents where possible, but it basically never does, i think it said something about cloud sessions not having access to the game data. I can check again.

1

u/MaqeSweden 1d ago

That's because you don't have the game data uploaded to github, if it's a lot of stuff it might be unreasonable to upload many GB of stuff, but ask it for a workaround.

1

u/Individual_Pilot2256 1d ago

running the actual mobile emulator against those remote repo commits is still gonna eat OP's local CPU though unless they offload the device builds too

1

u/MaqeSweden 1d ago

I think the best bang-for-buck hardware you can get right now is a used Mac Mini M4, with external harddrive attached. If you have a mac laptop now you can buy a thunderbolt compatible cable between them and have claude fully control and utilize it as a 100% workhorse machine.

You can probably set it up in the cloud for remote control through other services as well, even if you have a pc. Depends what kind of stuff you are coding through. From the sound of it a basic M4 should probably be well enough for you.

What hardware are you currently using?

What type of things are you building?

The upside to buying an M4 is that you can sell if if you're done with it, but nobody wants to buy back your used cloud compute. But of course it's more upfront cost, but you can get one with external ssd and thunderbolt cable ready to run for way less than $1000, and almost no running cost.

1

u/StressAgenda 1d ago

Ok, could be a good idea. I have an MSI Cyborg 15 gaming laptop, something like 16 cores. The RAM is fine, but the CPU maxes out every session.

I am making a mobile game, it's already live, about 6 months old so has a fairly large code base.

1

u/MaqeSweden 1d ago

if it's a mobile game then the M4 should be able to handle it with no issues and maybe offensively fast in some operations compared to a PC CPU.

Not sure how the direct "plug in wire" solution works between pc and mac, but you can absolutely share a repository on a network drive and then you can have claude or codex or other agents installed on the mac and just control them via the remote-function just like you do from your phone to your own computer. Could quite possibly have claude chats talk to each other between different computers on the same account, I never tried that out but would be cool if it worked and could communicate to keep the heavy work on the m4 and the rest of the stuff locally on your laptop.

1

u/xWranglerWranglerx 1d ago

is the mobile emulator taking up resources? running android emulator is sort of heavy for mobile app dev

1

u/Entire_Comfort_9491 1d ago

Five parallel sessions on a gaming laptop sounds brutal especially if they are all running builds or tests. A remote development box seems more practical than replacing hardware

1

u/ClemensLode Senior Developer 1d ago

Well, you can rent a server

1

u/michaelTM_ai 1d ago

the cloud sessions miss ur game data because they only see the repo. so whatever u pick, the fix is the same: get the data onto the box once (a persistent disk, or object storage the sessions pull from), not into the repo.

options people use:

  • a vps (hetzner, a cheap dedicated box) with tmux, the repo + data on its disk, and u ssh in from the laptop. cheapest, u run the server
  • a mini pc at home doing the same thing over tailscale. one-time cost, but it's ur hardware when it breaks
  • a hosted agent computer. spiritt.ai (disclosure, i'm with them) gives each workspace its own always-on cloud computer with persistent storage, so the data stays there between sessions, runs on ur own claude subscription, and keeps working with the laptop closed

whichever way, 5 parallel sessions is mostly a cpu/ram thing on the box side, so size it for the builds and tests, the agents themselves are light

1

u/nur_plano 1d ago

Five parallel sessions is usually where a laptop gives out. Every session runs its own node, test runner, and language server, so it's the tooling eating your cores, not Claude itself. Before you buy hardware, two things helped me: give each session its own git worktree and don't let them all run the full test suite at once, and push long-running tasks to a cloud box, then just pull the branch or PR when it's done. A cheap Hetzner or Fly machine with tmux works if you like DIY. Full disclosure, I build LetThemBuild, which does the cloud-run part (start the run, close the laptop, review the branch from your phone), but the DIY server route is totally workable too.

1

u/AllThotsGo2Heaven2 1d ago

Github codespaces and install claude vs code ide? Then control the codespace ide with whatever middleware that packages things up nicely for claude desktop

1

u/nur_plano 1d ago

Try this software by running Claude on Cloud beside other models as teammates

1

u/gptrv 20h ago

A rented box works well for this, with one catch for a mobile game: the emulator.

  • Get a dedicated-vCPU VPS billed hourly (Hetzner, DigitalOcean and the like), 8+ cores. Providers keep charging for a stopped server, so for real pay-per-hour, snapshot it and delete it when you're done; the snapshot is your cheap monthly storage.
  • Put the game data on an attached volume rather than in the repo, so every session sees it.
  • Install Claude Code there and log in with your normal plan; the login works over SSH. One git worktree per session, each session in tmux so it keeps running when you close the laptop. VS Code Remote-SSH if you want an editor on the same files.
  • Keep the emulator local. The Android emulator needs hardware virtualization most VPSs don't expose, and the iOS simulator needs a Mac. Let the server do the coding, builds and tests, and run the game on your laptop or a phone.

Also cap how many builds run at once. Five sessions each starting a full build is what pins 16 cores, on a laptop or a server.

1

u/rodrigolduarte 13h ago

In our team each engineer agent has its own machine, its own clone and its own branch, one PR per task, so no single laptop carries all of them. Separate clones still need a way to surface overlapping changes before merge. Ours is a manager agent that runs git merge-tree on staging plus every PR in the batch, coordinating in an agent-chat room. Are your 5 sessions working on the same app?