Sunday 27 August 2017

Microsoft Azure Stack - Configuring Prerequisites & Preparing ASDK Kit "CloudBuilder.vhdx" - Part 4

Hello Everyone,

In my previous posts, I had explained about Azure Stack & all required prerequisites for it's deployment. In this post, I will explain about ASDK prerequisites configurations & prepare ASDK Kit for deployment.

PART 1: Microsoft Azure Stack - Introduction!

PART 2: Microsoft Azure Stack - Deployment Architecture with VM Roles!

PART 3: Microsoft Azure Stack - ASDK Deployment Prerequisites!

Let's start with configuring prerequisites... 


Below are Some basic configuration which should be completed & checked before You start preparing ASDK Kit "CloudBuilder.vhdx":

Disable Firewall:

Disable UAC:

Open control panel-> User Accounts-> Change User Accounts Settings & Disable:

Set PowerShell execution to RemoteSigned or Unrestricted by running below command:

Set-ExecutionPolicy Unrestricted:

Enable Remote Desktop & Disable IE Enhanced Security Configuration:

Open Server Manager-> Local Server:

Network Configuration:

Make sure only 1 NIC should be enabled, all other NIC should be disabled & Internet Access is providing:

NOTE: Port 80, 443 & 123 (TCP/UDP) are required. Refer prerequisites in PART 3!.

Disk Configurations:

Make Sure to have 5 Physical Disks with below configurations:

  • OS Disk: 200 GB
  • Data Disk: 250 GB each minimum.

Make sure that disk should be initialize & online but no volume should be created.

NOTE: Refer prerequisites in PART 3! for more details on support disk configurations.

Driver Update:

Install all required OEM drivers on Server & QLogic Drivers. You can download QLogic drivers from below link:

Other Prerequisites to be checked:

  • RAM should be 96 GB\
  • Processor should be dual-socket with total 12 cores or more.
  • OS should be Windows Server 2012 R2 or higher.


Click on below link to download ASDK Kit:

You need to provide required information to download kit & on next page, it will prompt the download link:

Build Version 20170627.1 is ASDK TP3 Kit.

Click on Browse to provide the local path where You want to store the downloaded file & the click download:

Once download completed, Click on Run to extract the files:

Accept License Agreement & Click Next:

Click Next:

Provide Destination Path where You want to extract required files & click Next:

Click Extract:

Once done, You can see "CloudBuilder.vhdx" file in extracted folder:

Copy & Paste the "CloudBuilder.vhdx" file directly to "c: drive":


Before preparing CloudBuilder.vhd file for deployment, run the Pre-checker script to check if all prerequisites are completed. You can download the Pre-checker script file from below link:

This script should be run 2 times: Before preparing deployment kit & after preparing development kit. When You will run the script, it will ask if running before or after booting the provider VHDX file (CloudBuilder.vhdx).

Open PowerShell ISE Console, open & execute the downloaded script:


Once all tests are passed, You can proceed to prepare Provider VHDX file.

Open the elevated PowerShell prompt & run the below script to get the ASDK Installer file:

"# Variables
$Uri = ''
$LocalPath = 'c:\AzureStack_Installer'
# Create folder
New-Item $LocalPath -Type directory
# Download file
Invoke-WebRequest $uri -OutFile ($LocalPath + '\' + 'asdk-installer.ps1')"

ASDK Installer File will be downloaded in "C:/AzureStack_Installer" folder:

Open the ASDK Installer Path in PowerShell & Run the "asdk-installer.ps1" file:

Microsoft Azure Stack Development Kit console will open. Click on Prepare Environment:

Provide "CloudBuilder.vhdx" path which was directly copied to C Drive, Select Add Drivers box & provide the folder path where You saved all drivers:

Configure required settings:

NOTE: Password should same as of Local Administrator Password, same password will be used for Azure Stack Accounts.

Select the Network Interface which will be used for complete deployment, rest all other interface should be disabled:

Provide Azure Stack Host IP Details & Click Next:


IP Address should be mentioned with x.x.x.x/24 format. example:

DNS Server IP will be same IP as of host because all Roles & Features like DNS, Hyper-V, Failover cluster etc are already installed on Azure Stack Provider VHDX file. DNS IP will be same as 

Click Next once validation is completed:

Once the "CloudBuilder.vhdx" file will be prepared successfully, You have to Reboot the Server. Later, it will boot in Azure Stack VHDX file:

NOTE: Restarting the server will take approx. 30 mins or more. Make Sure You have ILO Access to server or direct access to server if in case the server is not reachable through assigned IP. By default, it should connect via RDP once rebooting gets completed but in some case if server is not reachable via RDP due to any wrong configurations like drivers not updated or any other reason, You have to connect server via ILO access or direct access only.

This is all about how to prepare provider VHDX file for Azure Stack Deployment. In my next post, I will show, post configurations once server is booted-up in Azure Stack VHDX file & ASDK deployment steps.

Share Your feedback or any query!!!

Happy Reading!!!

If You like my post then follow my updates:

Join my Facebook group for updates on trending technologies/technical references/issues etc:

Thursday 17 August 2017

Microsoft Azure Stack - ASDK Deployment Prerequisites - Part 3

Hello Everyone,

In my previous post I have explained detailed HLD architecture for ASDK with all VM Roles. In this post, I will explain all prerequisites which needs to be configured before deploying ASDK deployment kit.

Microsoft document also shares same prerequisites but there are some key points which I noticed during deployment which must be highlighted & shared with You all.

PART 1: Microsoft Azure Stack - Introduction!

PART 2: Microsoft Azure Stack - Deployment Architecture with VM Roles!

Let's start understanding ASDK Deployment architecture with LLD architecture for single node POC environment. 😊😊


For better understanding, I have created a LLD diagram for ASDK Prerequisites which will help in understanding all requirements for Azure Stack single node POC Server deployment. Microsoft also shares same prerequisites in ASDK Prerequisites document (CLICK HERE: Azure Stack Deployment Prerequisites) but I have mentioned some key points which I noticed during deployment which must be noted during deployment.

Below are the Key Prerequisites:


Dual-socket with total 12 cores or more must be available.


96 GB or more.


Total 5 Disks are required:

  • OS Disk: Min. 200 GB 
  • Data Disk: Min. 4 Disks each with 250 GB.

  • Remote SAN Storage is not supported.
  • Partition from single disk into 4 is not supported.
  • As per Microsoft, min 4 Data Disks are required but 3 Data Disks can also be used - Testing with 3 Data Disks is not done by Microsoft so I will recommend to use min. 4 Data Disks only.
  • All disks should be of same type (All SAS or All SATA) 
  • No MPIO is supported for SAS Type disks so use single path only if using SAS Type disks.
  • Configure disk with RAID-0 single path.
  • Do not create Volumes for Data Disk - Just keep disk online & initialize disks. If you create volumes the deployment process will get fail at storage pool configuration step.


Only 1 NIC should be used with /24 network segment, all other NIC should be disabled because it will use only 1 NIC.


  • Make sure You have access to the server via ILO or physically in Data-center because during configuration, network connection may get lost. This usually won't happen if all configurations are done correctly.


Update all required OEMs drivers & keep driver files in local drive because drivers will be used post preparing "Cloudbuilder.vhd" file & before installing ASDK setup.


Internet Access is required.

NOTE: Internet access through web proxy is not supported. If using DNS for Internet Access then make sure to provide the same in DNS Forwarder else during deployment when configuring network, Internet connectivity will be lost & deployment will get failed. I will show the same in deployment process blog post.

Required Ports:

  • 80/443 TCP – Internet Access
  • 123 TCP/UDP – Time sync with “” server over internet. Make Sure it should be open with all assigned IPs or should connect via server name as mentioned. 

NOTE: 123 Port is only required if You don’t provide Your on-premises NTP Server details during preparation of "Cloudbuilder.vhd" & want to sync it with Internet Time Server.


Don't use below subnets because these are reserved by Microsoft ASDK setup for different purposes:


  • Operating System should be Windows Server 2012 R2 or more. ASDK Kit (Cloudbuilder.vhd) uses Windows Server 2016.
  • Download Deployment Checker Powershell script (CLICK HERE TO DOWNLOAD!) & run the script before preparing the Cloudbuilder.vhd file & after booting the server in Azure Stack file (Cloudbuilder.vhd). This will explain if any prerequisite is missing before proceeding to install setup.
  • Azure Subscription Credential with Administration rights - If deploying using Azure AD account then it is required else You can't proceed further & if deploying using ADFS, it is not required as per Microsoft. (NOTE: When I deployed usinng ADFS, it asks me to provide Azure Credentials for authentication purpose. My azure credentials don't have administration rights but it proceed further with after providing the same. 😲😲😲)

This is all about ASDK prerequisites, I will update if any changes are required further. 

In my next post, I will show How to configure & test all ASDK Prerequisites with screenshots.

Share Your feedback or any query!!!

Happy Reading!!!

If You like my post then follow my updates:

Join my Facebook group for updates on trending technologies/technical references/issues etc:

Wednesday 2 August 2017

Microsoft Azure Stack - Deployment Architecture with VM Roles - Part 2

Hello Everyone,

This post is to explain single node deployment architecture for Azure Stack Development Kit & default VM Roles which are created during ASDK Deployment.

Let's start with Azure Stack HLD Architecture for Single Node deployment...


Azure Stack Development Kit Architecture shown below is High Level Design (HLD) where I have shown how ASDK & all VM Roles will be deployed on Physical Host.

Detailed Low Level Design (LLD) will be explained in next post where I will explain detailed requirements for deploying ASDK.

ASDK HLD Architecture:

As shown in above diagram, I have shown a Physical Host where You will deploy Windows Server 2016 OS & later You will download ASDK File on the server. 

Once Download is completed, You need to prepare Azure Stack OS named as "Cloudbuilder.vhdx" using ASDK Installer file. During ASDK OS preparation, You have to provide some required information & later need to reboot the server.

Now, once reboot is started, Your server will have dual booted means it will run with 2 Operating Systems - Windows Server 2016 OS (which is installed first on physical host) & Azure Stack OS (Cloudbuilder.vhdx file is attached to Physical Host).

Now, Boot Order will by default change to Azure Stack OS (Cloudbuilder.vhdx) which is also running with Windows Server 2016 OS.

This Azure Stack OS has required roles & features installed like Hyper-V, ADDS, DNS etc

Once You login in Azure Stack OS, You need to install ASDK again using ASDK Installer which will later deploy all VM Roles & configure networking roles.

In my upcoming posts, I will explain about installation process step by step with screenshots. 😉😉  


ASDK is deployed only on single physical node. This can be used only for testing or development environment (NOT FOR PRODUCTION ENVIRONMENT) where You can create, deploy & evaluate Azure Stack services & have self-service portal experience. 


Azure Stack ASDK provide services with certain pre-defined Virtual Machine Roles which cannot be modified & cannot not be connected through RDP or console. These are also known as Management VMs where You cannot configure or do any changes.

You have to use only Azure Stack Admin Portal where You can create & manage Your services which You want to evaluate. Tenants will use offered services through Tenant Portal.

NOTE: These all VM Roles are already described on Microsoft Azure Stack Document Site as well.

Below are the default Azure Stack Management VM Roles which control all management services:

This is all about Azure Stack Development Kit HLD Architecture with default VM Roles.

In my next post, I will explain ASDK Prerequisites with LLD Architecture in details.

Share Your feedback or any query!!!

Happy Reading!!!

If You like my post then follow my updates:

Join my Facebook group for updates on trending technologies/technical references/issues etc:

Tuesday 1 August 2017

Microsoft Azure Stack (Hybrid Cloud) - Blog Series

Hello Everyone,

This page will display complete blog list on Microsoft Azure Stack.

All upcoming post's link for Azure Stack will be updated below.


Microsoft Azure Stack - Introduction - Part 1!


Microsoft Azure Stack - Console Overview (Admin & Tenant Portals) - Part 6! 

Microsoft Azure Stack - Creating Services, Plans, Offerings, Tenants - Part 7!

Microsoft Azure Stack - Tenant Experience on subscribed services - Part 8!

and, many more...

Share Your feedback or any query!!!

Happy Reading!!!

If You like my post then follow my updates:

Join my Facebook group for updates on trending technologies/technical references/issues etc: