Integrating Integrators – BizTalk, Windows Azure, Windows Workflow, and Beyond

Microsoft Azure IaaS

This group is the top level group for Microsoft Azure including Cloud Services, Virtual Machines, Storage, Service Bus, and more.

BizTalk 2013 Development Azure VM Creation Script Download

BizTalk 2013 Development Azure VM Creation Script Download

Important points to note:

- This will only work for an Azure subscription linked to an MSDN account.

- You are charged money (against your MSDN allowance) when the VM is running and stopped.  It needs to be Stopped – Deallocated in order to stop the billing.  To do this, use the portal to shut down the VM or use StopVM PowerShell script to turn it off. 

The scripts does the following:

  1. Creates a VM in Azure using the datacenter and size you specify.
  2. Auto configures your BizTalk development server to create a Receive, Send, Processing, and Tracking host.
  3. Downloads the remote desktop connection for you so all you need to do is click.
  4. Includes RemoveVM, StopVM, and StartVM scripts for easy admin.

To run the script only 2 values need to be updated.  In all four scripts (MakeVM, RemoveVM, StopVM, StartVM) update the following at the top of the file:

$baseVMName =  'any123'                               # UPDATE 1 - this needs to be globally unique, like initials and 4 random numbers
$subscriptionName =  'MSDN Subscription'     # UPDATE 2 - this is your subscription name

Make sure you review the other variables as well and make changes as needed. 

I’m currently hosting some supporting files on a public azure file store.  At some point I might take that down.  If so, you will need to upload the files to your own queue and update the MakeVM script.  I have included the 5 helper files in the Helper folder.

  • Downloads: 592
  • Size: 138.9kB
  • Views: 4,458
  • Comments 2
Rate This
Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Post
Comments
  • re: BizTalk 2013 Development Azure VM Creation Script Download

    Hi Stephen, I was just trying to test your script (which looks very promising by the way). I just updated Windows Azure Powershell, but now I get the following errors with both commands: New-AzureAffinityGroup and New-AzureStorageAccount. Please see below: Starting at 06/24/2014 16:23:17 Script Path is E:\Azure Scripts\BizTalk 2013 Development Azure VM Creation Script Download\OneClickSingleInstall VERBOSE: 16:23:17 - Begin Operation: New-AzureAffinityGroup New-AzureAffinityGroup : Value cannot be null. Parameter name: subscriptionId At E:\Azure Scripts\BizTalk 2013 Development Azure VM Creation Script Download\OneClickSingleInstall\MakeVM.ps1:48 char :1 + New-AzureAffinityGroup -Name $affinityGroup -Location $dataCenter -ErrorAction S ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [New-AzureAffinityGroup], ArgumentNullException + FullyQualifiedErrorId : System.ArgumentNullException,Microsoft.WindowsAzure.Commands.ServiceManagement.AffinityG roups.NewAzureAffinityGroup Affinity Group Created VERBOSE: 16:23:17 - Begin Operation: New-AzureStorageAccount New-AzureStorageAccount : Value cannot be null. Parameter name: subscriptionId At E:\Azure Scripts\BizTalk 2013 Development Azure VM Creation Script Download\OneClickSingleInstall\MakeVM.ps1:51 char :1 + New-AzureStorageAccount -StorageAccountName $storageAccount -Label "BizTalk Stor ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [New-AzureStorageAccount], ArgumentNullException + FullyQualifiedErrorId : System.ArgumentNullException,Microsoft.WindowsAzure.Commands.ServiceManagement.StorageSe rvices.NewAzureStorageAccountCommand Do you have any idea what's causing this? I noticed that when I execute a Get-AzureSubscription, that I don't get a subcriptionId returned. See below: SubscriptionName : Visual Studio Premium with MSDN SubscriptionId : ServiceEndpoint : https://management.core.windows.net/ ResourceManagerEndpoint : https://management.azure.com/ GalleryEndpoint : https://gallery.azure.com/
  • re: BizTalk 2013 Development Azure VM Creation Script Download

    @Anonymous - sound like your PowerShell isn't setup correctly.  Did you take a look at: azure.microsoft.com/.../install-configure-powershell

    Make sure you get do a Get-AzureLocation  to get back a result to test it out.

Page 1 of 1 (2 items)