This terraform script will build out an environment as follows.
- Single Node VM with the following software components installed.
- Rancher Server 2.6.6 on RKE2
- One downstream all-in-one RKE2-based cluster with the following software deployed on it:
- Harbor - private registry
Login to your Azure portal, start the Cloud Shell with bash environment, run the following command to start the lab.
git clone https://github.com/dsohk/workshops
cd rancher-hands-on-workshops/scenarios/azure/rancher-harbor-acr
./startlab.sh
The startlab.sh
script downloads and installs terraform and helm binaries on your cloud shell environment. Then, it extracts the azure client credentials from your azure login session and updates credentials in the terraform.tfvars
file. Lastly, it kicks off the terraform commands to build the environment.
Once the lab environment is ready, follow the lab guide.