O'Reilly logo

DevOps Bootcamp by Mitesh Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required