During recent overseas travels, I have found myself relying heavily on RunPod.io to generate images utilizing Cloud GPU, ensuring AI image generations are saved swiftly and conveniently. As RunPod.io deletes data after shutting down their GPU, an external solution is needed for storage. Enter Mega.nz, the storage solution I have employed to prevent data loss.
Several of RunPod.io’s Community Templates have become my preferred tools, and syncing my generations to Mega.nz’s cloud storage has been incredibly useful in retaining my work. What makes Mega.nz stand out as a storage solution? Well, new users receive 20GB of free storage upon sign-up, and the service is impressively fast as well as reliable.
Mega.nz provides a simple Command Line that helps in synchronising your RunPod.io folders to its cloud storage. The process is incredibly straightforward and works flawlessly. To access this service, simply create an account with Mega.nz, and make sure to keep your password in a secure location. An added benefit is that Mega.nz offers iOS and Android apps, enabling you to access your images on your phone. This functionality also allows for easy sharing on your socials.
The Mega Cmd line tool enables you to specify and sync folders from your RunPod.io instance to the Mega Cloud. Mega has an extensively documented page detailing this process, but I’ll provide you with the crucial details to ensure successful image syncing.
With your preferred RunPod Template engaged, open Jupyter Lab and launch Terminal. Then run the specified command. If that link is no longer available, look for newer versions on Mega.nz’s download page. Utilize the provided command to install the app. Now, you can log into Mega using the relevant command.
In the final step of setting up the sync, ensure you create the destination folder in Mega via their portal. Depending on the RunPod templates I’m using, I use the folder named “output”. With everything set up, your local folders will automatically sync with the destination folder in Mega Cloud. This method can be used to sync other folders, storing them in Mega and then syncing back into the RunPod instance. Personally, I use Google Drive for this task via a notebook.