How to create an image from an existing disk in Azure

0 votes

Hi Team,

I have launched one VM in Azure. Now I want to create an image from the existing disk of the VM? How can I do that?

Nov 13, 2020 in Azure by akhtar
• 38,170 points
94 views

1 answer to this question.

0 votes

Hi@akhtar,

Sometimes we need to create a custom Virtual Machine image from managed disks or snapshots. In the future, we can launch a VM using our own customized image. The following command shows how to create an image.

$ az image create -g MyResourceGroup -n image1 --os-type Linux  --source MyVm1
answered Nov 13, 2020 by MD
• 95,180 points

Related Questions In Azure

0 votes
1 answer

How to create a deployment from a remote template file in Azure?

Hi@akhtar, You can create a deployment from a ...READ MORE

answered Nov 15, 2020 in Azure by MD
• 95,180 points
52 views
0 votes
1 answer

How to create an empty snapshot in Azure?

Hi@akhtar, A snapshot is a full, read-only copy ...READ MORE

answered Nov 16, 2020 in Azure by MD
• 95,180 points
89 views
0 votes
1 answer

How to create an app service plan in Azure?

Hi@akhtar, An App Service plan defines a set of computing ...READ MORE

answered Nov 16, 2020 in Azure by MD
• 95,180 points
74 views
0 votes
1 answer

How to update an existing Kubernetes cluster with new service principal in Azure?

Hi@akhtar, Sometimes it is required to update the ...READ MORE

answered Nov 17, 2020 in Azure by MD
• 95,180 points
148 views
0 votes
1 answer

What is Azure Cloud Service?

Azure Cloud Services is an example of ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,050 points
242 views
0 votes
2 answers

Azure DevOps and its need?

Azure DevOps is a hosted service providing ...READ MORE

answered Aug 28, 2020 in Azure by nbavis
• 380 points
364 views
0 votes
1 answer

What is Azure stack?

Azure Stack is a hybrid cloud computing software solution ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,050 points
230 views
0 votes
1 answer

How is Azure Cosmos db different from an Azure SQL db?

Azure Cosmos DB is Microsoft’s globally distributed database ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,050 points
1,016 views
0 votes
1 answer

How to create a snapshot by copying an existing disk in Azure?

Hi@akhtar, Azure Managed Disk snapshots are used to create a point ...READ MORE

answered Nov 16, 2020 in Azure by MD
• 95,180 points
82 views
0 votes
1 answer

How to import an image from Docker Hub to a private registry in Azure?

Hi@akhtar, You can import any image from Docker ...READ MORE

answered Nov 13, 2020 in Azure by MD
• 95,180 points
204 views