Templates
This page describes templates that allow you to build tracks quickly.

What are templates?

Templates are track skeletons based on commonly used sandbox types, containing predefined components like containers, challenges, and tabs. Using templates speeds up your track building. Because after creating from a template, you only have to complete the track.

What templates does Instruqt provide?

You can apply the following templates:
Template
Content
AWS Cloud Account
  • Link an AWS cloud account to your sandbox
  • Use the cloud client Docker container
  • Use the AWS CLI and UI from our learn environment
  • Limit usage of the cloud account using IAM and SCP policies
Sandbox container
Lightweight Linux system
Sandbox virtual machine
  • Provision virtual machine sandbox host using a predefined Compute Engine image
  • Use the Docker daemon on the sandbox host to build and run container images
  • Add check and solve scripts
  • Add simple assets (a Dockerfile) to the sandbox host
Helm chart
  • A virtual machine with a kubernetes cluster
  • Helm already installed on the machine
  • NGINX ingress controller pre-installed on the kubernetes cluster
Kubernetes
  • Provision a single node k3s cluster on a virtual machine
  • Deploy a webserver (NGINX) on Kubernetes
  • Use a service tab to expose the web server through the Instruqt UI
Multi-node Kubernetes cluster
  • Provision a multi-node k3s cluster
  • Use a predefined Instruqt image with k3s
  • Pass parameters to a sandbox host using environment variables
  • Use the track setup script to block loading the track until all services are up
VSCode & TypeScript
  • Add IDE code editor features to an Instruqt track
  • Use a code server container to serve a VSCode IDE
  • Run a unit test suite in a check script

How to apply a template

The How-to guide Create a track from a template explains applying templates.