Azure Lab Services is retiring on June 28, 2027.

Move your labs (opens in a new tab)
Skip to main content

A template holds everything a lab needs: the clouds it deploys to, the cloud templates and scripts that build the environment, what learners may do, and the guide. Labs are created from templates, so time spent here pays off on every run.

1

Create the template

Go to Templates and create a new template. Give it a clear name, such as "AZ-104 Administrator lab", and an owner.

2

Add a cloud

Add the cloud the lab uses — Azure, AWS or Google Cloud — and upload its cloud template (for example an ARM template or Terraform configuration).

3

Add scripts

Add setup scripts for anything the cloud template can't do, such as seeding sample data. Publish each required script.

4

Set permissions

Choose the access learners get in the cloud: what they may create, change and see.

5

Attach the guide

Under Lab Guide Settings, select the guide and choose Configure Guide, then Save Changes. See Write a lab guide.

​Readiness check

A template shows a readiness checklist with blockers and warnings. A lab can't be published from a template while a blocker remains, for example:

  • "The template has no cloud or SaaS platform yet."
  • "Azure: 2 required scripts aren't published."

Keep templates generic

Put dates, seats and enrollment on the lab, not the template. One template can then serve many classes and events.

Was this page helpful?