Azure VM creation through Powershell & Jenkins

Topic Tools

We have discussed Azure Image creation in our last article on Azure VM Image creation through Powershell

Now, lets create the Azure VM with Azure Image ….

Azure-Jenkins-and-Powershell

I am providing you my Powershell script which you can first edit according to your configuration and then configure it as a Jenkins job to create a Azure VM through Jenkins

 

You can configure the Jenkins Job by adding a “Build” step and choose “Windows Powershell

Provide your script name along with full path in Command box

And then trigger the Jenkins Job …..

Jenkins-Powershell-Azure-VM-Creation-3

Once triggered, You can then verify the same in Azure portal as well.

Jenkins-Powershell-Azure-VM-Creation-1

 

And check the Jenkins Console Output

Jenkins-Powershell-Azure-VM-Creation

Once Jenkins job is completed, you can cross-verify in Azure portal.

Jenkins-Powershell-Azure-VM-Creation4

That’s all. You have now successfully created an Azure VM through Jenkins 🙂

We will shortly back with AWS stuff, till then stay tuned ….

1 comment… add one

  • Mohan

    Awesome Ravi, waiting for more

Leave a Comment