The new DevTest Lab solves a ton of challenges for DevOps teams wanting to build, deploy and test builds on a regular basis. DevTest Lab makes it easier to create Test environments with reusable templates with everything your team needs to start developing and testing applications. In few clicks, you can create the environments where the last good build of your application is already installed and get working right away and with easy to use artifact blade extend those VMs to include additional functionality. . DevTest Lab makes it easier to control costs. As a Lab owner, you can set spending limits on your Labs, such as number of virtual machines (VM) per user, and number of VMs per Lab and helps save money with policies to automatically shut down VMs on a schedule. DevTest lab also Integrates with your existing release pipelines; leveraging premade plug-ins or our API to provision Dev/Test environments directly from your preferred continuous integration (CI) tool, integrated development environment (IDE) or automated release pipeline.
For more information please see:
https://azure.microsoft.com/en-us/campaigns/devtest-lab/
To Get Started
1. Start the new Azure Portal and navigate to “DevTest Labs to make this much easier you can use the shortcut http://aka.ms/DevTestLabwhich takes you directly to the Dev/Test Blade.
2. Create a new Lab for your environment by hitting the green + sign
3. Set the parameters for the lab.
4. Create a lab VM.
In this case I want to create a VM that I can use as a build agent for my DevOps labs so I am using the following parameters:
· Visual Studio 2015 Enterprise Base
· Change the size to A2
· Add the Chocolatey artifact
Use Chocolatey to install Azure Power Shell…The package name is “Azurepowershell”
In many workflows you would also add a VSO build in the artifacts section (see image below) but in this case we have a chicken and the egg issue in that you haven’t created build yet.
In future versions there will be build tasks to create Lab VMs as part of a Build or Release. Future versions will also have facilities for controlling spend and resources like Jason Zander showed at AzureCon.
Congrats you have completed creating an environment using Azure DevTest