Creating and configuring a virtual machine in Microsoft Azure

To create and configure Chef and Microsoft Azure integration, we need to provide the Microsoft Azure account and credentials. To get Microsoft Azure credentials, download the publishsettings file and perform the following steps:

  1. Login to the Microsoft Azure portal using the login name and password and download a publishsettings file from https://manage.windowsazure.com/publishsettings/index?client=xplat.
  2. Copy it on a Chef workstation and refer to this local file by creating an entry in the knife.rb file:
        knife[:azure_publish_settings_file] = "~/<name>.publishsettings"
  1. The following are the parameters to create a virtual machine in the Microsoft Azure public cloud:
Parameter ...

Get DevOps Bootcamp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.