The local data involved in instance migration includes data from the System Disk and the Data Disk, both of which can be migrated.
When migrating an instance, there are two scenarios:
Migrating an instance within the same region (simple and fast). You can directly refer to the documentation for migrating instances within the same region.
Migrating an instance across regions.
If you frequently encounter situations where there are “Not enough idle GPUs”:you can switch from a Pay-as-you-go Mode to Subscription Mode (daily or weekly basis).Select the subscription pricing option when renting, or for instances you’ve already rented, click on ‘Switch to Subscription’ in the ‘More’ actions for the instance. Please refer to the documentation on changing the billing method for detailed instructions.
Whether migrating within the same region or across regions, it is recommended to use the image saving feature to migrate the system disk. After saving the image, you can select My Images to create a new instance in the new region.
Creating an instance from a private image in a new region may take some time (as the image needs to be transferred from the public network to the new region, and no charges are incurred during the creation process).If you’re concerned about being billed after the instance is created and started, here’s a helpful tip:You can set a scheduled shutdown. Set the shutdown time to 3 minutes from the current time, for example, if it’s 12:00 now, set the scheduled shutdown for 12:03. This way, the instance will automatically shut down after it’s created, saving you costs.The next time you start the instance or create one in the same region, you’ll enjoy faster startup speeds.
Go to the instance’s “More” -> “Copy Data Across Instances”. This feature copies data at a speed of approximately 100MB/s or more, and even small files have been optimized for very high speed. If you want to copy the entire data disk, simply enter the wildcard character * in the “Source Instance Data Path” field.
If you are migrating data from Instance A to Instance B, then:
Cross-instance copying will be transmitted over the public network, which is relatively slow, generally around 10MB/s. The speed can be several times slower when there are many small files.
For example: To copy a file (folder) from the source instance in Singapore Region A to the target instance in Kuala Lumpur Region A.
Steps are as follows:
Step 1: For the target instance in Kuala Lumpur Region A, assume its SSH command is: ssh -p 66666 region-3.gpuhub.com
Step 2: Execute the following command in the terminal of the source instance in Singapore Region A.
Note that the parameter in the command below is -rP, not -rp. Replace all other parameters with the corresponding values from your SSH command.
This command remotely copies the file/folder (demonstrated here as: /root/gpuhub-tmp/xxx) from the source instance in Singapore Region A to the target instance in Kuala Lumpur Region A.
If there are many small files, the direct scp folder method mentioned above can be very slow. You can use the following method to copy.
Execute the following command in the terminal of the source instance in Singapore Region A:
bash
cd /root/gpuhub-tmp/ && tar cf - * | ssh -p 66666 root@region-3.gpuhub.com "cd /root/gpuhub-tmp && tar xf -"
This command copies all files in the /root/gpuhub-tmp directory of the source instance to the target instance.
You can first upload the data from the source instance to a cloud disk, and then download the data from the cloud disk to the target instance. For instructions on using a cloud disk, please refer to the public 3rd-Party Cloud Drives documentation.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mint Starter Kit","description":"GPUhub Documentation","colors":{"primary":"#964CEF","light":"#C493FF","dark":"#6F27C5"},"logo":{"light":"https://mintcdn.com/gpuhub/wL6E4LFUzA6FP7VX/logo/light.svg?fit=max\u0026auto=format\u0026n=wL6E4LFUzA6FP7VX\u0026q=85\u0026s=aac94265738621a43d2d2a5afabe6f38","dark":"https://mintcdn.com/gpuhub/wL6E4LFUzA6FP7VX/logo/dark.svg?fit=max\u0026auto=format\u0026n=wL6E4LFUzA6FP7VX\u0026q=85\u0026s=c7adcf4558f6b6c73111f89fbcb71cb2"},"favicon":"https://mintcdn.com/gpuhub/swpOJzF6Pn2RHDvu/favicon.svg?fit=max\u0026auto=format\u0026n=swpOJzF6Pn2RHDvu\u0026q=85\u0026s=506e325d2301a7ffe9c2336439347e47","appearance":{"default":"system"},"navbar":{"links":[{"href":"mailto:support@gpuhub.com","label":"Support"}],"primary":{"type":"button","label":"Console","href":"https://gpuhub.com/"}},"footer":{"socials":{"x":"https://x.com/gpuhubnews","github":"https://github.com/gpuhub-source","linkedin":"https://www.linkedin.com/company/106417537","discord":"https://discord.gg/PVdwkynM75","youtube":"https://www.youtube.com/channel/UC2qUAYW-gmjBjs_DAZbpGlg"}},"search":{"prompt":"Select the GPU suits your purpose and scenario"},"integrations":{"ga4":{"measurementId":"G-KDSJ905XX7"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/PVdwkynM75"},{"anchor":"Telegram","icon":"telegram","href":"https://t.me/+x1igBQ49Z0NkN2E1"},{"anchor":"X","icon":"x-twitter","href":"https://x.com/hub_gpu"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/channel/UC2qUAYW-gmjBjs_DAZbpGlg"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gpuhub","hasAudioNarration":false,"actualSubdomain":"gpuhub","customDomains":["docs.gpuhub.com"],"gitSource":{"type":"github","owner":"narwal99","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae1c36d8a46f6fe5a22603e","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"AI Gateway","count":22},{"language":"default","tag":"Guides","count":20},{"language":"default","tag":"Best Practices","count":19},{"language":"default","tag":"LLMs","count":15},{"language":"default","tag":"Instance","count":13},{"language":"default","tag":"Elastic Deployment","count":9},{"language":"default","tag":"FAQ","count":8},{"language":"default","tag":"Frequently Asked Question","count":8},{"language":"default","tag":"Terms of Service","count":8},{"language":"default","tag":"Tools \u0026 Environment","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".max-w-8xl{max-width:100%!important}.pl-4{text-transform:uppercase}.eyebrow{text-transform:uppercase}"}],"page":{"pagePath":"container-instance/migrate-instance","slug":"/container-instance/migrate-instance","pageMetadata":{"title":"Migrate Instance","description":"The local data involved in instance migration includes data from the **System Disk and the Data Disk**, both of which can be migrated.","href":"/container-instance/migrate-instance"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"The local data involved in instance migration includes data from the \", _jsx(_components.strong, {\n children: \"System Disk and the Data Disk\"\n }), \", both of which can be migrated.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,OptimizedImage,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`When migrating an instance, there are two scenarios:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Migrating an instance within the same region (simple and fast). You can directly refer to the `,_jsx(_components.a,{href:`/container-instance/migrate-instance-sr`,children:`documentation`}),` for migrating instances within the same region.`]}),`\n`,_jsx(_components.li,{children:`Migrating an instance across regions.`}),`\n`]}),`\n`,_jsxs(Tip,{children:[_jsxs(_components.p,{children:[`If you frequently encounter situations where there are `,_jsx(_components.strong,{children:`“Not enough idle GPUs”`}),`:`]}),_jsx(_components.p,{children:`you can switch from a Pay-as-you-go Mode to Subscription Mode (daily or weekly basis).`}),_jsxs(_components.p,{children:[`Select the subscription pricing option when renting, or for instances you’ve already rented, click on ‘Switch to Subscription’ in the ‘More’ actions for the instance. Please refer to the `,_jsx(_components.a,{href:`/container-instance/change-billing-model`,children:`documentation`}),` on changing the billing method for detailed instructions.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`migrate-system-disk`,children:`Migrate System Disk`}),`\n`,_jsxs(_components.p,{children:[`Whether migrating within the same region or across regions, it is recommended to use the `,_jsx(_components.a,{href:`/container-instance/save-image`,children:`image saving`}),` feature to migrate the system disk. After saving the image, you can select `,_jsx(_components.strong,{children:`My Images`}),` to create a new instance in the new region.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-system-image.png?fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=7ebc596f0ed7f34ca560f750b328b40a`,alt:``,\"data-og-width\":`1668`,width:`1668`,\"data-og-height\":`855`,height:`855`,\"data-path\":`images/migrate-system-image.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-system-image.png?w=280\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=0e2af6da49893023b007f6fbb736d1b7 280w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-system-image.png?w=560\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=a315283af1d2f1f6764ab9ece6dc96e7 560w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-system-image.png?w=840\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=476602346346b81a5d0f0eb4ecfe2760 840w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-system-image.png?w=1100\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=f7cdfe48832e08a88b98dbf84c6198a2 1100w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-system-image.png?w=1650\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=7d32ada4e3e8e8b6f230a4882b3f824d 1650w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-system-image.png?w=2500\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=2afb94c696954bc63f58861168692f2e 2500w`}),`\n`,_jsxs(Tip,{children:[_jsx(_components.p,{children:`Creating an instance from a private image in a new region may take some time (as the image needs to be transferred from the public network to the new region, and no charges are incurred during the creation process).`}),_jsx(_components.p,{children:`If you’re concerned about being billed after the instance is created and started, here’s a helpful tip:`}),_jsxs(_components.p,{children:[`You can `,_jsx(_components.strong,{children:`set a scheduled shutdown`}),`. Set the shutdown time to 3 minutes from the current time, for example, if it’s 12:00 now, set the scheduled shutdown for 12:03. This way, the instance will automatically shut down after it’s created, saving you costs.`]}),_jsx(_components.p,{children:`The next time you start the instance or create one in the same region, you’ll enjoy faster startup speeds.`})]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-set-shutdown.png?fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=923fd1bc965d940ae40bf9415f3f5fe9`,alt:``,\"data-og-width\":`1670`,width:`1670`,\"data-og-height\":`811`,height:`811`,\"data-path\":`images/migrate-set-shutdown.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-set-shutdown.png?w=280\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=d1ed585110f4d2a84461dbed184eba4f 280w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-set-shutdown.png?w=560\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=ab1e69a33b2cb8304a05b8c06dd7ed07 560w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-set-shutdown.png?w=840\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=7e750dcff14d91888ecf21bbb78b17f7 840w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-set-shutdown.png?w=1100\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=598d584feaf83e34357d53c96e0c0933 1100w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-set-shutdown.png?w=1650\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=39eef10f448454b9be9afa4333ade826 1650w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-set-shutdown.png?w=2500\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=4c99c581ef6b11206765d62499d5e3e3 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`migrate-data-disk-same-region`,children:`Migrate Data Disk: Same Region`}),`\n`,_jsxs(_components.p,{children:[`Go to the instance’s “More” -> “Copy Data Across Instances”. This feature copies data at a speed of approximately 100MB/s or more, and even small files have been optimized for very high speed. If you want to copy the entire data disk, simply enter the wildcard character `,_jsx(_components.code,{children:`*`}),` in the “Source Instance Data Path” field.`]}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:`If you are migrating data from Instance A to Instance B, then:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Instance A is the Source Instance,`}),`\n`,_jsx(_components.li,{children:`and Instance B is the Target Instance.`}),`\n`]})]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-copy-data.png?fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=ad3101babb89b91757cf12f7c9d09b8c`,alt:``,\"data-og-width\":`1669`,width:`1669`,\"data-og-height\":`904`,height:`904`,\"data-path\":`images/migrate-copy-data.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-copy-data.png?w=280\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=788b634024bed057c3d9e58b9d317054 280w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-copy-data.png?w=560\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=4f9d4e8549d7ea4457ebdfdb3989f282 560w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-copy-data.png?w=840\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=aa63b9cc65a3f5501c3a1b831b768b42 840w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-copy-data.png?w=1100\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=56b18784cc279e794d09ae3897cf194a 1100w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-copy-data.png?w=1650\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=9ea0ff648d91fd467aced8aa4dcd17b7 1650w, https://mintcdn.com/gpuhub/r1V0ko0l9sh4RwWM/images/migrate-copy-data.png?w=2500\u0026fit=max\u0026auto=format\u0026n=r1V0ko0l9sh4RwWM\u0026q=85\u0026s=cb1faddf62399b426ea5e27c8a9ecd14 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`migrate-data-disk-across-regions`,children:`Migrate Data Disk: Across Regions`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Cross-instance copying will be transmitted over the public network, which is relatively slow, generally around 10MB/s. The speed can be several times slower when there are many small files.`})}),`\n`,_jsxs(_components.p,{children:[`For example: To copy a file (folder) from the source instance in `,_jsx(_components.strong,{children:`Singapore Region A`}),` to the target instance in `,_jsx(_components.strong,{children:`Kuala Lumpur Region A`}),`.\nSteps are as follows:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Step 1: For the target instance in Kuala Lumpur Region A, assume its SSH command is: `,_jsx(_components.code,{children:`ssh -p 66666 region-3.gpuhub.com`})]}),`\n`,_jsx(_components.li,{children:`Step 2: Execute the following command in the terminal of the source instance in Singapore Region A.`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Note that the parameter in the command below is `,_jsx(_components.code,{children:`-rP`}),`, not `,_jsx(_components.code,{children:`-rp`}),`. Replace all other parameters with the corresponding values from your SSH command.`]})}),`\n`,_jsx(CodeBlock,{filename:`bash`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`scp`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -rP`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 66666`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /root/gpuhub-tmp/xxx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` root@region-3.gpuhub.com:/root/gpuhub-tmp/`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This command remotely copies the file/folder (demonstrated here as: /root/gpuhub-tmp/xxx) from the source instance in Singapore Region A to the target instance in Kuala Lumpur Region A.`}),`\n`,_jsx(Heading,{level:`3`,id:`advanced-remote-file-copy-method`,children:`Advanced Remote File Copy Method`}),`\n`,_jsx(_components.p,{children:`If there are many small files, the direct scp folder method mentioned above can be very slow. You can use the following method to copy.\nExecute the following command in the terminal of the source instance in Singapore Region A:`}),`\n`,_jsx(CodeBlock,{filename:`bash`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cd`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /root/gpuhub-tmp/`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026\u0026 `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`tar`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` -`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` *`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` ssh`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -p`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 66666`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` root@region-3.gpuhub.com`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cd /root/gpuhub-tmp \u0026\u0026 tar xf -\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This command copies all files in the `,_jsx(_components.code,{children:`/root/gpuhub-tmp`}),` directory of the source instance to the target instance.`]}),`\n`,_jsx(Heading,{level:`3`,id:`using-3rd-party-cloud-drives-method`,children:`Using 3rd-Party Cloud Drives Method`}),`\n`,_jsxs(_components.p,{children:[`You can first upload the data from the source instance to a cloud disk, and then download the data from the cloud disk to the target instance. For instructions on using a cloud disk, please refer to the public `,_jsx(_components.a,{href:`/data/thirdparty-drives`,children:`3rd-Party Cloud Drives documentation`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Migrate Instance","description":"The local data involved in instance migration includes data from the **System Disk and the Data Disk**, both of which can be migrated.","href":"/container-instance/migrate-instance"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Migrate System Disk","slug":"migrate-system-disk","depth":2,"children":[]},{"title":"Migrate Data Disk: Same Region","slug":"migrate-data-disk-same-region","depth":2,"children":[]},{"title":"Migrate Data Disk: Across Regions","slug":"migrate-data-disk-across-regions","depth":2,"children":[{"title":"Advanced Remote File Copy Method","slug":"advanced-remote-file-copy-method","depth":3,"children":[]},{"title":"Using 3rd-Party Cloud Drives Method","slug":"using-3rd-party-cloud-drives-method","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/gpuhub/1b3d72170abac531/package/index.js"],"subdomain":"gpuhub","siteName":"Mint Starter Kit","title":"Migrate Instance - Mint Starter Kit","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-12-06T06:50:06.055Z","originalFileLocation":"container-instance/migrate-instance.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The local data involved in instance migration includes data from the System Disk and the Data Disk, both of which can be migrated.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mint Starter Kit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Migrate Instance - Mint Starter Kit\">\u003cmeta data-mint-head property=\"og:description\" content=\"The local data involved in instance migration includes data from the System Disk and the Data Disk, both of which can be migrated.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mint Starter Kit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gpuhub.com/container-instance/migrate-instance\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gpuhub.mintlify.site/_mintlify/api/og/v2?division=Mobility+%26+Flexibility\u0026amp;title=Migrate+Instance\u0026amp;description=The+local+data+involved+in+instance+migration+includes+data+from+the+**System+Disk+and+the+Data+Disk**%2C+both+of+which+can+be+migrated.\u0026amp;theme=4706c09e24807f6fe5a1ec81\u0026amp;signature=71d55673c8e11ea084400c57342152cf5a4a7bdb5a1c5523aba4d6f0f9effcc7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Migrate Instance - Mint Starter Kit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The local data involved in instance migration includes data from the System Disk and the Data Disk, both of which can be migrated.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gpuhub.mintlify.site/_mintlify/api/og/v2?division=Mobility+%26+Flexibility\u0026amp;title=Migrate+Instance\u0026amp;description=The+local+data+involved+in+instance+migration+includes+data+from+the+**System+Disk+and+the+Data+Disk**%2C+both+of+which+can+be+migrated.\u0026amp;theme=4706c09e24807f6fe5a1ec81\u0026amp;signature=71d55673c8e11ea084400c57342152cf5a4a7bdb5a1c5523aba4d6f0f9effcc7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/gpuhub/EOX3nZxGtcIJhBZL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mint Starter Kit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#964CEF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gpuhub.com/container-instance/migrate-instance\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/container-instance/migrate-instance.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gpuhub.com/#organization\",\"name\":\"Mint Starter Kit\",\"url\":\"https://docs.gpuhub.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gpuhub/wL6E4LFUzA6FP7VX/logo/light.svg?fit=max\u0026auto=format\u0026n=wL6E4LFUzA6FP7VX\u0026q=85\u0026s=aac94265738621a43d2d2a5afabe6f38\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gpuhub.com#website\",\"name\":\"Mint Starter Kit\",\"url\":\"https://docs.gpuhub.com\",\"publisher\":{\"@id\":\"https://docs.gpuhub.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gpuhub.com/container-instance/migrate-instance#webpage\",\"url\":\"https://docs.gpuhub.com/container-instance/migrate-instance\",\"name\":\"Migrate Instance\",\"description\":\"The local data involved in instance migration includes data from the System Disk and the Data Disk, both of which can be migrated.\",\"dateModified\":\"2025-12-06T06:50:06.055Z\",\"isPartOf\":{\"@id\":\"https://docs.gpuhub.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gpuhub.com/container-instance/migrate-instance#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gpuhub.com/container-instance/migrate-instance#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Mint Starter Kit\",\"item\":\"https://docs.gpuhub.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Migrate Instance\",\"item\":\"https://docs.gpuhub.com/container-instance/migrate-instance\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.gpuhub.com/container-instance/migrate-instance#article\",\"headline\":\"Migrate Instance\",\"name\":\"Migrate Instance\",\"description\":\"The local data involved in instance migration includes data from the System Disk and the Data Disk, both of which can be migrated.\",\"url\":\"https://docs.gpuhub.com/container-instance/migrate-instance\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gpuhub.com/container-instance/migrate-instance#webpage\"},\"dateModified\":\"2025-12-06T06:50:06.055Z\",\"publisher\":{\"@id\":\"https://docs.gpuhub.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gpuhub.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mint Starter Kit\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Mint Starter Kit","nav":{"global":{"anchors":[{"anchor":"Discord","icon":"discord","href":"https://discord.gg/PVdwkynM75"},{"anchor":"Telegram","icon":"telegram","href":"https://t.me/+x1igBQ49Z0NkN2E1"},{"anchor":"X","icon":"x-twitter","href":"https://x.com/hub_gpu"},{"anchor":"YouTube","icon":"youtube","href":"https://www.youtube.com/channel/UC2qUAYW-gmjBjs_DAZbpGlg"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"Instance","groups":[{"group":"Management \u0026 Configuration","pages":[{"title":"Overview","href":"/container-instance/overview"},{"title":"Scale Configuration","href":"/container-instance/scale-configuration"},{"title":"Change Billing Mode","href":"/container-instance/change-billing-model"},{"title":"Save Image","href":"/container-instance/save-image"},{"title":"Reset System","href":"/container-instance/reset-system"}]},{"group":"Connectivity \u0026 Access","pages":[{"title":"JupyterLab","href":"/container-instance/jupyterlab"},{"title":"SSH","href":"/container-instance/ssh"},{"title":"Remote Desktop","href":"/container-instance/remote-desktop"},{"title":"Open Ports","href":"/container-instance/open-ports"}]},{"group":"Deployment \u0026 Execution","pages":[{"title":"Run in Background","href":"/container-instance/run-in-background"},{"title":"Multi-Node Multi-GPU Parallelism","description":"This guide advises using single-node multi-GPU setups for efficiency and provides troubleshooting tips for multi-node parallel computing with GPUs.","href":"/container-instance/multi-node-multi-gpu"}]},{"group":"Mobility \u0026 Flexibility","pages":[{"title":"Migrate Instance","href":"/container-instance/migrate-instance"},{"title":"Migrate Instance (Same Region)","description":"For migrating instances within the same region, you can refer to this document. The operation is very simple and the migration speed is fast.","href":"/container-instance/migrate-instance-sr"}]}]},{"tab":"Data","pages":[{"title":"Data","href":"/data/local-data-disk"}]},{"tab":"Environment","pages":[{"title":"Environment","href":"/environment/overview"}]},{"tab":"Best Practices","pages":[{"title":"Best Practices","href":"/best-practices/sub-account"}]},{"tab":"Elastic Deployment","pages":[{"title":"Elastic Deployment","href":"/elastic-deployment/elastic-deployment"}]},{"tab":"API","pages":[{"title":"API","href":"/api-reference/api-authentication"}]},{"tab":"AI Gateway","pages":[{"title":"AI Gateway","href":"/ai-gateway/ai-gateway"}]},{"tab":"FAQ","pages":[{"title":"FAQ","href":"/faqs/system-disk-space-insufficient"}]}]},"basePath":"","title":"Migrate Instance - Mint Starter Kit","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-DkE6VzSN.js","lightbox-handle-r17bVUz3.js"]}