|
| 1 | +--- |
| 2 | +title: Configure and use public environments in Azure DevTest Labs | Microsoft Docs |
| 3 | +description: Learn how to configure and use public environments in Azure DevTest Labs. |
| 4 | +services: devtest-lab,virtual-machines,lab-services |
| 5 | +documentationcenter: na |
| 6 | +author: spelluru |
| 7 | +manager: femila |
| 8 | +editor: '' |
| 9 | + |
| 10 | +ms.assetid: |
| 11 | +ms.service: lab-services |
| 12 | +ms.workload: na |
| 13 | +ms.tgt_pltfrm: na |
| 14 | +ms.devlang: na |
| 15 | +ms.topic: article |
| 16 | +ms.date: 08/13/2018 |
| 17 | +ms.author: spelluru |
| 18 | +--- |
| 19 | + |
| 20 | +# Configure and use public environments in Azure DevTest Labs |
| 21 | +Azure DevTest Labs has a [public repository of Azure Resource Manager templates](https://github.com/Azure/azure-devtestlab/tree/master/Environments) that you can use to create environments without having to connect to an external GitHub source by yourself. This repository includes frequently used templates such as Azure Web Apps, Service Fabric Cluster, and development SharePoint Farm environment. This feature is similar to the public repository of artifacts that is included for every lab that you create. The environment repository allows you to quickly get started with pre-authored environment templates with minimum input parameters to provide you with a smooth getting started experience for PaaS resources within labs. |
| 22 | + |
| 23 | +## Configuring public environments |
| 24 | +As a lab owner, you can enable the public environment repository for your lab during the lab creation. To enable public environments for your lab, select **On** for the **Public environments** field while creating a lab. |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | +For existing labs, the public environment repository is not enabled. Manually enable it to use templates in the repository. For labs created using Resource Manager templates, the repository is disabled by default as well. |
| 30 | + |
| 31 | +You can enable/disable public environments for your lab, and also make only specific environments available to lab users by using the following steps: |
| 32 | + |
| 33 | +1. Select **Configuration and policies** for your lab. |
| 34 | +2. In the **VIRTUAL MACHINE BASES** section, select **Public environments**. |
| 35 | +3. To enable public environments for the lab, select **Yes**. Otherwise, select **No**. |
| 36 | +4. If you enabled public environments, all the environments in the repository are enabled by defaults. You can de-select an environment to make it not available to your lab users. |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | +## Use environment templates as a lab user |
| 41 | +As a lab user, you can create a new environment from the enabled list of environment templates by simply selecting **+Add** from the tool bar in the lab page. The list of bases includes the public environments templates enabled by your lab admin at the top of the list. |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | +## Next steps |
| 46 | +This repository is an open-source repository that you can contribute to add frequently used and helpful Resource Manager templates of your own. To contribute, simply submit a pull request against the repository. |
0 commit comments