question

Laurenz22Millin-6794 avatar image
0 Votes"
Laurenz22Millin-6794 asked singhh-msft commented

Azure AMI? Or Image template to use on a different account?

How can I create a duplicate of a vm that was made on another account and use it on a new one. For instance, like AWS AMI which has preconfiguration and data already loaded on a template all you have to do is deploy. Is something like that available for Amazon so I can deploy a machine on a totally separate account with my apps and data already installed on the machine?

Thanks in advance,

azure-virtual-machines
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Laurenz22Millin-6794 , thank you for reaching out to us. I am sorry if I misunderstood your question, but can you check out this thread and let me know if it helps your query?


0 Votes 0 ·

This is cloning the VM on the same account. I want to clone this VM and use it on a totally different azure account. Where I can launch an instance with my data and configurations from the VM on my main account, like a template.

0 Votes 0 ·

I want to transfer the vm and all its data, configs, etc. to another account

0 Votes 0 ·

1 Answer

singhh-msft avatar image
0 Votes"
singhh-msft answered singhh-msft commented

@Laurenz22Millin-6794 , I understand that you want to copy/clone your VM into completely new Azure account and/or subscription. To do so, Azure provides couple of options to choose from:

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Laurenz22Millin-6794 , just checking in to see if you got a chance to check out this answer.

0 Votes 0 ·

Yes. Thanks a lot

0 Votes 0 ·

For the second option, what am I supposed to do? I have never used aws cli or any scripts before.

0 Votes 0 ·
singhh-msft avatar image singhh-msft Laurenz22Millin-6794 ·

@Laurenz22Millin-6794 , if you want to do this activity for one-time, you can use Windows PowerShell desktop application to provide appropriate values for variables (like sourceSubscriptionId, sourceResourceGroupName, etc.) and run the script in second option.

If you want to do this frequently, I would suggest you to automate the process by using ADO pipelines.

Do share your valuable feedback to help us know your experience with us.




0 Votes 0 ·