In this article BizTalk IAAS will be discussed and how you can setup a Virtual Machine with BizTalk Server 2013 Enterprise.
Running BizTalk in Windows Azure can be time and cost saving. There are several ways you can provision a virtual machine with BizTalk. Either manually through Windows Azure Management Portal, through PowerShell (Scripting) or by uploading an existing virtual machine (vhd).
Provisioning through the Windows Azure Management Portal is pretty straight forward. A new virtual machine can be created by navigating in the management portal to Virtual Machines. Lower left corner (pane) you can click NEW. A pane will pop up and in category Compute you can choose Virtual Machine and then Quick Create or From Gallery.
With Quick create you specify DNS Name, Image, Size, Username, Password and the Region//Affinity Group.
Figure 1. Specifying details for creating a virtual machine through Quick Create (click Image to enlarge).
Figure 2. Provisioning of the Virtual Machine (click Image to enlarge).
Figure 3. Virtual machine image selection (click Image to enlarge).
Figure 4. Virtual Machine Configuration (click Image to enlarge).
Figure 5. Second page to specify Virtual Machine settings (click Image to enlarge).
Figure 6. Third and last page to specify Virtual Machine settings (click Image to enlarge).
Figure 7. Connect to Virtual Machine (click Image to enlarge).
Figure 8. Opening remote desktop session to the Virtual Machine.
Figure 9. Remote Desk Connection
Figure 10. Enter credentials for the Virtual Machine.
Figure 11. Warning about trust between the Virtual Machine and the remote computer.
Figure 12. Virtual Machine with the Microsoft BizTalk Server Configuration - Start (click Image to enlarge).
Provisioning of a Virtual Machine can be automated through PowerShell script. Using the Windows Azure Management Portal to provision a Virtual Machine can mean a couple of manual steps (see From Gallery section). You can use Windows Azure cmdlets to create a virtual machine in the configuration that you want. MSDN article Create or Delete Virtual Machines Using Windows Azure Cmdlets will multiple ways to create a Virtual Machine with the cmdlets. To quickly create a BizTalk Server 2013 Virtual Machine you can use the New-AzureQuickVM cmdlet to create a Windows Azure Virtual Machine in a single command. You first will need to download the commandlets before you to be able to perform Windows Azure tasks with PowerShell. Next step is to download publish settings file from this location: https://windows.azure.com/download/publishprofile.aspx. This required as you need to execute the cmdlets to the appropriate Azure subscription. First step is execute the following commands:
#Initial settings
Set-ExecutionPolicy Unrestricted
#Import publish settings
Import-AzurePublishSettingsFile
"C:\SteefJan-Test Drive Azure-8-13-2013-credentials.publishsettings"
# SET AZURE SUBSCRIPTION
Set-AzureSubscription -SubscriptionName
'SteefJan'
-CurrentStorageAccount tnwikivms
Select-AzureSubscription -SubscriptionName
Set-AzureSubscription -DefaultSubscription
Get-AzureVMImage | select ImageName
Figure 13. List of Virtual Machine Images Windows Azure (click Image to enlarge).
New-AzureQuickVM -ImageName
"2cdc6229df6344129ee553dd3499f0d3__BizTalk-Server-2013-Enterprise"
-Password
"St@ve12q"
-AdminUsername
"TNWIKI"
-ServiceName
"TNWIKIBTSVM1"
-Windows -Location
"North Europe"
-name
"TNWIKIBTSVM"
Figure 14. Executing New-AzureQuickVM command and results (click Image to enlarge).
Another option is to upload a VHD with your BizTalk Server 2013 configured on it. To do this you will need to sysprep your image with BizTalk Server 2013. This thoroughly described in another blog post by Rene Brauwers How to: BizTalk Server 2013 Sysprep Development Image. You will need a Storage account in Windows Azure to be able to upload the VHD. In case you have a storage account set up then with PowerShell Cmdlets you can upload the VHD as described in MSDN Creating and Uploading a Virtual Hard Disk that Contains the Windows Server Operating System. Upload of your VHD can take a while depending on bandwidth of your network. After you upload your VHD, you add it as an image to the list of custom images associated with your subscription. You can subsequently create a Virtual Machine by either From Gallery or using PowerShell.
Figure 15. Delete Virtual Machine (click Image to enlarge).
Figure 16. Delete the Disk of the Virtual Machine (click Image to enlarge).
Figure 17. Deleting the Disk and associated VHD (click Image to enlarge).
The quick create of a Virtual Machine is an easy and simple way of provisioning a virtual machine either through the Windows Azure Management Portal or through PowerShell scripting. A more complex and flexible way is to use the From Gallery option in the management portal, combination of PowerShell cmdlets or by uploading an existing VHD with a BizTalk Server 2013 image. This article just scratch the surface of the capabilities IAAS feature offers for BizTalk Server. The emphasis in this article lies on provisioning of a Virtual Machine with BizTalk Server 2013.
In case you want a more in depth information on this subject than I recommended the Microsoft BizTalk Server 2013 in Windows Azure IaaS of TechEd North America by Stephen W. Thomas and/or the provided links in this article.
Steef-Jan Wiggers edited Revision 32. Comment: Corrected numbering pictures
Steef-Jan Wiggers edited Revision 31. Comment: Added text and image
Steef-Jan Wiggers edited Revision 29. Comment: Added text
Steef-Jan Wiggers edited Revision 28. Comment: Added text
Steef-Jan Wiggers edited Revision 27. Comment: Added text and links
Steef-Jan Wiggers edited Revision 26. Comment: Added text
Steef-Jan Wiggers edited Revision 25. Comment: Added picture and text
Steef-Jan Wiggers edited Revision 24. Comment: Added text and image
Steef-Jan Wiggers edited Revision 23. Comment: Added text and code
Steef-Jan Wiggers edited Revision 22. Comment: Added text
Steef-Jan Wiggers edited Revision 21. Comment: Added text and image
Steef-Jan Wiggers edited Revision 20. Comment: Added topic and text