The new open source cloud orchestration platform called OpenStack is the promise of flexible network virtualization, and network overlays are looking closer than ever. The vision of this platform is to enable the on-demand creation of many distinct networks on top of one underlying physical infrastructure in the cloud environment. The platform will support automated provisioning and management of large groups of virtual machines or compute resources, including extensive monitoring in the cloud.| By Keith Mayer | Article Rating: |
|
| January 7, 2013 03:43 PM EST | Reads: |
6,485 |
My good friend and colleague, Tommy Patterson, recently blogged about leveraging the Windows Azure Infrastructure as a Service (IaaS) preview offering to build a FREE lab environment in the Cloud. You can read Tommy’s step-by-step article at:
What about a SharePoint 2013 Lab in the Cloud?
Now that SharePoint Server 2013 has been released, I frequently get asked about ways in which a SharePoint 2013 lab environment can be easily built for studying, testing and/or performing a proof-of-concept. You could certainly build this lab environment on your own hardware, but due to the level of SharePoint 2013 hardware requirements, a lot of us may not have sufficient spare hardware to implement an on-premise lab environment.

This makes a great scenario for leveraging our Windows Azure FREE 90-day Trial Offer to build a free lab environment for SharePoint 2013 in the cloud. Using the process outlined in this article, you’ll be able to build a basic functional farm environment for SharePoint 2013 that will be accessible for approximately 105 hours of compute usage each month at no cost to you under the 90-day Trial Offer.
After the 90-day trial period is up, you can choose if you’d like to convert to a full paid subscription. If you choose to convert to a paid subscription, this lab environment will cost approximately $0.56 USD per hour of compute usage ( that’s right – just 56 cents per hour ) plus associated storage and networking costs ( which can typically be less than $10 USD per month for a lab of this nature ). These estimated costs are based on published Pay-As-You-Go pricing for Windows Azure that is current as of this article’s date.
Note: If you are testing advanced SharePoint 2013 scenarios and need more resources than available in the lab configuration below, you can certainly scale-up or scale-out elastically by provisioning larger VMs or additional SharePoint web and application server VMs. To determine the specific costs associated with higher resource levels, please visit the Windows Azure Pricing Calculator for Virtual Machines.
SharePoint 2013 Lab Scenario
To deliver a functional and expandable lab environment, I’ll be walking through the approach of provisioning SharePoint Server 2013 on Windows Azure VMs as depicted in the following configuration diagram that will require three (3) VMs on a common Windows Azure Virtual Network.
Lab Scenario: SharePoint 2013 on Windows Azure VM
In this lab, we’ll be using a naming convention of XXXlabYYY01, where XXX will be replaced with your unique initials and YYY will be replaced with an abbreviation representing the function of a virtual machine or Windows Azure configuration component (ie., ad, db or app).
Note: This study lab configuration is suitable for study, functional testing and basic proof-of-concept usage. This configuration is not currently supported for pilot or production SharePoint 2013 farm environments.
Prerequisites
The following is required to complete this step-by-step guide:
- A Windows Azure subscription with the Virtual Machines Preview enabled.
DO IT: Sign up for a FREE Trial of Windows Azure
NOTE: When activating your FREE Trial for Windows Azure, you will be prompted for credit card information. This information is used only to validate your identity and your credit card will not be charged, unless you explicitly convert your FREE Trial account to a paid subscription at a later point in time.
- Completion of the Getting Started tasks in the following article:
DO IT: Getting Started with Servers in the Cloud
- This step-by-step guide assumes that the reader is already familiar with configuring Windows Server Active Directory, SQL Server and SharePoint Server 2013 in an on-premise installation. This guide focuses on the unique aspects associated with configuring these components on the Windows Azure cloud platform.
Let’s Get Started!
In this step-by-step guide, you will learn how to:
- Register a DNS Server in Windows Azure
- Define a Virtual Network in Windows Azure
- Configure Windows Server Active Directory in a Windows Azure VM
- Configure SQL Server 2012 in a Windows Azure VM
- Configure SharePoint Server 2013 in a Windows Azure VM
- Export / Import Lab Environment via PowerShell
Exercise 1: Register a DNS Server in Windows Azure
Register the internal IP address that our domain controller VM will be using for Active Directory-integrated Dynamic DNS services by performing the following steps:
- Sign in at the Windows Azure Management Portal with the logon credentials used when you signed up for your Free 90-Day Windows Azure Trial.
- Select Networks located on the side navigation panel on the Windows Azure Management Portal page.
- Click the +NEW button located on the bottom navigation bar and select Networks | Virtual Network | Register DNS Server.
- Complete the DNS Server fields as follows:
- NAME: XXXlabdns01
- DNS Server IP Address: 10.0.0.4
- Click the REGISTER DNS SERVER button.
Exercise 2: Define a Virtual Network in Windows Azure
Define a common virtual network in Windows Azure for running Active Directory, Database and SharePoint virtual machines by performing the following steps:
- Sign in at the Windows Azure Management Portal with the logon credentials used when you signed up for your Free 90-Day Windows Azure Trial.
- Select Networks located on the side navigation panel on the Windows Azure Management Portal page.
- Click the +NEW button located on the bottom navigation bar and select Networks | Virtual Network | Quick Create.
- Complete the Virtual Network fields as follows:
- NAME: XXXlabnet01
- Address Space: 10.---.---.---
- Maximum VM Count: 4096 [CIDR: /20]
- Affinity Group: Select the Affinity Group defined in the Getting Started steps from the Prerequisites section above.
- Connect to Existing DNS: Select XXXlabdns01 – the DNS Server registered in Exercise 1 above.
- Click the CREATE A VIRTUAL NETWORK button.
Exercise 3: Configure Windows Server Active Directory in a Windows Azure VM
Provision a new Windows Azure VM to run a Windows Server Active Directory domain controller in a new Active Directory forest by performing the following steps:
- Sign in at the Windows Azure Management Portal with the logon credentials used when you signed up for your Free 90-Day Windows Azure Trial.
- Select Virtual Machines located on the side navigation panel on the Windows Azure Management Portal page.
- Click the +NEW button located on the bottom navigation bar and select Compute | Virtual Machines | From Gallery.
- In the Virtual Machine Operating System Selection list, select Windows Server 2012, December 2012 and click the
button.
- On the Virtual Machine Configuration page, complete the fields as follows:
- Virtual Machine Name: XXXlabad01
- New Password and Confirm Password fields: Choose and confirm a new local Administrator password.
- Size: Small (1 core, 1.75GB Memory)
Click the
button to continue.
Note: It is suggested to use secure passwords for Administrator users and service accounts, as Windows Azure virtual machines could be accessible from the Internet knowing just their DNS. You can also read this document on the Microsoft Security website that will help you select a secure password: http://www.microsoft.com/security/online-privacy/passwords-create.aspx.
- On the Virtual Machine Mode page, complete the fields as follows:
- Standalone Virtual Machine: Selected
- DNS Name: XXXlabad01.cloudapp.net
- Storage Account: Select the Storage Account defined in the Getting Started steps from the Prerequisites section above.
- Region/Affinity Group/Virtual Network: Select XXXlabnet01 – the Virtual Network defined in Exercise 2 above.
- Virtual Network Subnets: Select Subnet-1 (10.0.0.0/23)
Click the
button to continue.
- On the Virtual Machine Options page, click the
button to begin provisioning the new virtual machine.
As the new virtual machine is being provisioned, you will see the Status column on the Virtual Machines page of the Windows Azure Management Portal cycle through several values including Stopped, Stopped (Provisioning), and Running (Provisioning). When provisioning for this new Virtual Machine is completed, the Status column will display a value of Running and you may continue with the next step in this guide.
- After the new virtual machine has finished provisioning, click on the name ( XXXlabad01 ) of the new Virtual Machine displayed on the Virtual Machines page of the Windows Azure Management Portal.
- On the virtual machine details page for XXXlabad01, make note of the Internal IP Address displayed on this page. This IP address should be listed as 10.0.0.4.
If a different internal IP address is displayed, the virtual network and/or virtual machine configuration was not completed correctly. In this case, click the DELETE button located on the bottom toolbar of the virtual machine details page for XXXlabad01, and go back to Exercise 2 and Exercise 3 to confirm that all steps were completed correctly.
- On the virtual machine details page for XXXlabad01, click the Attach button located on the bottom navigation toolbar and select Attach Empty Disk. Complete the following fields on the Attach an empty disk to the virtual machine form:
- Name: XXXlabad01-data01
- Size: 10 GB
- Host Cache Preference: None
Click the
button to create and attach the a new virtual hard disk to virtual machine XXXlabad01.
- On the virtual machine details page for XXXlabad01, click the Connect button located on the bottom navigation toolbar and click the Open button to launch a Remote Desktop Connection to the console of this virtual machine. Logon at the console of your virtual machine with the local Administrator credentials defined in Step 5 above.
- From the Remote Desktop console of XXXlabad01, create a new partition on the additional data disk attached above in Step 10 and format this partition as a new F: NTFS volume. This volume will be used for NTDS DIT database, log and SYSVOL folder locations.
If you need additional guidance to complete this step, feel free to leverage the following study guide for assistance: Windows Server 2012 “Early Experts” Challenge – Configure Local Storage
- Using the Server Manager tool, install Active Directory Domain Services and promote this server to a domain controller in a new forest with the following parameters:
- Active Directory Forest name: contoso.com
- Volume Location for NTDS database, log and SYSVOL folders: F:
If you need additional guidance to complete this step, feel free to leverage the following study guide for assistance: Windows Server 2012 “Early Experts” Challenge – Install and Administer Active Directory - After Active Directory has been installed, create the following user accounts that will be used when installing and configuring SharePoint Server 2013 later in this step-by-step guide:
- CONTOSO\sp_farm – SharePoint Farm Data Access Account
- CONTOSO\sp_serviceapps – SharePoint Farm Service Applications Account
If you need additional guidance to complete this step, feel free to leverage the following study guide for assistance: Windows Server 2012 “Early Experts” Challenge – Install and Administer Active Directory
The configuration for this virtual machine is now complete, and you may continue with the next exercise in this step-by-step guide.
Exercise 4: Configure SQL Server 2012 in a Windows Azure VM
Provision a new Windows Azure VM to run SQL Server 2012 by performing the following steps:
- Sign in at the Windows Azure Management Portal with the logon credentials used when you signed up for your Free 90-Day Windows Azure Trial.
- Select Virtual Machines located on the side navigation panel on the Windows Azure Management Portal page.
- Click the +NEW button located on the bottom navigation bar and select Compute | Virtual Machines | From Gallery.
- In the Virtual Machine Operating System Selection list, select SQL Server 2012 Evaluation Edition and click the
button.
- On the Virtual Machine Configuration page, complete the fields as follows:
- Virtual Machine Name: XXXlabdb01
- New Password and Confirm Password fields: Choose and confirm a new local Administrator password.
- Size: Medium (2 cores, 3.5GB Memory)
Click the
button to continue.
- On the Virtual Machine Mode page, complete the fields as follows:
- Standalone Virtual Machine: Selected
- DNS Name: XXXlabdb01.cloudapp.net
- Storage Account: Select the Storage Account defined in the Getting Started steps from the Prerequisites section above.
- Region/Affinity Group/Virtual Network: Select XXXlabnet01 – the Virtual Network defined in Exercise 2 above.
- Virtual Network Subnets: Select Subnet-1 (10.0.0.0/23)
Click the
button to continue.
- On the Virtual Machine Options page, click the
button to begin provisioning the new virtual machine.
As the new virtual machine is being provisioned, you will see the Status column on the Virtual Machines page of the Windows Azure Management Portal cycle through several values including Stopped, Stopped (Provisioning), and Running (Provisioning). When provisioning for this new Virtual Machine is completed, the Status column will display a value of Running and you may continue with the next step in this guide.
- After the new virtual machine has finished provisioning, click on the name ( XXXlabdb01 ) of the new Virtual Machine displayed on the Virtual Machines page of the Windows Azure Management Portal.
- On the virtual machine details page for XXXlabdb01, make note of the Internal IP Address displayed on this page. This IP address should be listed as 10.0.0.5.
If a different internal IP address is displayed, the virtual network and/or virtual machine configuration was not completed correctly. In this case, click the DELETE button located on the bottom toolbar of the virtual machine details page for XXXlabdb01, and go back to Exercise 2 and Exercise 3 to confirm that all steps were completed correctly.
- On the virtual machine details page for XXXlabdb01, click the Attach button located on the bottom navigation toolbar and select Attach Empty Disk. Complete the following fields on the Attach an empty disk to the virtual machine form:
- Name: XXXlabdb01-data01
- Size: 50 GB
- Host Cache Preference: None
Click the
button to create and attach the a new virtual hard disk to virtual machine XXXlabdb01.
- On the virtual machine details page for XXXlabdb01, click the Connect button located on the bottom navigation toolbar and click the Open button to launch a Remote Desktop Connection to the console of this virtual machine. Logon at the console of your virtual machine with the local Administrator credentials defined in Step 5 above.
- From the Remote Desktop console of XXXlabdb01, create a new partition on the additional data disk attached above in Step 10 and format this partition as a new F: NTFS volume.
-
Open SQL Server Management Studio from Start | All Programs | Microsoft SQL Server 2012 | SQL Server Management Studio and update default folder locations to the F: volume.
- Connect to the SQL Server 2012 default instance using your Windows Account.
- Now, you will update the database's default locations for DATA, LOGS and BACKUP folders. To do this, right click on your SQL Server instance and select Properties.
- Select Database Settings from the left side pane.
- Locate the Database default locations section and update the default values for each path to point to the F: volume you previously formatted.
- Close SQL Server Management Studio.
- Connect to the SQL Server 2012 default instance using your Windows Account.
-
In order to allow SharePoint to connect to the SQL Server, you will need to add an Inbound Rule for the SQL Server requests in the Windows Firewall. To do this, open Windows Firewall with Advanced Security from Start | All Programs | Administrative Tools.
-
Select Inbound Rules node, right-click it and select New Rule to open the New Inbound Rule Wizard.
-
In the Rule Type page, select Port and click Next.
-
In Protocols and Ports page, leave TCP selected, select Specific local ports, and set its value to 1433. Click Next to continue.
-
In the Action page, make sure that Allow the connection is selected and click Next.
-
In the Profile page, leave the default values and click Next.
-
In the Name page, set the Inbound Rule's Name to SQLServerRule and click Finish
-
Close Windows Firewall with Advanced Security window.
-
- Using the Server Manager tool, join this server to the contoso.com domain and restart the server to complete the domain join operation.
-
After the server restarts, connect again via Remote Desktop to the server’s console and login with the local Administrator credentials defined above in Step 5.
-
Open SQL Server Management Studio from Start | All Programs | Microsoft SQL Server 2012 | SQL Server Management Studio and add the CONTOSO\Administrator user to SQL Server with the Sysadmin server role selected.
-
Expand Security folder within the SQL Server instance. Right-click Logins folder and select New Login.
-
In the General section, set the Login name to CONTOSO\Administrator, and select the Windows Authentication option.
-
Click Server Roles on the left pane. Select the checkbox for the Sysadmin server role.
-
Click the OK button and close SQL Server Management Studio.
-
The configuration for this virtual machine is now complete, and you may continue with the next exercise in this step-by-step guide.
Exercise 5: Configure SharePoint Server 2013 in a Windows Azure VM
Provision a new Windows Azure VM to run SharePoint Server 2013 by performing the following steps:
- Sign in at the Windows Azure Management Portal with the logon credentials used when you signed up for your Free 90-Day Windows Azure Trial.
- Select Virtual Machines located on the side navigation panel on the Windows Azure Management Portal page.
- Click the +NEW button located on the bottom navigation bar and select Compute | Virtual Machines | From Gallery.
- In the Virtual Machine Operating System Selection list, select Windows Server 2012, December 2012 and click the
button.
- On the Virtual Machine Configuration page, complete the fields as follows:
- Virtual Machine Name: XXXlabapp01
- New Password and Confirm Password fields: Choose and confirm a new local Administrator password.
- Size: Large (4 cores, 7GB Memory)
Click the
button to continue.
- On the Virtual Machine Mode page, complete the fields as follows:
- Standalone Virtual Machine: Selected
- DNS Name: XXXlabapp01.cloudapp.net
- Storage Account: Select the Storage Account defined in the Getting Started steps from the Prerequisites section above.
- Region/Affinity Group/Virtual Network: Select XXXlabnet01 – the Virtual Network defined in Exercise 2 above.
- Virtual Network Subnets: Select Subnet-1 (10.0.0.0/23)
Click the
button to continue.
- On the Virtual Machine Options page, click the
button to begin provisioning the new virtual machine.
As the new virtual machine is being provisioned, you will see the Status column on the Virtual Machines page of the Windows Azure Management Portal cycle through several values including Stopped, Stopped (Provisioning), and Running (Provisioning). When provisioning for this new Virtual Machine is completed, the Status column will display a value of Running and you may continue with the next step in this guide.
- After the new virtual machine has finished provisioning, click on the name ( XXXlabapp01 ) of the new Virtual Machine displayed on the Virtual Machines page of the Windows Azure Management Portal.
- On the virtual machine details page for XXXlabapp01, make note of the Internal IP Address displayed on this page. This IP address should be listed as 10.0.0.6.
If a different internal IP address is displayed, the virtual network and/or virtual machine configuration was not completed correctly. In this case, click the DELETE button located on the bottom toolbar of the virtual machine details page for XXXlabapp01, and go back to Exercise 2, Exercise 3 and Exercise 4 to confirm that all steps were completed correctly.
- On the virtual machine details page for XXXlabapp01, click the Attach button located on the bottom navigation toolbar and select Attach Empty Disk. Complete the following fields on the Attach an empty disk to the virtual machine form:
- Name: XXXlabapp01-data01
- Size: 50 GB
- Host Cache Preference: None
Click the
button to create and attach the a new virtual hard disk to virtual machine XXXlabapp01.
- On the virtual machine details page for XXXlabapp01, click the Connect button located on the bottom navigation toolbar and click the Open button to launch a Remote Desktop Connection to the console of this virtual machine. Logon at the console of your virtual machine with the local Administrator credentials defined in Step 5 above.
- From the Remote Desktop console of XXXlabapp01, create a new partition on the additional data disk attached above in Step 10 and format this partition as a new F: NTFS volume.
- In the Server Manager tool, click on Local Server in the left navigation pane and click on the Workgroup option. Join this server to the contoso.com domain and restart the server to complete the domain join operation.
- After the server restarts, re-establish a Remote Desktop connection to the server and logon with the CONTOSO\Administrator domain user credentials defined earlier in Exercise 3.
-
In the Server Manager tool, click on Local Server in the left navigation pane and select IE Enhanced Security Configuration. Turn off enhanced security for Administrators and click the OK button.
Note: Modifying Internet Explorer Enhanced Security configurations is not good practice and is only for the purpose of this particular step-by-step guide. The correct approach should be to download files locally and then copy them to a shared folder or directly to the VM. -
Press the Windows key to switch to the Start Screen and launch Internet Explorer. Download the following files to the F:\INSTALL folder:
- SharePoint Server 2013 Evaluation Edition
Make a note of the SharePoint Product Key listed on this page, as you’ll need it for the installation of SharePoint Server 2013.
- ASP.NET 4.5 hotfix for Windows Server 2012 ( KB2765317 ) - Navigate to the F:\INSTALL folder and double-click on the downloaded .IMG file to mount it. Copy all files and folders from the mounted .IMG file to F:\INSTALL.
- Install the SharePoint Server 2013 software prerequisites by running F:\INSTALL\prerequisiteinstaller.exe. Note that this process may require multiple server restarts to complete. After all required software is successfully installed, continue with the next step in this step-by-step guide.
- Install the ASP.NET 4.5 hotfix downloaded to the F:\INSTALL folder in Step 14 above.
- Run F:\INSTALL\setup.exe to launch the SharePoint Server 2013 installation process.
- When prompted, on the Server Type tab of the setup program, select the Complete installation option.
- On the File Location tab of the setup program, change the data path to use the F: volume formatted in Step 12 above.
- At the end of the installation process, ensure the checkbox is selected to Run the SharePoint Products Configuration Wizard Now and click the Close button.
- In the SharePoint Products Configuration Wizard, when prompted on the Connect to server farm dialog, select the option to Create a new server farm.
- On the Specify Configuration Database Settings, specify the following values for each field:
- Database Server: XXXlabdb01
- Username: CONTOSO\sp_farm
- Password: Type the password specified when the sp_farm domain user account was created earlier in Exercise 3, Step 14.
- Click the Next > button and accept all other default values in the SharePoint Products Configuration Wizard. Click the Finish button when prompted to complete the wizard.
- The SharePoint 2013 Central Administration web page should launch automatically. When prompted, click the Start the Wizard button to begin the Initial Farm Configuration Wizard.
- When prompted for Service Account, type the CONTOSO\sp_serviceapps domain username and password specified when this account was created earlier in Exercise 3, Step 14.
- Accept all other default values and click the Next > button to continue.
- On the Create a Site Collection page, create a new top-level Intranet site collection using the following field values:
- Title and Description: Enter your preferred Title and Description for the new site collection
- URL: Select the root URL path – http://XXXlabapp01/
- Select experience version: 2013
- Select a template: Publishing | Publishing Portal
Click the OK button to provision a new top-level Intranet site collection.
After the new top-level Intranet site collection is provisioned, test navigating to the URL for this site collection from within the Remote Desktop session to the server.
- On the SharePoint 2013 Central Administration site, configure a Public URL alternate access mapping for accessing the new top-level Intranet site collection from the Internet.
- On the Central Administration site home page, click the Configure alternate access mappings link.
- On the Alternate Access Mappings page, click the Edit Public URLs link.
- On the Edit Public Zone URLs page, select and specify the following values:
- Alternate Access Mapping Collection: SharePoint - 80
- Internet: http://XXXlabapp01.cloudapp.net
Click the Save button to complete the Alternate Access Mapping configuration.
- On the Central Administration site home page, click the Configure alternate access mappings link.
- Close the Remote Desktop session to the server.
- Sign in at the Windows Azure Management Portal with the logon credentials used when you signed up for your Free 90-Day Windows Azure Trial.
- Select Virtual Machines located on the side navigation panel on the Windows Azure Management Portal page.
- On the Virtual Machines page, click on the name of the SharePoint virtual machine – XXXlabapp01.
- On the XXXlabapp01 virtual machine details page, click on Endpoints in the top navigation area of the page.
- Click the +Add Endpoint button in the bottom navigation bar of the page to define a new virtual machine endpoint that will permit HTTP web traffic inbound to the SharePoint virtual machine.
- On the Add an endpoint to a virtual machine form, select the Add Endpoint option and click the
button to continue.
- On the Specify the details of the endpoint form, specify the following field values:
- Name: Web HTTP
- Protocol: TCP
- Public Port: 80
- Private Port: 80
Click the
button to create a new endpoint definition that will permit inbound web traffic to the SharePoint virtual machine.
- After the endpoint configuration has been successfully applied, test browsing to the following public URL to confirm that you are able to access the Intranet site collection that is configured on SharePoint:
- URL: http://XXXlabapp01.cloudapp.net
The configuration for this virtual machine is now complete, and you may continue with the next exercise in this step-by-step guide.
Exercise 6: Export / Import Lab Environment via PowerShell
Our functional SharePoint lab environment is now complete, but if you’re like me, you won’t be using this lab environment 24x7 around-the-clock. As long as the virtual machines are provisioned, they will continue to accumulate compute hours against your Free 90-Day Windows Azure Trial account regardless of virtual machine state – even in a shutdown state!
To preserve as many of your free compute hours for productive lab work, we can leverage the Windows Azure PowerShell module to de-provision our lab virtual machines when not in use and re-provision our lab virtual machines when we need them again. Once you’ve configured the PowerShell scripts below, you’ll be able to spin up your SharePoint lab environment when needed in as little as 5-10 minutes!
Note: Prior to beginning this exercise, please ensure that you’ve downloaded, installed and configured the Windows Azure PowerShell module as outlined in the Getting Started article listed in the Prerequisite section of this step-by-step guide.
- De-provisioning your lab. Use the PowerShell snippet below to shutdown, export and de-provision your SharePoint lab environment when you’re not using it. Prior to running this script, be sure to edit the first line to reflect the names of each of your VMs and confirm that the $ExportPath location exists.
$myVMs = @("XXXlabapp01","XXXlabdb01","XXXlabad01")
Foreach ( $myVM in $myVMs ) {
Stop-AzureVM -ServiceName $myVM -Name $myVM
$ExportPath = "C:\ExportVMs\ExportAzureVM-$myVM.xml"
Export-AzureVM -ServiceName $myVM -name $myVM -Path $ExportPath
Remove-AzureVM -ServiceName $myVM -name $myVM
}
- Re-provisioning your lab. Use the PowerShell snippet below to import and re-provision your SharePoint lab environment when you’re ready to use it again. Prior to running this script, be sure to edit the first two lines to reflect the names of your Virtual Network and VMs.
$myVNet = "XXXlabnet01"
$myVMs = @("XXXlabad01","XXXlabdb01","XXXlabapp01")
Foreach ( $myVM in $myVMs ) {
$ExportPath = "C:\ExportVMs\ExportAzureVM-$myVM.xml"
Import-AzureVM -Path $ExportPath | New-AzureVM -ServiceName $myVM -VNetName $myVNet
Start-AzureVM -ServiceName $myVM -name $myVM
}
To ensure safe de-provisioning and re-provisioning of your SharePoint lab environment, note that it is important to preserve the specific order of the VM names listed in both code snippets above to ensure that the dependency order across VMs is properly handled.
What’s Next? Keep Learning!
Now that your SharePoint Server 2013 lab environment is running in the cloud, be sure to explore the resources below to continue your learning:
- SharePoint 2013 Early Training & Resources for IT Pros
Includes 14 modules of detailed technical training for IT Pros on the enhancements and new features in SharePoint Server 2013.
- Windows Server 2012 “Early Experts” Challenge online study group
MCSA certification on Windows Server 2012 is a requirement for the new MCSE: SharePoint certification track. If you’re interested in preparing for Microsoft certification on SharePoint 2013, the “Early Experts” study group is a great place to start!
Published January 7, 2013 Reads 6,485
Copyright © 2013 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Keith Mayer
Keith Mayer is a Technical Evangelist at Microsoft focused on Windows Infrastructure, Data Center Virtualization, Systems Management and Private Cloud. Keith has over 17 years of experience as a technical leader of complex IT projects, in diverse roles, such as Network Engineer, IT Manager, Technical Instructor and Consultant. He has consulted and trained thousands of IT professionals worldwide on the design and implementation of enterprise technology solutions.
Keith is currently certified on several Microsoft technologies, including System Center, Hyper-V, Windows, Windows Server, SharePoint and Exchange. He also holds other industry certifications from IBM, Cisco, Citrix, HP, CheckPoint, CompTIA and Interwoven.
Keith is the author of the IT Pros ROCK! Blog on Microsoft TechNet, voted as one of the Top 50 "Must Read" IT Blogs.
Keith also manages the Windows Server 2012 "Early Experts" Challenge - a FREE online study group for IT Pros interested in studying and preparing for certification on Windows Server 2012. Join us and become the next "Early Expert"!
The new open source cloud orchestration platform called OpenStack is the promise of flexible network virtualization, and network overlays are looking closer than ever. The vision of this platform is to enable the on-demand creation of many distinct networks on top of one underlying physical infrastructure in the cloud environment. The platform will support automated provisioning and management of large groups of virtual machines or compute resources, including extensive monitoring in the cloud.May. 23, 2013 06:30 AM EDT Reads: 2,824 |
By Jeremy Geelan Everyone is virtualizing, but are they realizing any of the promised savings? This overview of IBM's new virtualization optimization solutions will show you how integrated Cloud Solutions like SmartCloud Provisioning and SmartCloud Monitoring can deliver the savings virtualization promises.
Organizations are using intelligent management and analytics to provide the insight needed to optimize their virtualized infrastructure and dramatically improve availability, reduce data storage footprint...May. 23, 2013 06:15 AM EDT Reads: 1,993 |
By Jeremy Geelan One of the most compelling promises of the cloud is that you can pull out a credit card and be working in minutes. No purchase orders to fill out, no equipment to wait for on the loading dock. Just instant access to the resources you need, when you need them. But accessibility comes at a price, and an unintentional consequence may be that you create yet another orphaned identity silo. Enterprise IT has spent years consolidating its mishmash of directories, only to discover that cloud now threate...May. 23, 2013 06:00 AM EDT Reads: 3,265 |
By Pat Romanski Cloud computing is transforming the way businesses think about and leverage technology. As a result, the general understanding of cloud computing has come a long way in a short time. However, there are still many misconceptions about what cloud computing is and what it can do for businesses that adopt this game-changing computing model.
In his General Session at the 12th International Cloud Expo, Gene Eun, Senior Director, Oracle Cloud at Oracle, will discuss and dispel some of the common myth...May. 23, 2013 04:00 AM EDT Reads: 2,469 |
By Liz McMillan OpenStack Cells is one of the most anticipated features in Grizzly, the seventh release of the open source software that offers more block storage options and scalability. It has been running in production at Rackspace for more than a year.
In his session at the 12th International Cloud Expo, Wayne Walls, OpenStack Developer Advocate at Rackspace Hosting, will discuss nova cells and how it is changing the way you design your cloud applications and infrastructure. He will explain how OpenStack ...May. 23, 2013 01:15 AM EDT Reads: 2,095 |
By Jeremy Geelan "Since Cloud Expo is running the week of June 10, we thought it'd be a great idea to schedule our Meetup this week. That way, if you have colleagues, friends, or family in town that week for the Expo, you can invite them to join you!" With those words, the OpenStack New York Meetup Group's organizer's launched a landing page this week where anyone interested can register for the June 12 evening event.May. 22, 2013 01:45 PM EDT Reads: 849 |
By Elizabeth White May. 22, 2013 01:00 PM EDT Reads: 1,038 |
By Pat Romanski “Open source has always provided a number of benefits, including easing adoption costs, propagating a better understanding of the technology, and allowing for faster evolution and commercialization of products and services based on it,” noted Terry Woloszyn, Founder & CEO, Leeward Security Ltd., in this exclusive Q&A with Cloud Expo Conference Chair Jeremy Geelan. “This is clearly evident with the OpenStack and CloudStack,” Woloszyn continued, “and others that have been quickly commercialized as...May. 22, 2013 11:00 AM EDT Reads: 1,234 |
By Liz McMillan SYS-CON Events announced today that OpenStack will exhibit at SYS-CON's 12th International Cloud Expo, which will take place on June 10–13, 2013, at the Javits Center in New York City, New York. OpenStack software controls large pools of compute, storage, and networking resources throughout a datacenter, all managed by a dashboard that gives administrators control while empowering their users to provision resources through a web interface.
OpenStack powers some of the most widely-used SaaS app...May. 22, 2013 11:00 AM EDT Reads: 960 |
By Elizabeth White SYS-CON Events announced today that BUMI (Backup My Info!), the premium provider of managed online backup and recovery solutions for small to mid-sized businesses, will exhibit at SYS-CON's 12th International Cloud Expo, which will take place on June 10–13, 2013, at the Javits Center in New York City, New York.
Manhattan-based BUMI (Backup My Info!) is a premium managed service provider specializing in online data backup and recovery. Founded in 2002, the company's data backup and recovery serv...May. 22, 2013 10:59 AM EDT Reads: 614 |
- Cloud People: A Who's Who of Cloud Computing
- Cloud Expo New York Speaker Profile: Dave Linthicum – Cloud Technology Partners
- Cloud Expo New York: Cloud Is Changing the Economics of Business
- Windows Azure IaaS Reaches General Availability
- Cloud Expo New York Speaker Profile: Nicos Vekiarides – TwinStrata
- AMD and Adobe Collaborate on Upcoming Version of Adobe Premiere Pro Software to Enable Breakthrough Video Editing Performance Through Open Standards
- State and Local Governments Adopt Microsoft Dynamics CRM to Improve Citizen Service Delivery
- Enterasys Spotlights SDN's Impact on Traditional Networking in Upcoming Webinar
- New Relic Q1 2013 Blazes Past Growth Targets and Reaches 40,000 Active Customer Accounts
- Best CIO Practices Shared from SHI’s Customers
- Cloud Expo New York: Deploying Hybrid Cloud for Performance and Uptime
- Cloud Expo New York: Delivering Digital Marketing on the Cloud
- Cloud People: A Who's Who of Cloud Computing
- Cloud Expo New York: Best CIO Practices Shared from SHI’s Customers
- Cloud Expo New York Speaker Profile: Dave Linthicum – Cloud Technology Partners
- Cloud Expo New York: Cloud Is Changing the Economics of Business
- Cloud Expo New York: How to Use Google Apps Script
- Windows Azure IaaS Reaches General Availability
- Cloud Expo New York Speaker Profile: Nicos Vekiarides – TwinStrata
- AMD and Adobe Collaborate on Upcoming Version of Adobe Premiere Pro Software to Enable Breakthrough Video Editing Performance Through Open Standards
- Cloud Computing Bootcamp at Cloud Expo New York
- State and Local Governments Adopt Microsoft Dynamics CRM to Improve Citizen Service Delivery
- Enterasys Spotlights SDN's Impact on Traditional Networking in Upcoming Webinar
- New Relic Q1 2013 Blazes Past Growth Targets and Reaches 40,000 Active Customer Accounts
- The Top 150 Players in Cloud Computing
- What is Cloud Computing?
- Six Benefits of Cloud Computing
- The Top 250 Players in the Cloud Computing Ecosystem
- Twenty-One Experts Define Cloud Computing
- What's the Difference Between Cloud Computing and SaaS?
- Virtualization Conference Keynote Webcast Live on SYS-CON.TV
- The Future of Cloud Computing
- A Brief History of Cloud Computing: Is the Cloud There Yet?
- GDS International: Global Warming Scam?
- Cloud Expo Europe 2009 in Prague: Themes & Topics
- Cloud Computing Expo 2009 West: Call for Papers Now Closed










Everyone is virtualizing, but are they realizing any of the promised savings? This overview of IBM's new virtualization optimization solutions will show you how integrated Cloud Solutions like SmartCloud Provisioning and SmartCloud Monitoring can deliver the savings virtualization promises.
Organizations are using intelligent management and analytics to provide the insight needed to optimize their virtualized infrastructure and dramatically improve availability, reduce data storage footprint...
One of the most compelling promises of the cloud is that you can pull out a credit card and be working in minutes. No purchase orders to fill out, no equipment to wait for on the loading dock. Just instant access to the resources you need, when you need them. But accessibility comes at a price, and an unintentional consequence may be that you create yet another orphaned identity silo. Enterprise IT has spent years consolidating its mishmash of directories, only to discover that cloud now threate...
Cloud computing is transforming the way businesses think about and leverage technology. As a result, the general understanding of cloud computing has come a long way in a short time. However, there are still many misconceptions about what cloud computing is and what it can do for businesses that adopt this game-changing computing model.
In his General Session at the 12th International Cloud Expo, Gene Eun, Senior Director, Oracle Cloud at Oracle, will discuss and dispel some of the common myth...
OpenStack Cells is one of the most anticipated features in Grizzly, the seventh release of the open source software that offers more block storage options and scalability. It has been running in production at Rackspace for more than a year.
In his session at the 12th International Cloud Expo, Wayne Walls, OpenStack Developer Advocate at Rackspace Hosting, will discuss nova cells and how it is changing the way you design your cloud applications and infrastructure. He will explain how OpenStack ...
"Since Cloud Expo is running the week of June 10, we thought it'd be a great idea to schedule our Meetup this week. That way, if you have colleagues, friends, or family in town that week for the Expo, you can invite them to join you!" With those words, the OpenStack New York Meetup Group's organizer's launched a landing page this week where anyone interested can register for the June 12 evening event.
“Open source has always provided a number of benefits, including easing adoption costs, propagating a better understanding of the technology, and allowing for faster evolution and commercialization of products and services based on it,” noted Terry Woloszyn, Founder & CEO, Leeward Security Ltd., in this exclusive Q&A with Cloud Expo Conference Chair Jeremy Geelan. “This is clearly evident with the OpenStack and CloudStack,” Woloszyn continued, “and others that have been quickly commercialized as...
SYS-CON Events announced today that OpenStack will exhibit at SYS-CON's 12th International Cloud Expo, which will take place on June 10–13, 2013, at the Javits Center in New York City, New York. OpenStack software controls large pools of compute, storage, and networking resources throughout a datacenter, all managed by a dashboard that gives administrators control while empowering their users to provision resources through a web interface.
OpenStack powers some of the most widely-used SaaS app...
SYS-CON Events announced today that BUMI (Backup My Info!), the premium provider of managed online backup and recovery solutions for small to mid-sized businesses, will exhibit at SYS-CON's 12th International Cloud Expo, which will take place on June 10–13, 2013, at the Javits Center in New York City, New York.
Manhattan-based BUMI (Backup My Info!) is a premium managed service provider specializing in online data backup and recovery. Founded in 2002, the company's data backup and recovery serv...
Imagine if you could take a time machine five years into the future, so that you would know which of today’s new technologies panned out and which did not.
Most companies have only started using cloud in the past two years. But there are some companies that have been using cloud for five years or...
“The last time I checked, people do not change their social security numbers very often...”
While in constant debate over data encryption and ease of access, I encountered a train of thought that made my jaw drop. A tradeshow attendee suggested encrypting everything, but just use a weak algorithm; ...
Don and I have four children, all of whom have had the fortune to take piano lessons (I'm not sure if the youngest would agree he's fortunate at this point in his life but at five, he's not really able to answer the question with any degree of wisdom, anyway. Come to think of it, not sure the other ...
Our prior post, A Roadmap to High-Value Cloud Infrastructure: Disaster Recovery and Data Protection, discussed both the benefits and limitations of a cloud-based disaster recovery (DR) strategy. As we highlighted last week, traditional disaster recovery options leave open a huge hole: At one extreme...
Online collaboration has evolved during the last decade, delivering even greater value -- thanks to a new generation of business technology applications. Forbes Insights released "Collaborating in the Cloud," a Cisco-sponsored study examining the ways business leaders increasingly look at cloud coll...
New technologies allow schools, colleges and universities to analyze absolutely everything that happens. From student behavior, testing results, career development of students as well as educational needs based on changing societies. A lot of this data has already been stored and is used for statist...
A recent Gartner study states that the function of the modern CIO is in flux and that his or her future focus must incorporate digital assets (aka cloud-based data and applications) to remain relevant. Towards the goal of riding the sea change a compiler of stacks to a broker of business needs, secu...
In the coming years, big data will change the way organisations and societies are operated and managed. Big data however, is not the only trend that will impact significantly how organisations operate. Another major trend at the moment is gamification. Gamification will change the way organisations ...
We all talk about cloud differently, but is there a way we should be speaking about this tech?
Cloud computing is now a widely reported, if not accepted, IT movement that, depending on who you talk to, has changed or is changing the way businesses utilize infrastructure.














