Understanding Windows Azure Pack – How to guide with Express Edition on Nutanix – Windows Azure Pack Install – Part 5

To continue Windows Azure Pack series here is my next topic:  Installing and Configuring Windows Azure Pack

If you missed other parts of the series, check links below:
Part 1 – Understanding Windows Azure Pack
Part 2 – Understanding Windows Azure Pack – Deployment Scenarios
Part 3 – Understanding Windows Azure Pack – How to guide with Express Edition on Nutanix – Environment Prep
Part 4 – Deploying Service Provider Framework on Nutanix

Again to reiterate from my previous blog posts and set some context, Windows Azure Pack (WAP) includes the following capabilities:


  • Management portal for tenants – a customizable self-service portal for provisioning, monitoring, and managing services such as Web Site Clouds, Virtual Machine Clouds, and Service Bus Clouds.
  • Management portal for administrators – a portal for administrators to configure and manage resource clouds, user accounts, and tenant offers, quotas, and pricing.
  • Authentication sites – these sites provide authentication services for the management portal for administrators and the management portal for tenants.  Windows Authentication + ADFS for Admins Sites and ASP.NET provider for tenants
  • Service management API – a REST API that helps enable a range of integration scenarios including custom portal and billing systems.

IaaS Resources:

  • Web Site Clouds – a service that helps provide a high-density, scalable shared web hosting platform for ASP.NET, PHP, and Node.js web applications. The Web Site Clouds service includes a customizable web application gallery of open source web applications and integration with source control systems for custom-developed web sites and applications.
  • Virtual Machine Clouds – a service that provides infrastructure-as-a-service (IaaS) capabilities for Windows and Linux virtual machines. The Virtual Machine Clouds service includes a VM template gallery, scaling options, and virtual networking capabilities.
  • Service Bus Clouds – a service that provides reliable messaging services between distributed applications. The Service Bus Clouds service includes queued and topic-based publish/subscribe capabilities.
  • SQL and MySQL – services that provide database instances. These databases can be used in conjunction with the Web Sites service.
  • Automation – the capability to automate and integrate additional custom services into the services framework, including a runbook editor and execution environment.
  • Optional resource = what you are going to connect with WAP (for example, SCVMM cloud, SQL Server, etc).
  • Required components = Windows Azure Pack components which you install on one machine (express) or on multiple machines (distributed)

In other words, WAP is interface between your resources and tenants = clientscustomers. On the following diagram you can see the main components of WAP, cloud components and optional resources. WAP can be deployed in 2 different ways – express and distributed as previously discussed. In the express deployment, like we are deploying in this series, you can install all WAP components on one machine for labdemo purposes. If you want to have WAP in your production environment, you should always use distributed deployment as mentioned in previous posts in this series. In such a deployment, WAP required and optional components are installed on multiple machines.
Below are examples of various distributed deployments
WAP-DIS1 Windows Azure PackWAP-DIS3 Windows Azure PackWAP-DIS2 Windows Azure Pack
In this blog post I will explain how to perform the following procedures;


  • System Center Virtual Machine Manager 2012 R2 (VMM01) is installed and configured:
    • Member of the AD domain
    • One or more SCVMM Clouds created in SCVMM (See video)
    • One or more VM Networks created in SCVMM
  • Service Provider Foundation is installed as shown in my previous blog post
    • SPF IIS Web service running under a domain account
  • SQL Server Instance is installed running SQL 2012 or later for Hosting WAP Client Databases (DB01)
    • Member of the AD domain
    • With SQL Authentication enabled (Using SA)
  • WAP Server (WAP01)
    • Windows 2012 R2 Full Server (not core) with all current updates
    • Member of AD domain

Installing Windows Azure Pack:

  1. On the freshly build WAP Windows Server 2012 R2 server follow the prerequisites steps to install WAP
  2. Disable Internet Explorer Enhanced Security
    IEsecdisable Windows Azure Pack

    1. Install Microsoft Web Platform Installer (Web PI) 4.6 (it can be downloaded from here if the WAP server has no Internet follow this blog post)
    2. Install the following software through Web Pl, in this order:
      1. Enable Microsoft .NET Framework 3.5 SP 1 in Server Manager
      2. .NET 4.5 Extended, with ASP.NET for Windows 8.
      3. IIS recommended configuration.
  3. Launch WEB PI (Windows Platform Installer) Installer
  4. Select Products from the top menu
  5. Type: Windows Azure Pack in the search field in the left side
  6. Click Add Windows Azure Pack: Portal and API Express
    WindowsAzur2 Windows Azure PackWAP Express installer in Web PI
  7. Click Install at the bottom of the WEB PI windows
  8. Read the terms of use, Click I Accept
  9. When the Wizard completes the installation, it will present a screen as the one described in the picture below asking to Continue. When clicking the Continue button, an Internet Explorer Window will be launched
    WindowsAzur3 Windows Azure Pack
    WAP Install screen in Web PI

    WindowsAzur4 Windows Azure Pack
    WAP Install screen in Web PI
  10. In the recently opened Internet Explorer page, copy the URL, and launch a new browser with administrative privileges. When the new browser is opened, paste the URL you obtained before (https://localhost:30101/)
  11. In the browser, if you are presented with warnings related to the certificate, click continue. and then the Windows Azure Pack Setup will be displayedWindowsAzur5 Windows Azure PackWAP Install screen in Web PI
  12. In the Database Server page, provide the following information:
    Server Name: an instance that accepts SQL Authentication (for example db01.contoso.com)
    Authentication type: SQL authentication (Windows Authentication can also be used).
    Database server admin username: sa
    Password: ********
    Passphrase: ********
  13. Click on the arrow for next.WindowsAzur6 Windows Azure PackDatabase Server setup in WAP install
  14. In the Customer Experience Improvement program, select one Yes (MS needs your feedback:) ) and click Next
  15. In the Features Setup page, click on the to finish the wizard.
  16. Once the setup has completed, click in the arrow button
    WindowsAzur8 Windows Azure Pack
  17. Sign out and Sign in from WAP01 (this needs to be done for the user to be registered correctly in WAP)
  18. Open a browser and go to: https://wap01:30091

Validating the WAP installation succeeded:

  1. Log on to the WAP Server as Administrator
  2. Start IIS Management Console
  3. Check that the following IIS WEB Sites are created from pic below:
  4. Log on the SQL Server (SQL01) as SQL Administrator
  5. Open SQL Management Studio on the SQL Server as SA
  6. Check that the following Databases were successfully created from pic below:

Websites created after WAP Install

Configuring SCVMM and SPF

SCVMM Configuration

  1. Log on to SCVMM Server as Administrator
  2. Start the SCVMM Console
  3. In the SCVMM console go to Fabric – Servers – All Hosts and verify your Nutanix Cluster is available and also your shares are available. vmmhosts Windows Azure Packvmmshares Windows Azure Pack
  4. Once hosts have been verified, copy one or more syspreped vhds to the VMM Library (e.g. \NTNXHYPERV-smb.nutanixbd.localNTNXHYPERV-libraryVHDs)
    WindowsAzur12 Windows Azure Pack
  5. Now create one or more clouds in SCVMM (in this case we created two: Contoso and Fabrikam, Microsoft default example companies) and assign one or more logical networks to the cloud. Make sure you leave Capability Profiles unchecked
    WindowsAzur13 Windows Azure Pack
  6. Under VM Networks, create a VM Network, a subnet and an IP Pool. Connect the VM Network to a logical network that was assigned to the cloud created earlier. (e.g. Contoso Tenant)
    WindowsAzur14 Windows Azure Pack
  7. Then create one or more hardware profiles (for example, small, medium and large)
    WindowsAzur15 Windows Azure Pack
  8. Create templates from the syspreped VHDs copied to the library (for example, Windows Server 2012 R2 Core and Windows Server 2012 R2 GUI)
    WindowsAzur16 Windows Azure PackNOTE: – when creating the VM templates, in Hardware Profiles it’s not necessary to select one, for our example we created medium, then click next, and make sure that you select Create a new Windows Operating System Customization Settings, and select the operating system (for example, Windows Server 2012 R2 Datacenter). If this is not selected, the VM will not show up in the Windows Azure Pack Portal.
  9. Select Settings
  10. Add the user under which the SPF Web Service (Application Pool) account is running to the Administrators group
    Click Security > User Roles
    Click Administrators > Members
    Click Add and select the user that SPF Web Service (Application Pool) is running with. (See my SPF Blog Post)

Service Provider Foundation Configuration

  1. Log on to the SPF Server as Administrator.
  2. Start Computer Management
  3. Select Local User and Groups
  4. Create a user you want to use for SPF by right click Users > new user (e.g. spf)
    Note: This is not the same as the SPF Web Service (Application Pool). This is a local user on the SPF Server.
  5. Click on the user and select the “Member Of” tab.
    Note: Make the user member of all Groups starting with “SPF_”WindowsAzur17 Windows Azure Pack
  6. Verify that the SPF Web Service is running under the right user credentials
    Note: The way SPF executes commands against VMM will be in the context of the user under which the web service is running.
    To verify that the SPF Web Service is running under the right service account check the following:

    1. Log on to the SPF server as an administrator
    2. Start IIS Manager
    3. Expand SPF Server > Sites and verify that SPF shows in the list.
    4. Select Applications Pools under connection menu
    5. Verify that both the SCVMM and Provider Application Pools are running under the account (Identity) that is also a member of the VMM Administrators WindowsAzur18 Windows Azure Pack

Configuring the Windows Azure Pack

In this section we will be configuring the following:

  • Configuring VM Clouds Resource Provider in the Windows Azure Pack
  • Configure SQL Servers Resource Provider in the Windows Azure Pack
  • Configuring a plan in Windows Azure Pack
  • Configure a Admin Account and a subscription in Windows Azure Pack
  • Login as a Tenant and provision a VM and SQL Database to a Cloud

Configuring VM Clouds Resource Provider in the Windows Azure Pack

  1. Log on to WAP Admin Portal as an administrator (e.g. https://wap01.contoso.com:30091)
  2. Finish the Intro tour and click Ok
  3. In the main window, Select VM CloudsWindowsAzur19 Windows Azure Pack
  4. In the VM Clouds Window select Register System Center Service Provider Foundation
  5. Type the Service URL, Username and Password
    Note: the User name and password is the user created locally on the SPF server and which was added to the SPF groups earlier in post
    WindowsAzur20 Windows Azure Pack
  6. Verify that the registration goes sucessful
    WindowsAzur21 Windows Azure Pack
  7. Register VMM: Go to VM Clouds – Clouds – Use an existing Virtual Machine Cloud Provider to Provision Virtual Machines, and provide the following info:
    Virtual machine manager server: vmm01
    Port number (optional):
    Remote Desktop Gateway:
    Click on register
    Verify that VMM Server registers correctly by selecting the server under clouds and verify that all clouds shows for the VMM Server
    WindowsAzur22 Windows Azure Pack

Configure SQL Servers Resource Provider in Windows Azure Pack

  1. In the WAP Admin Portal, go to SQL Servers
  2. Click on Add an existing server to the hosting server group
  3. In the wizard provide the following information:
    1. SQL Server Group: Default
    2. SQL Server name: db01
    3. Username: sa
    4. Password: ********
    5. Size of hosting server in GB: 20
      WindowsAzur23 Windows Azure PackNote: The SQL Server used for the SQL server must have SQL Authentication enabled for the Service Provider service to work
  4. Verify that the following message shows in the status area
    WindowsAzur24 Windows Azure Pack
  5. Under Servers there should now be a new SQL Server showing
    WindowsAzur25 Windows Azure Pack

Configuring a Plan in Windows Azure Pack

  1. In the WAP Admin Portal, go to Plans.
  2. Click on + New -> PLAN -> CREATE PLAN
  3. Specify a name for the plan (e.g. Contoso)
  4. Select the service that should be offered via the plan (e.g. Virtual Machine Clouds and SQL Servers) and click next
    WindowsAzur26 Windows Azure Pack
  5. Skip add-ons and click Ok
    Note: In our scenario we created two plans: Contoso and Fabrikam.
  6. Under plan verify that the new Plan(s) shows in the list
    WindowsAzur27 Windows Azure Pack
  7. Click on the first plan created
  8. Under plan service, click on Virtual Machine Clouds
  9. Select the VMM Server (There should only be one in the list).
  10. Under Virtual Machine Cloud, select the Cloud for which you would like to use with the plan (e.g. Contoso)
  11. Under Usage limit, specify the usage limits that the plan should use
    WindowsAzur28 Windows Azure Pack
  12. Under networks, click Add network
  13. Select the VM networks that should be used for the plan and click Ok
    WindowsAzur29 Windows Azure Pack
  14. Click Add hardware profiles
  15. Select the hardware profiles that should be used for the plan and click Ok
    WindowsAzur30 Windows Azure Pack
  16. Click Add Templates and select the templates that should be used for the plan
    WindowsAzur31 Windows Azure Pack
  17. Under Additional settings, select the actions that should be allowed within the plan
  18. Click Save
  19. Verify that the plan service shows as configured and Active for both services
    WindowsAzur32 Windows Azure Pack

Configure a Admin Account and a subscription in Windows Azure Pack

  1. In the WAP Admin main menu click User Accounts
  2. Click + New -> User Account > Quick Create >
  3. Provide the following information:
    1. E-mail: eg. admin@nutanixbd.local
    2. Password: *******
    3. Select a plan (e.g. Contoso)
  4. Click Create
  5. Click on the newly created user and verify that a subscription shows.
    WindowsAzur33 Windows Azure Pack

Login as a Tenant and provision a VM and SQL Database to a Cloud

  1. Open a browser and go to the WAP Tenant Portal (e.g. https://wap01.contoso.com:30081)
  2. Specify the user account created earlier and password (e.g. admins@nutanixbd.local)
  3. Click on Submit
  4. Finish the introduction wizard
  5. Click on Virtual Machines
  6. Click Create a virtual Machine Role
  7. Select Standalone Virtual Machine
  8. Select From Gallery -> Templates
  9. Select a template in the list and click Next
    WindowsAzur34 Windows Azure Pack
  10. Provide the following information of the VM
    1. Name: e.g. Contoso01
    2. Password: ********
    3. Product Key
      Note: Depending on what kind of sysperped image is used, it’s necessary to provide a product key. Only if the image is build using a Volume License image it might not be needed to provide a product key.
  11. Select a network for the Virtual Machine e.g. Contoso Tenant (this is the network that was selected when creating the plan)
    WindowsAzur35 Windows Azure Pack
  12. Click Next
    WindowsAzur36 Windows Azure Pack
  13. Go to System Center Virtual Machine Manager 2012 R2 Server and start the SCVMM Console
  14. Select Job and Select Running
  15. Verify that one job shows provisioning the virtual machine
    WindowsAzur37 Windows Azure Pack
  16. Go back to the WAP Tenant Portal
  17. Select SQL Server Databases
  18. Click Add a New Database
  19. Specify a Name for the Database (e.g. DB01)
  20. Click Next
  21. Provide a User Name and a Password (e.g. dba01)
    WindowsAzur38 Windows Azure Pack
  22. Click Ok to create the Database
  23. Verify that the job completes with success.
    WindowsAzur39 Windows Azure Pack
  24. Click on All Items
  25. Verify that a VM and a Database shows in the list
    WindowsAzur40 Windows Azure Pack

Thats it…you did it…you build your own IaaS on Nutanix…I hope this blog post will help you with installing and configuring Windows Azure Pack on Nutanix.  If you run into any issues, during the deployment, please feel free to post a comment.
Until next time, enjoy building your Nutanix Windows Azure Pack IasS offering!

In the next blog post we will look at how you can create certificates and reconfigure portals and ports for Windows Azure Pack